vulkan: Conditionally use shaderInt16

Add support for Polaris AMD devices.
This commit is contained in:
ReinUsesLisp 2021-05-30 20:44:28 -03:00 committed by ameerj
parent 7207ef07f4
commit ccea376e34
3 changed files with 9 additions and 2 deletions

View file

@ -249,7 +249,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw
.unified_descriptor_binding = true,
.support_descriptor_aliasing = true,
.support_int8 = true,
.support_int16 = true,
.support_int16 = device.IsShaderInt16Supported(),
.support_vertex_instance_id = false,
.support_float_controls = true,
.support_separate_denorm_behavior = float_control.denormBehaviorIndependence ==