Mesa (master): anv/device: expose shaderInt16 support in gen8+

Iago Toral Quiroga itoral at kemper.freedesktop.org
Sat May 5 10:49:39 UTC 2018


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

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri May  4 11:35:55 2018 +0200

anv/device: expose shaderInt16 support in gen8+

This rollbacks the revert of this patch introduced with
commit 7cf284f18e6774c810ed6db17b98e597bf96f8a5.

Tested-by: Mark Janes <mark.a.janes at intel.com>
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 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,




More information about the mesa-commit mailing list