projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a99f31b
)
st/nine: fix wrong variable reset
author
Axel Davy
<axel.davy@ens.fr>
Mon, 24 Nov 2014 23:38:08 +0000
(
00:38
+0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 26 Nov 2014 20:09:12 +0000
(20:09 +0000)
Error detected by Coverity (COPY_PASTE_ERROR)
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: David Heidelberg <david@ixit.cz>
src/gallium/state_trackers/nine/nine_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index 0215d08080801c0a36aafa856d04bbd745d460f3..6924449cb7ef51acb713f181c53107d96de47da5 100644
(file)
--- a/
src/gallium/state_trackers/nine/nine_state.c
+++ b/
src/gallium/state_trackers/nine/nine_state.c
@@
-400,7
+400,7
@@
update_constants(struct NineDevice9 *device, unsigned shader_type)
const_i = &device->state.ps_const_i[0][0];
dirty_b = device->state.changed.ps_const_b;
- device->state.changed.
v
s_const_b = 0;
+ device->state.changed.
p
s_const_b = 0;
const_b = device->state.ps_const_b;
b_true = device->ps_bool_true;