Module: Mesa
Branch: master
Commit: 0ba0ac815e078185c1f408ec7078fd1efac1a634
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ba0ac815e078185c1f408ec7078fd1efac1a634

Author: Iago Toral Quiroga <[email protected]>
Date:   Fri Mar  2 10:58:58 2018 +0100

anv/device: expose shaderInt16 support in gen8+

Reviewed-by: Jason Ekstrand <[email protected]>

---

 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 0563eae5c1..fd516fb846 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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to