vulkan_device: Add a check for int8 support

Silences validation errors when shaders use int8 without specifying its support to the API
This commit is contained in:
ameerj
2021-08-24 21:22:41 -04:00
parent bed0c3c92a
commit 4d535799eb
3 changed files with 19 additions and 9 deletions

View File

@ -281,7 +281,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw
.supported_spirv = device.IsKhrSpirv1_4Supported() ? 0x00010400U : 0x00010000U,
.unified_descriptor_binding = true,
.support_descriptor_aliasing = true,
.support_int8 = true,
.support_int8 = device.IsInt8Supported(),
.support_int16 = device.IsShaderInt16Supported(),
.support_int64 = device.IsShaderInt64Supported(),
.support_vertex_instance_id = false,