[Mesa-dev] [PATCH 2/2] anv: add support for extended texture gather

Ilia Mirkin imirkin at alum.mit.edu
Sun Nov 27 21:22:46 UTC 2016


Now that the SPIR-V -> NIR translation is in place, no additional logic
is required.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

On a SKL, I get:

./deqp-vk --deqp-visibility=hidden --deqp-case='*texture_gather*'
Test run totals:
  Passed:        762/1524 (50.0%)
  Failed:        0/1524 (0.0%)
  Not supported: 762/1524 (50.0%)
  Warnings:      0/1524 (0.0%)

 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 fbf0967..336e595 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -430,7 +430,7 @@ void anv_GetPhysicalDeviceFeatures(
       .pipelineStatisticsQuery                  = true,
       .fragmentStoresAndAtomics                 = true,
       .shaderTessellationAndGeometryPointSize   = true,
-      .shaderImageGatherExtended                = false,
+      .shaderImageGatherExtended                = true,
       .shaderStorageImageExtendedFormats        = false,
       .shaderStorageImageMultisample            = false,
       .shaderUniformBufferArrayDynamicIndexing  = true,
-- 
2.7.3



More information about the mesa-dev mailing list