summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2018-03-02 10:58:58 +0100
committerIago Toral Quiroga <[email protected]>2018-05-03 11:40:26 +0200
commit0ba0ac815e078185c1f408ec7078fd1efac1a634 (patch)
treee95d8fc9f49494e3725b9bbb16733abdf58b1a1c /src/intel
parent002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f (diff)
anv/device: expose shaderInt16 support in gen8+
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 0563eae5c18..fd516fb8466 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -759,7 +759,7 @@ void anv_GetPhysicalDeviceFeatures(
pdevice->info.has_64bit_types,
.shaderInt64 = pdevice->info.gen >= 8 &&
pdevice->info.has_64bit_types,
- .shaderInt16 = false,
+ .shaderInt16 = pdevice->info.gen >= 8,
.shaderResourceMinLod = false,
.variableMultisampleRate = true,
.inheritedQueries = true,