summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-07-05 09:08:04 +0200
committerBas Nieuwenhuizen <[email protected]>2019-07-07 17:51:32 +0200
commit0f769ed3984666919b34c81b4bc34703e73f311c (patch)
tree5ccf1fa50afe5943a6b2fe89c06180339c59d01a
parentfe4419d3c7b7be90bcf84011c8f5deb3896ac6e9 (diff)
radv/gfx10: disable geometry and tessellation shaders
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/amd/vulkan/radv_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index f0f7a45a143..d111ab6b130 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -762,8 +762,8 @@ void radv_GetPhysicalDeviceFeatures(
.fullDrawIndexUint32 = true,
.imageCubeArray = true,
.independentBlend = true,
- .geometryShader = true,
- .tessellationShader = true,
+ .geometryShader = pdevice->rad_info.chip_class < GFX10,
+ .tessellationShader = pdevice->rad_info.chip_class < GFX10,
.sampleRateShading = true,
.dualSrcBlend = true,
.logicOp = true,