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 <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
This commit is contained in:
Alyssa Rosenzweig 2020-06-30 15:41:43 -04:00 committed by Marge Bot
parent 63a8722c6a
commit af6fc41d2c
1 changed files with 2 additions and 1 deletions

View File

@ -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 }