lima: enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT
It looks like we don't need to do anything special to enable it. Piglit spec@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@gmail.com> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16660>
This commit is contained in:
@@ -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 4.4, GLSL 4.40 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, zink
|
||||||
|
|
||||||
GL_MAX_VERTEX_ATTRIB_STRIDE DONE (all drivers)
|
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_clear_texture DONE (i965, nv50, softpipe, virgl)
|
||||||
GL_ARB_enhanced_layouts DONE (i965, nv50, softpipe, virgl)
|
GL_ARB_enhanced_layouts DONE (i965, nv50, softpipe, virgl)
|
||||||
- compile-time constant expressions DONE
|
- compile-time constant expressions DONE
|
||||||
|
@@ -107,6 +107,7 @@ lima_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||||||
case PIPE_CAP_TEXTURE_SWIZZLE:
|
case PIPE_CAP_TEXTURE_SWIZZLE:
|
||||||
case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
|
case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
|
||||||
case PIPE_CAP_TEXTURE_BARRIER:
|
case PIPE_CAP_TEXTURE_BARRIER:
|
||||||
|
case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Unimplemented, but for exporting OpenGL 2.0 */
|
/* Unimplemented, but for exporting OpenGL 2.0 */
|
||||||
|
Reference in New Issue
Block a user