Commit cd46cad0 authored by José María Casanova Crespo's avatar José María Casanova Crespo Committed by Marge Bot
Browse files

v3d: Enable PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE


Reviewed-by: Juan A. Suárez's avatarJuan A. Suarez <jasuarez@igalia.com>
Part-of: <!12744>
parent 09aeb59b
Pipeline #396691 waiting for manual action with stages
in 2 minutes and 37 seconds
......@@ -206,7 +206,7 @@ GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, zink
- input/output block locations DONE
GL_ARB_multi_bind DONE (all drivers)
GL_ARB_query_buffer_object DONE (i965/hsw+, virgl)
GL_ARB_texture_mirror_clamp_to_edge DONE (i965, nv50, softpipe, swr, virgl, panfrost)
GL_ARB_texture_mirror_clamp_to_edge DONE (i965, nv50, softpipe, swr, virgl, v3d, panfrost)
GL_ARB_texture_stencil8 DONE (freedreno, i965/hsw+, nv50, softpipe, swr, virgl, v3d, panfrost, d3d12)
GL_ARB_vertex_type_10f_11f_11f_rev DONE (freedreno, i965, nv50, softpipe, swr, virgl, panfrost, d3d12)
......
......@@ -138,6 +138,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL:
case PIPE_CAP_TGSI_TEXCOORD:
case PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE:
return 1;
case PIPE_CAP_TEXTURE_QUERY_LOD:
......
......@@ -520,6 +520,8 @@ translate_wrap(uint32_t pipe_wrap)
return V3D_WRAP_MODE_MIRROR;
case PIPE_TEX_WRAP_CLAMP_TO_BORDER:
return V3D_WRAP_MODE_BORDER;
case PIPE_TEX_WRAP_MIRROR_CLAMP_TO_EDGE:
return V3D_WRAP_MODE_MIRROR_ONCE;
default:
unreachable("Unknown wrap mode");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment