summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2016-07-20 11:40:31 -0700
committerAnuj Phogat <[email protected]>2016-07-28 13:11:12 -0700
commit6d958c7c1666a2c67ab74e2b2542d1352eb49a5e (patch)
tree3e10b94f6e96eff011a01a904f6fc219b0abb04a /src/intel/vulkan/anv_device.c
parent0f94cdc976256529afe8047f566dfd23df449ac2 (diff)
anv: Enable per sample shading on gen8+
Vulkan CTS test results on gen9: ./deqp-vk --deqp-case=dEQP-VK.pipeline.multisample.min_sample_shading* Test run totals: Passed: 60/90 (66.7%) Failed: 0/90 (0.0%) Not supported: 30/90 (33.3%) Warnings: 0/90 (0.0%) Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 2e91980d328..c2c515321da 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -375,7 +375,7 @@ void anv_GetPhysicalDeviceFeatures(
.independentBlend = true,
.geometryShader = true,
.tessellationShader = false,
- .sampleRateShading = false,
+ .sampleRateShading = pdevice->info->gen >= 8,
.dualSrcBlend = true,
.logicOp = true,
.multiDrawIndirect = false,