From c8572d0f9c36c2485893e5f734ba094b8e9cdf74 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 20 Oct 2015 16:02:00 -0700 Subject: [PATCH] anv/pipeline: Remove a redundant line We set compute_sample_id based on multisample state two lines below. --- src/vulkan/anv_pipeline.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2