summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.cpp
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-08-29 11:33:34 -0700
committerJordan Justen <[email protected]>2014-09-05 22:15:06 -0700
commit936ca6f3cfb563719d8b51ae000d4f0594aba824 (patch)
tree13bf8ef1f971c00e771785f7c2cdac1545e237ae /src/mesa/drivers/dri/i965/brw_fs.cpp
parentd0e166752adce3f8d4e777100a01928651182a4e (diff)
i965: Add uses_kill to brw_wm_prog_data
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index a064390ce84..2f23a9c7aac 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3195,7 +3195,7 @@ fs_visitor::run()
/* We handle discards by keeping track of the still-live pixels in f0.1.
* Initialize it with the dispatched pixels.
*/
- if (fp->UsesKill || key->alpha_test_func) {
+ if (prog_data->uses_kill || key->alpha_test_func) {
fs_inst *discard_init = emit(FS_OPCODE_MOV_DISPATCH_TO_FLAGS);
discard_init->flag_subreg = 1;
}