anv/device: Enable sample shading on gen7+
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 8 Aug 2016 23:10:00 +0000 (16:10 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 9 Aug 2016 21:45:25 +0000 (14:45 -0700)
Passes all 30 min_sample_shading tests in vulkan cts.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c

index c2c515321dac45ddfab1c2fba233b55e410906a7..aae925ded478c730a62cc3ed324c0e899ba89fbe 100644 (file)
@@ -375,7 +375,7 @@ void anv_GetPhysicalDeviceFeatures(
       .independentBlend                         = true,
       .geometryShader                           = true,
       .tessellationShader                       = false,
-      .sampleRateShading                        = pdevice->info->gen >= 8,
+      .sampleRateShading                        = true,
       .dualSrcBlend                             = true,
       .logicOp                                  = true,
       .multiDrawIndirect                        = false,