summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-20 16:02:00 -0700
committerJason Ekstrand <[email protected]>2015-10-20 16:02:03 -0700
commitc8572d0f9c36c2485893e5f734ba094b8e9cdf74 (patch)
treef520ff5d4802d2c82541d27912c63da2bcda86fb /src
parent72d99f8a40b4c00983952265323b96e61ce45c6b (diff)
anv/pipeline: Remove a redundant line
We set compute_sample_id based on multisample state two lines below.
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/anv_pipeline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c
index 1fce94b7f01..6e6b71c785a 100644
--- a/src/vulkan/anv_pipeline.c
+++ b/src/vulkan/anv_pipeline.c
@@ -312,7 +312,6 @@ populate_wm_prog_key(const struct brw_device_info *devinfo,
/* We should probably pull this out of the shader, but it's fairly
* harmless to compute it and then let dead-code take care of it.
*/
- key->compute_sample_id = true;
key->persample_shading = info->pMultisampleState->sampleShadingEnable;
if (key->persample_shading)
key->persample_2x = info->pMultisampleState->rasterSamples == 2;