[Mesa-dev] [PATCH 52/59] anv/device: expose shaderInt8 feature

Iago Toral Quiroga itoral at igalia.com
Tue Dec 4 07:17:16 UTC 2018


---
 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 caf25ad8a03..17b73c115cd 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -971,7 +971,7 @@ void anv_GetPhysicalDeviceFeatures2(
          ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice);
 
          features->shaderFloat16 = pdevice->info.gen >= 8;
-         features->shaderInt8 = false;
+         features->shaderInt8 = pdevice->info.gen >= 8;
          break;
       }
 
-- 
2.17.1



More information about the mesa-dev mailing list