From 0b5bed774b420c29c45e16a0d962e29a4d0ffb4e Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 25 Sep 2016 16:01:57 +0200 Subject: [PATCH] st/nine: Fix wrong mask in ff vs Signed-off-by: Axel Davy Reviewed-by: Patrick Rudolph --- src/gallium/state_trackers/nine/nine_ff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2