diff --git a/docs/features.txt b/docs/features.txt index dd9f042bc15..9554954dad0 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -313,7 +313,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_ARB_shading_language_include DONE GL_ARB_sparse_buffer DONE (radeonsi/gfx9+, zink) GL_ARB_sparse_texture DONE (radeonsi/gfx9+) - GL_ARB_sparse_texture2 not started + GL_ARB_sparse_texture2 DONE (radeonsi/gfx9+) GL_ARB_sparse_texture_clamp not started GL_ARB_texture_filter_minmax DONE (nvc0/gm200+, zink) GL_EXT_color_buffer_half_float DONE (freedreno, i965, iris, llvmpipe, nv50, nvc0, radeonsi, zink) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index c3d2edaec58..41fdf34d0a4 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -4,3 +4,4 @@ VK_KHR_synchronization2 on RADV. OpenSWR has been moved to the Amber branch radeonsi ARB_sparse_texture d3d12 support for shader store buffers, images, compute, indirect draw, draw params, and ARB_framebuffer_no_attachments +radeonsi ARB_sparse_texture2 diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 3486820ffee..960dbd9f043 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -326,7 +326,8 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return enable_sparse ? si_get_param(pscreen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS) : 0; case PIPE_CAP_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS: - return enable_sparse ? 1 : 0; + case PIPE_CAP_QUERY_SPARSE_TEXTURE_RESIDENCY: + return enable_sparse; /* Viewports and render targets. */ case PIPE_CAP_MAX_VIEWPORTS: