Mesa (main): i915g: whitespace fixup from the cube map fix.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 2 15:47:15 UTC 2021
Module: Mesa
Branch: main
Commit: 5c55f59b13ff8251fd38c842c855e0836069e1f3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c55f59b13ff8251fd38c842c855e0836069e1f3
Author: Emma Anholt <emma at anholt.net>
Date: Wed Jun 30 14:13:35 2021 -0700
i915g: whitespace fixup from the cube map fix.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11668>
---
src/gallium/drivers/i915/i915_state_sampler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/i915/i915_state_sampler.c b/src/gallium/drivers/i915/i915_state_sampler.c
index 4879a7b8fd1..c04059dcc2e 100644
--- a/src/gallium/drivers/i915/i915_state_sampler.c
+++ b/src/gallium/drivers/i915/i915_state_sampler.c
@@ -107,7 +107,7 @@ update_sampler(struct i915_context *i915, uint32_t unit,
*/
if (pt->target == PIPE_TEXTURE_CUBE) {
state[1] &= ~(SS3_TCX_ADDR_MODE_MASK | SS3_TCY_ADDR_MODE_MASK |
- SS3_TCZ_ADDR_MODE_MASK);
+ SS3_TCZ_ADDR_MODE_MASK);
state[1] |= (TEXCOORDMODE_CLAMP_EDGE << SS3_TCX_ADDR_MODE_SHIFT);
state[1] |= (TEXCOORDMODE_CLAMP_EDGE << SS3_TCY_ADDR_MODE_SHIFT);
state[1] |= (TEXCOORDMODE_CLAMP_EDGE << SS3_TCZ_ADDR_MODE_SHIFT);
More information about the mesa-commit
mailing list