Mesa (master): anv: add support for extended texture gather

Ilia Mirkin imirkin at kemper.freedesktop.org
Fri Dec 30 01:44:49 UTC 2016


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

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Nov 27 15:45:54 2016 -0500

anv: add support for extended texture gather

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>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Acked-by: Jason Ekstrand <jason.ekstrand at intel.com>

---

 src/intel/vulkan/TODO         | 1 -
 src/intel/vulkan/anv_device.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/vulkan/TODO b/src/intel/vulkan/TODO
index 915f423..235bbe7 100644
--- a/src/intel/vulkan/TODO
+++ b/src/intel/vulkan/TODO
@@ -4,7 +4,6 @@ Intel Vulkan ToDo
 Missing Features:
  - FP64
  - Tessellation
- - Image Gather Extended
  - Storage Image Without Format
  - Investigate CTS failures on HSW
  - Pipeline statistics queries
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 323cae4..7a7d832 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -468,7 +468,7 @@ void anv_GetPhysicalDeviceFeatures(
       .pipelineStatisticsQuery                  = false,
       .fragmentStoresAndAtomics                 = true,
       .shaderTessellationAndGeometryPointSize   = true,
-      .shaderImageGatherExtended                = false,
+      .shaderImageGatherExtended                = true,
       .shaderStorageImageExtendedFormats        = true,
       .shaderStorageImageMultisample            = false,
       .shaderStorageImageReadWithoutFormat      = false,




More information about the mesa-commit mailing list