Commit 1e33b6a3 authored by Danylo Piliaiev's avatar Danylo Piliaiev 💬 Committed by Marge Bot
Browse files

turnip: enable shaderInt16



We should have everything to enable it.
16b integer division is lowered by nir_lower_idiv.
Signed-off-by: Danylo Piliaiev's avatarDanylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!10054>
parent d918bbfa
......@@ -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,
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment