radv: enable shaderInt16 unconditionally with LLVM and only GFX8+ with ACO
[mesa.git] / src / amd / vulkan / radv_device.c
index 49cbee18effdea0ece7987bb3fe281f59c531e44..9810820b252dd75907095ab6e0a362dc478d1610 100644 (file)
@@ -908,7 +908,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderCullDistance                       = true,
                .shaderFloat64                            = true,
                .shaderInt64                              = true,
-               .shaderInt16                              = pdevice->rad_info.chip_class >= GFX9,
+               .shaderInt16                              = !pdevice->use_aco || pdevice->rad_info.chip_class >= GFX8,
                .sparseBinding                            = true,
                .variableMultisampleRate                  = true,
                .inheritedQueries                         = true,