summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-04-05 19:33:04 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-04-20 16:18:47 -0700
commitde0a46a040cf1aa83d5b262064b00bd601c09437 (patch)
tree31f5ebc61f9257ed685ef25c455d6aac2562653f /src/intel/vulkan/anv_pipeline.c
parent57118a19da932b4b5756021a0d75e91f42a68d99 (diff)
downloadexternal_mesa3d-de0a46a040cf1aa83d5b262064b00bd601c09437.zip
external_mesa3d-de0a46a040cf1aa83d5b262064b00bd601c09437.tar.gz
external_mesa3d-de0a46a040cf1aa83d5b262064b00bd601c09437.tar.bz2
i965: Delete now dead persample_2x FS program key flag.
This was only used by the old gl_SampleID calculations. The new code doesn't need to handle 2x specially. v2: Delete it from the Vulkan driver, too. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 007c58b..1f4e3fa 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -287,9 +287,6 @@ populate_wm_prog_key(const struct brw_device_info *devinfo,
* harmless to compute it and then let dead-code take care of it.
*/
key->persample_shading = info->pMultisampleState->sampleShadingEnable;
- if (key->persample_shading)
- key->persample_2x = info->pMultisampleState->rasterizationSamples == 2;
-
key->compute_pos_offset = info->pMultisampleState->sampleShadingEnable;
key->compute_sample_id = info->pMultisampleState->sampleShadingEnable;
}