[Mesa-dev] [PATCH v2 18/18] anv/device: expose shaderInt16 support in gen8+

Iago Toral Quiroga itoral at igalia.com
Mon Apr 30 14:18:26 UTC 2018


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index b456d3d4c5..d123ae16ec 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -761,7 +761,7 @@ void anv_GetPhysicalDeviceFeatures(
       .shaderCullDistance                       = true,
       .shaderFloat64                            = pdevice->info.gen >= 8,
       .shaderInt64                              = pdevice->info.gen >= 8,
-      .shaderInt16                              = false,
+      .shaderInt16                              = pdevice->info.gen >= 8,
       .shaderResourceMinLod                     = false,
       .variableMultisampleRate                  = false,
       .inheritedQueries                         = true,
-- 
2.14.1



More information about the mesa-dev mailing list