radeonsi: enable ARB_sparse_texture2

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14362>
This commit is contained in:
Qiang Yu 2021-12-28 10:44:40 +08:00
parent 71a77aea79
commit ee040a6b63
3 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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

View File

@ -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: