summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-04-05 19:35:46 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-04-20 16:18:47 -0700
commit81407531e0b8d2e6a7f9c39cb44ed6a72dc61e77 (patch)
tree66aa30a4f4d1b97c551020192cf2ef0f44f80a0f /src/mesa/drivers/dri/i965/brw_compiler.h
parentde0a46a040cf1aa83d5b262064b00bd601c09437 (diff)
downloadexternal_mesa3d-81407531e0b8d2e6a7f9c39cb44ed6a72dc61e77.zip
external_mesa3d-81407531e0b8d2e6a7f9c39cb44ed6a72dc61e77.tar.gz
external_mesa3d-81407531e0b8d2e6a7f9c39cb44ed6a72dc61e77.tar.bz2
i965: Generalize wm_key->compute_sample_id to wm_key->multisample_fbo.
I'm going to need a key entry meaning "we have a multisample FBO, and multisampling is enabled" in an upcoming patch. This is basically wm_key->compute_sample_id, except that it also checks that the SAMPLE_ID system value is read. The only use of wm_key->compute_sample_id is in emit_sampleid_setup(), which is only called when handling the SAMPLE_ID system value. So we can just eliminate the check and generalize the field. v2: Also update the Vulkan driver. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index 0a14d5d..5807305 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -248,7 +248,7 @@ struct brw_wm_prog_key {
bool render_to_fbo:1;
bool clamp_fragment_color:1;
bool compute_pos_offset:1;
- bool compute_sample_id:1;
+ bool multisample_fbo:1;
unsigned line_aa:2;
bool high_quality_derivatives:1;
bool force_dual_color_blend:1;