v3d: enable ARB_texture_view

v2 (Iago):
 - Add comments to failing tests

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13409>
This commit is contained in:
Juan A. Suarez Romero
2021-10-15 18:20:05 +02:00
committed by Marge Bot
parent 7f1525f086
commit 11287475c8
3 changed files with 23 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, virgl
GL_ARB_texture_buffer_range DONE (freedreno, nv50, i965, softpipe, swr, v3d, d3d12)
GL_ARB_texture_query_levels DONE (all drivers that support GLSL 1.30)
GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample)
GL_ARB_texture_view DONE (freedreno, i965, nv50, softpipe, swr)
GL_ARB_texture_view DONE (freedreno, i965, nv50, softpipe, swr, v3d)
GL_ARB_vertex_attrib_binding DONE (all drivers)
@@ -344,7 +344,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
GL_OES_texture_float_linear DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, swr, zink)
GL_OES_texture_half_float DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, swr, zink, lima)
GL_OES_texture_half_float_linear DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, swr, zink, lima)
GL_OES_texture_view DONE (freedreno, i965/gen8+, r600, radeonsi, nv50, nvc0, softpipe, llvmpipe, swr, zink)
GL_OES_texture_view DONE (freedreno, i965/gen8+, r600, radeonsi, nv50, nvc0, softpipe, llvmpipe, swr, v3d, zink)
GL_OES_viewport_array DONE (i965, nvc0, r600, radeonsi, softpipe, zink)
GLX_ARB_context_flush_control not started
GLX_ARB_robustness_application_isolation not started

View File

@@ -329,3 +329,23 @@ spec@oes_shader_io_blocks@compiler@layout-location-aliasing.vert,Fail
# Seems a bug in the test; it works if overriding GL version to 2.1
spec@arb_texture_buffer_range@ranges-2 compat,Fail
# Precission differences between expected and obtained; works if
# exporting V3D_DEBUG=tmu32.
spec@oes_texture_view@rendering-formats,Fail
spec@oes_texture_view@rendering-formats@clear GL_R8 as GL_R8I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RG8 as GL_R16F,Fail
spec@oes_texture_view@rendering-formats@clear GL_RG8 as GL_R16I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RG8 as GL_RG8I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGBA8 as GL_R32F,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGBA8 as GL_R32I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGBA8 as GL_RG16F,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGBA8 as GL_RG16I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGBA8 as GL_RGBA8I,Fail
# Also related with precission issues
spec@oes_texture_view@rendering-formats@clear GL_RGB10_A2 as GL_R32F,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGB10_A2 as GL_R32I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGB10_A2 as GL_RG16F,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGB10_A2 as GL_RG16I,Fail
spec@oes_texture_view@rendering-formats@clear GL_RGB10_A2 as GL_RGBA8I,Fail

View File

@@ -139,6 +139,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL:
case PIPE_CAP_TGSI_TEXCOORD:
case PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE:
case PIPE_CAP_SAMPLER_VIEW_TARGET:
return 1;
case PIPE_CAP_TEXTURE_QUERY_LOD: