From: Alyssa Rosenzweig Date: Tue, 30 Jun 2020 19:41:43 +0000 (-0400) Subject: pan/mdg: Use _VTX tag for texelFetch in frag shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af6fc41d2c1916c54f5c018a272df0a45896c3c3;p=mesa.git pan/mdg: Use _VTX tag for texelFetch in frag shaders Probably a misnomer, let's match what the blob seemingly does though? At least in blit shaders? Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index 144134746d9..7f3c3ba68ea 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -971,7 +971,8 @@ mir_schedule_texture( struct midgard_bundle out = { .tag = ins->texture.op == TEXTURE_OP_BARRIER ? - TAG_TEXTURE_4_BARRIER : is_vertex ? + TAG_TEXTURE_4_BARRIER : + (ins->texture.op == TEXTURE_OP_TEXEL_FETCH) || is_vertex ? TAG_TEXTURE_4_VTX : TAG_TEXTURE_4, .instruction_count = 1, .instructions = { ins }