diff options
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 | ||||
-rw-r--r-- | src/intel/vulkan/gen8_pipeline.c | 3 |
2 files changed, 1 insertions, 4 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, diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c index 67ffca6199a..94f50d12c6e 100644 --- a/src/intel/vulkan/gen8_pipeline.c +++ b/src/intel/vulkan/gen8_pipeline.c @@ -122,9 +122,6 @@ emit_ms_state(struct anv_pipeline *pipeline, if (info && info->pSampleMask) sample_mask &= info->pSampleMask[0]; - if (info && info->sampleShadingEnable) - anv_finishme("VkPipelineMultisampleStateCreateInfo::sampleShadingEnable"); - anv_batch_emit(&pipeline->batch, GENX(3DSTATE_MULTISAMPLE), ms) { /* The PRM says that this bit is valid only for DX9: * |