<p dir="ltr">Rb</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 28, 2016 1:31 PM, "Anuj Phogat" <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Vulkan CTS test results on gen9:<br>
./deqp-vk --deqp-case=dEQP-VK.pipeline.multisample.min_sample_shading*<br>
Test run totals:<br>
  Passed:        60/90 (66.7%)<br>
  Failed:        0/90 (0.0%)<br>
  Not supported: 30/90 (33.3%)<br>
  Warnings:      0/90 (0.0%)<br>
<br>
Cc: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br>
Signed-off-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>><br>
---<br>
 src/intel/vulkan/anv_device.c    | 2 +-<br>
 src/intel/vulkan/gen8_pipeline.c | 3 ---<br>
 2 files changed, 1 insertion(+), 4 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c<br>
index 2e91980..c2c5153 100644<br>
--- a/src/intel/vulkan/anv_device.c<br>
+++ b/src/intel/vulkan/anv_device.c<br>
@@ -375,7 +375,7 @@ void anv_GetPhysicalDeviceFeatures(<br>
       .independentBlend                         = true,<br>
       .geometryShader                           = true,<br>
       .tessellationShader                       = false,<br>
-      .sampleRateShading                        = false,<br>
+      .sampleRateShading                        = pdevice->info->gen >= 8,<br>
       .dualSrcBlend                             = true,<br>
       .logicOp                                  = true,<br>
       .multiDrawIndirect                        = false,<br>
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c<br>
index 67ffca6..94f50d1 100644<br>
--- a/src/intel/vulkan/gen8_pipeline.c<br>
+++ b/src/intel/vulkan/gen8_pipeline.c<br>
@@ -122,9 +122,6 @@ emit_ms_state(struct anv_pipeline *pipeline,<br>
    if (info && info->pSampleMask)<br>
       sample_mask &= info->pSampleMask[0];<br>
<br>
-   if (info && info->sampleShadingEnable)<br>
-      anv_finishme("VkPipelineMultisampleStateCreateInfo::sampleShadingEnable");<br>
-<br>
    anv_batch_emit(&pipeline->batch, GENX(3DSTATE_MULTISAMPLE), ms) {<br>
       /* The PRM says that this bit is valid only for DX9:<br>
        *<br>
--<br>
2.5.5<br>
<br>
</blockquote></div></div>