summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-05-24 12:36:50 -0700
committerEric Anholt <[email protected]>2011-05-25 11:16:36 -0700
commitfa42de5ad7ebbc0b81ce6ba0553742f0413690a7 (patch)
tree46c34a4cd281f88de92bb70f63e9351f6dd74287 /src/mesa/drivers/dri/i965
parent5ed7a7b7205b5680d617b77a8cf228b80cf15f5e (diff)
i965: Fix assertion failures in unused brw_reg setup by deleting it.
I was using undefined values to create an unused value. Go me. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37366 Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 6d545afab64..a4adb179543 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2743,7 +2743,6 @@ fs_visitor::generate_discard(fs_inst *inst)
brw_pop_insn_state(p);
} else {
struct brw_reg g0 = retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UW);
- struct brw_reg mask = brw_uw1_reg(mask.file, mask.nr, 0);
brw_push_insn_state(p);
brw_set_mask_control(p, BRW_MASK_DISABLE);