r600: enable memory objects
authorYusuf Khan <yusisamerican@gmail.com>
Sun, 30 Oct 2022 21:38:15 +0000 (16:38 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 5 Nov 2022 16:09:43 +0000 (16:09 +0000)
Support was there but the cap was not enabled

Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Acked-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19406>

src/gallium/drivers/r600/r600_pipe.c

index 13b8b29..4240098 100644 (file)
@@ -295,6 +295,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_VS_WINDOW_SPACE_POSITION:
        case PIPE_CAP_VS_LAYER_VIEWPORT:
        case PIPE_CAP_SAMPLE_SHADING:
+        case PIPE_CAP_MEMOBJ:
        case PIPE_CAP_CLIP_HALFZ:
        case PIPE_CAP_POLYGON_OFFSET_CLAMP:
        case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: