Workaround for AMD driver bug

This commit is contained in:
gdkchan 2021-10-08 03:10:25 -03:00 committed by riperiperi
parent c109410ccd
commit b7bf95c754

View file

@ -347,13 +347,13 @@ namespace Ryujinx.Graphics.Vulkan
var featuresIndexU8 = new PhysicalDeviceIndexTypeUint8FeaturesEXT() var featuresIndexU8 = new PhysicalDeviceIndexTypeUint8FeaturesEXT()
{ {
SType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesExt, SType = StructureType.PhysicalDeviceIndexTypeUint8FeaturesExt,
IndexTypeUint8 = supportedExtensions.Contains("VK_EXT_index_type_uint8") IndexTypeUint8 = true
}; };
var featuresTransformFeedback = new PhysicalDeviceTransformFeedbackFeaturesEXT() var featuresTransformFeedback = new PhysicalDeviceTransformFeedbackFeaturesEXT()
{ {
SType = StructureType.PhysicalDeviceTransformFeedbackFeaturesExt, SType = StructureType.PhysicalDeviceTransformFeedbackFeaturesExt,
PNext = &featuresIndexU8, PNext = supportedExtensions.Contains("VK_EXT_index_type_uint8") ? &featuresIndexU8 : null,
TransformFeedback = true TransformFeedback = true
}; };