radv/gfx10: disable geometry and tessellation shaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Jul 2019 07:08:04 +0000 (09:08 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 7 Jul 2019 15:51:32 +0000 (17:51 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index f0f7a45a14318c7f0628adab15342a7259dfa99d..d111ab6b130bc87feeed95bc36701e1918944ecd 100644 (file)
@@ -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,