Mesa (master): tu: Expose shaderImageGatherExtended

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 22 15:08:05 UTC 2020


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

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Mon Sep 21 14:06:22 2020 +0200

tu: Expose shaderImageGatherExtended

This just allows textureGather() to have offsets, which we already
supported in ir3.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6800>

---

 src/freedreno/vulkan/tu_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index 55d9bc4d72f..9ca5e3a826c 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -400,7 +400,7 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .vertexPipelineStoresAndAtomics = true,
       .fragmentStoresAndAtomics = true,
       .shaderTessellationAndGeometryPointSize = false,
-      .shaderImageGatherExtended = false,
+      .shaderImageGatherExtended = true,
       .shaderStorageImageExtendedFormats = true,
       .shaderStorageImageMultisample = false,
       .shaderUniformBufferArrayDynamicIndexing = true,



More information about the mesa-commit mailing list