Mesa (main): nv50: don't claim support for format-less stores

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Dec 4 01:47:29 UTC 2021


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

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Dec  3 13:23:29 2021 -0500

nv50: don't claim support for format-less stores

This is not supported, nor is there any need to support it -- ES 3.1
doesn't need it, and we're in no danger of supporting
ARB_shader_image_load_store (among other things, it requires frag
images).

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14050>

---

 src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
index a23f19d126b..e06d9f1a5d4 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c
@@ -263,7 +263,6 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_CLEAR_SCISSORED:
    case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
    case PIPE_CAP_COMPUTE:
-   case PIPE_CAP_IMAGE_STORE_FORMATTED:
    case PIPE_CAP_GL_CLAMP:
    case PIPE_CAP_TEXRECT:
    case PIPE_CAP_ALLOW_DYNAMIC_VAO_FASTPATH:
@@ -370,6 +369,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_GLSL_TESS_LEVELS_AS_INPUTS:
    case PIPE_CAP_NIR_COMPACT_ARRAYS:
    case PIPE_CAP_IMAGE_LOAD_FORMATTED:
+   case PIPE_CAP_IMAGE_STORE_FORMATTED:
    case PIPE_CAP_COMPUTE_SHADER_DERIVATIVES:
    case PIPE_CAP_ATOMIC_FLOAT_MINMAX:
    case PIPE_CAP_CONSERVATIVE_RASTER_INNER_COVERAGE:



More information about the mesa-commit mailing list