projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
070bbd4
)
i965: Clean up double initialization of dst_flags from a rebase resolve.
author
Eric Anholt
<eric@anholt.net>
Wed, 23 Dec 2009 01:18:03 +0000
(17:18 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 26 Dec 2009 19:18:02 +0000
(11:18 -0800)
Caught by clang.
src/mesa/drivers/dri/i965/brw_wm_glsl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_glsl.c
b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
index f294387c8083ec70b2d28b0bab628daa57910111..43646528f5f0e705c25c291aad3b145c7ba72aca 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_glsl.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_glsl.c
@@
-1877,10
+1877,6
@@
static void brw_wm_emit_glsl(struct brw_context *brw, struct brw_wm_compile *c)
else
brw_set_conditionalmod(p, BRW_CONDITIONAL_NONE);
- dst_flags = inst->DstReg.WriteMask;
- if (inst->SaturateMode == SATURATE_ZERO_ONE)
- dst_flags |= SATURATE;
-
switch (inst->Opcode) {
case WM_PIXELXY:
emit_pixel_xy(c, dst, dst_flags);