turnip: enable shaderInt16
We should have everything to enable it. 16b integer division is lowered by nir_lower_idiv. Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10054>
This commit is contained in:
parent
d918bbfa1c
commit
1e33b6a32b
|
@ -384,7 +384,7 @@ tu_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
|||
.shaderCullDistance = true,
|
||||
.shaderFloat64 = false,
|
||||
.shaderInt64 = false,
|
||||
.shaderInt16 = false,
|
||||
.shaderInt16 = true,
|
||||
.sparseBinding = false,
|
||||
.variableMultisampleRate = true,
|
||||
.inheritedQueries = true,
|
||||
|
|
|
@ -75,6 +75,7 @@ tu_spirv_to_nir(struct tu_device *dev,
|
|||
.runtime_descriptor_array = true,
|
||||
.float_controls = true,
|
||||
.float16 = true,
|
||||
.int16 = true,
|
||||
.storage_16bit = dev->physical_device->gpu_id >= 650,
|
||||
.demote_to_helper_invocation = true,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue