summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-10-27 12:09:51 +1300
committerChris Forbes <chrisf@ijw.co.nz>2013-11-06 19:29:46 +1300
commit1080fc610ef20e376c3a54b3cee2be911df9f012 (patch)
tree2b82611f9dfaf27e635d934606abbe7c9ef7cfa8 /src/mesa/drivers/dri/i965/brw_wm.h
parentdbcd633040939565f91eedac6ea313503ac9f0a5 (diff)
downloadexternal_mesa3d-1080fc610ef20e376c3a54b3cee2be911df9f012.zip
external_mesa3d-1080fc610ef20e376c3a54b3cee2be911df9f012.tar.gz
external_mesa3d-1080fc610ef20e376c3a54b3cee2be911df9f012.tar.bz2
i965: Gen4-5: Include alpha func/ref in program key
V2: Better explanation of the rationale for doing this. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index f5823f4..df5fb4c 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -73,6 +73,8 @@ struct brw_wm_prog_key {
GLushort drawable_height;
GLbitfield64 input_slots_valid;
GLuint program_string_id:32;
+ GLenum alpha_test_func; /* < For Gen4/5 MRT alpha test */
+ float alpha_test_ref;
struct brw_sampler_prog_key_data tex;
};