diff options
author | Iago Toral Quiroga <[email protected]> | 2018-05-04 11:35:55 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-05-05 12:41:14 +0200 |
commit | e4c667b9e84c88f9031769fe11c32155652825e6 (patch) | |
tree | 4138970e0c286c4a6390c461dd9e287525191db0 /src/intel/vulkan/anv_device.c | |
parent | 5a12bdac09496e00b746421f4c10d77f9b7a8e66 (diff) |
anv/device: expose shaderInt16 support in gen8+
This rollbacks the revert of this patch introduced with
commit 7cf284f18e6774c810ed6db17b98e597bf96f8a5.
Tested-by: Mark Janes <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
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, |