mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 16:28:09 +00:00
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:
parent
b53a87b6b4
commit
56cabe631b
3 changed files with 19 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue