From 5ceff032ad1c44e9f679f9a0f63dfd8c2945a6e7 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 29 Oct 2022 13:19:41 -0700 Subject: [PATCH] freedreno/a3xx+: Enable ARB_shader_texture_image_samples This is already supported for ir3 Signed-off-by: Rob Clark Part-of: --- docs/features.txt | 2 +- src/gallium/drivers/freedreno/freedreno_screen.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 953983611ed..7e3ba2d6059 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -219,7 +219,7 @@ GL 4.5, GLSL 4.50 -- all DONE: nvc0, r600, radeonsi, llvmpipe, zink GL_ARB_derivative_control DONE (i965, nv50, softpipe, virgl) GL_ARB_direct_state_access DONE (all drivers) GL_ARB_get_texture_sub_image DONE (all drivers) - GL_ARB_shader_texture_image_samples DONE (i965, nv50, virgl) + GL_ARB_shader_texture_image_samples DONE (freedreno/a3xx+, i965, nv50, virgl) GL_ARB_texture_barrier DONE (freedreno, i965, nv50, vc4, virgl, lima) GL_KHR_context_flush_control DONE (all - but needs GLX/EGL extension to be useful) GL_KHR_robustness DONE (freedreno, i965, virgl) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index d3bdb477051..831e9edd4cb 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -471,6 +471,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_FS_POSITION_IS_SYSVAL: case PIPE_CAP_TGSI_TEXCOORD: case PIPE_CAP_SHADER_ARRAY_COMPONENTS: + case PIPE_CAP_TEXTURE_QUERY_SAMPLES: if (is_ir3(screen)) return 1; return 0;