mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 09:03:36 +00:00
Workaround for AMD driver bug
This commit is contained in:
parent
c109410ccd
commit
b7bf95c754
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue