summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-09-25 16:01:57 +0200
committerAxel Davy <[email protected]>2016-10-10 23:43:50 +0200
commit0b5bed774b420c29c45e16a0d962e29a4d0ffb4e (patch)
tree890144cc827928e0a7405ce229d414c66e37bcdc /src/gallium/state_trackers
parent028dab95f6805dee5b7bce51ece3c55a59c70c9f (diff)
st/nine: Fix wrong mask in ff vs
Signed-off-by: Axel Davy <[email protected]> Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/nine_ff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c
index 12d422b8696..ce19b9ba3dd 100644
--- a/src/gallium/state_trackers/nine/nine_ff.c
+++ b/src/gallium/state_trackers/nine/nine_ff.c
@@ -343,7 +343,7 @@ nine_ff_build_vs(struct NineDevice9 *device, struct vs_build_ctx *vs)
/* Check which inputs we should transform. */
for (i = 0; i < 8 * 3; i += 3) {
- switch ((key->tc_gen >> i) & 0x3) {
+ switch ((key->tc_gen >> i) & 0x7) {
case NINED3DTSS_TCI_CAMERASPACENORMAL:
need_aNrm = TRUE;
break;