Mesa (main): lima: enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon May 23 21:32:51 UTC 2022
Module: Mesa
Branch: main
Commit: 2cad65d2204635a8d596f58a989dfbf222914f90
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cad65d2204635a8d596f58a989dfbf222914f90
Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date: Sun May 22 23:32:16 2022 -0700
lima: enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT
It looks like we don't need to do anything special to enable it.
Piglit spec at arb_buffer_storage@bufferstorage-persistent skip: 16 =>
skip: 12, pass: 4. The rest require GL_ARB_shader_image_load_store
Reviewed-by: Erico Nunes <nunes.erico at gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16660>
---
docs/features.txt | 2 +-
src/gallium/drivers/lima/lima_screen.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index 7c894a57c43..0a59d3a9bee 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -195,7 +195,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, virgl
GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, zink
GL_MAX_VERTEX_ATTRIB_STRIDE DONE (all drivers)
- GL_ARB_buffer_storage DONE (freedreno, i965, nv50, v3d, vc4)
+ GL_ARB_buffer_storage DONE (freedreno, i965, nv50, v3d, vc4, lima)
GL_ARB_clear_texture DONE (i965, nv50, softpipe, virgl)
GL_ARB_enhanced_layouts DONE (i965, nv50, softpipe, virgl)
- compile-time constant expressions DONE
diff --git a/src/gallium/drivers/lima/lima_screen.c b/src/gallium/drivers/lima/lima_screen.c
index a04cf0c6373..46db45bb74e 100644
--- a/src/gallium/drivers/lima/lima_screen.c
+++ b/src/gallium/drivers/lima/lima_screen.c
@@ -107,6 +107,7 @@ lima_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_SWIZZLE:
case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
case PIPE_CAP_TEXTURE_BARRIER:
+ case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
return 1;
/* Unimplemented, but for exporting OpenGL 2.0 */
More information about the mesa-commit
mailing list