projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028dab9
)
st/nine: Fix wrong mask in ff vs
author
Axel Davy
<axel.davy@ens.fr>
Sun, 25 Sep 2016 14:01:57 +0000
(16:01 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:50 +0000
(23:43 +0200)
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/nine_ff.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 12d422b8696bdc0d1b1044f55b46cbbd5bfbb3ed..ce19b9ba3dd27c1f1b4d0a557b71729751da9dd5 100644
(file)
--- 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) & 0x
3
) {
+ switch ((key->tc_gen >> i) & 0x
7
) {
case NINED3DTSS_TCI_CAMERASPACENORMAL:
need_aNrm = TRUE;
break;