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

Author: Jason Ekstrand <[email protected]>
Date:   Mon Sep 27 18:52:56 2021 -0500

iris: Return 1 for PIPE_COMPUTE_CAP_IMAGES_SUPPORTED

Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13072>

---

 src/gallium/drivers/iris/iris_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/iris/iris_screen.c 
b/src/gallium/drivers/iris/iris_screen.c
index 0344ac894ff..bb6c72b9e9b 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -559,7 +559,7 @@ iris_get_compute_param(struct pipe_screen *pscreen,
       RET((uint64_t []) { 64 * 1024 });
 
    case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED:
-      RET((uint32_t []) { 0 });
+      RET((uint32_t []) { 1 });
 
    case PIPE_COMPUTE_CAP_SUBGROUP_SIZE:
       RET((uint32_t []) { BRW_SUBGROUP_SIZE });

Reply via email to