projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877dc03
)
st/nine: Do not saturate illumination coefficients in ff
author
Axel Davy
<axel.davy@ens.fr>
Sat, 26 Nov 2016 13:28:38 +0000
(14:28 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:21 +0000
(23:44 +0100)
Fixes bad rendering of a test app.
Wine has the same behaviour.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
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 8b6f4422c08459aab7ff78a2ca8a74787ff1320d..a1eb3783b0071dd817fb78f1ea125e36dbd33ef4 100644
(file)
--- a/
src/gallium/state_trackers/nine/nine_ff.c
+++ b/
src/gallium/state_trackers/nine/nine_ff.c
@@
-814,10
+814,6
@@
nine_ff_build_vs(struct NineDevice9 *device, struct vs_build_ctx *vs)
ureg_MOV(ureg, rD, ureg_imm1f(ureg, 0.0f));
ureg_MOV(ureg, rA, ureg_imm1f(ureg, 0.0f));
ureg_MOV(ureg, rS, ureg_imm1f(ureg, 0.0f));
- rD = ureg_saturate(rD);
- rA = ureg_saturate(rA);
- rS = ureg_saturate(rS);
-
/* loop management */
ureg_BGNLOOP(ureg, &label[loop_label]);