radv: enable GS on GFX9
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
73749caf0e
commit
6bc42855f9
|
@ -419,8 +419,6 @@ void radv_GetPhysicalDeviceFeatures(
|
|||
VkPhysicalDevice physicalDevice,
|
||||
VkPhysicalDeviceFeatures* pFeatures)
|
||||
{
|
||||
RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
|
||||
bool is_gfx9 = pdevice->rad_info.chip_class >= GFX9;
|
||||
memset(pFeatures, 0, sizeof(*pFeatures));
|
||||
|
||||
*pFeatures = (VkPhysicalDeviceFeatures) {
|
||||
|
@ -428,7 +426,7 @@ void radv_GetPhysicalDeviceFeatures(
|
|||
.fullDrawIndexUint32 = true,
|
||||
.imageCubeArray = true,
|
||||
.independentBlend = true,
|
||||
.geometryShader = !is_gfx9,
|
||||
.geometryShader = true,
|
||||
.tessellationShader = true,
|
||||
.sampleRateShading = true,
|
||||
.dualSrcBlend = true,
|
||||
|
|
Loading…
Reference in New Issue