diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-06-30 15:41:43 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-07 01:13:39 +0000 |
commit | af6fc41d2c1916c54f5c018a272df0a45896c3c3 (patch) | |
tree | 8e7da65779a711ed9e1e79def01596d089178a29 /src/panfrost/midgard | |
parent | 63a8722c6aa46a44974127db56bd4ad2641c40f9 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |