v3d: do not tile 1D textures

Hardware already support 1D untiled textures, so no need to convert them
to tile for render-based blit.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15693>
This commit is contained in:
Juan A. Suarez Romero 2022-03-29 13:53:27 +02:00 committed by Marge Bot
parent 18f8e3e7bd
commit e6bcb8ad15
2 changed files with 3 additions and 5 deletions

View file

@ -140,8 +140,6 @@ spec@arb_depth_texture@texwrap formats@GL_DEPTH_COMPONENT16- NPOT,Fail
spec@arb_depth_texture@texwrap formats@GL_DEPTH_COMPONENT24- NPOT,Fail
spec@arb_depth_texture@texwrap formats@GL_DEPTH_COMPONENT32- NPOT,Fail
spec@arb_framebuffer_object@fbo-drawbuffers-none use_frag_out,Fail
spec@arb_pixel_buffer_object@pbo-getteximage,Fail
spec@arb_pixel_buffer_object@texsubimage array pbo,Fail
spec@arb_point_sprite@arb_point_sprite-checkerboard,Fail
spec@arb_point_sprite@arb_point_sprite-mipmap,Fail
spec@arb_shader_storage_buffer_object@compiler@atomicmin-swizzle.vert,Fail
@ -238,10 +236,8 @@ spec@ext_packed_depth_stencil@texwrap formats bordercolor-swizzled@GL_DEPTH24_ST
spec@ext_packed_depth_stencil@texwrap formats,Fail
spec@ext_packed_depth_stencil@texwrap formats@GL_DEPTH24_STENCIL8- NPOT,Fail
spec@ext_packed_float@query-rgba-signed-components,Fail
spec@ext_texture_array@array-texture,Fail
spec@ext_texture_array@fbo-generatemipmap-array rgb9_e5,Fail
spec@ext_texture_array@fbo-generatemipmap-array,Fail
spec@ext_texture_array@texsubimage array,Fail
spec@ext_texture_integer@getteximage-clamping gl_arb_texture_rg,Fail
spec@ext_texture_integer@getteximage-clamping,Fail
spec@ext_texture_lod_bias@lodbias,Fail

View file

@ -69,7 +69,9 @@ v3d_render_blit(struct pipe_context *ctx, struct pipe_blit_info *info)
if (!info->mask)
return;
if (!src->tiled) {
if (!src->tiled &&
info->src.resource->target != PIPE_TEXTURE_1D &&
info->src.resource->target != PIPE_TEXTURE_1D_ARRAY) {
struct pipe_box box = {
.x = 0,
.y = 0,