mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
pan/midgard: Don't try to propagate swizzles to branches
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
9c0915ba4a
commit
7db36d94af
1 changed files with 2 additions and 2 deletions
|
|
@ -62,9 +62,9 @@ midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block)
|
|||
mir_foreach_instr_global(ctx, q) {
|
||||
bool is_tex = q->type == TAG_TEXTURE_4;
|
||||
bool is_ldst = q->type == TAG_LOAD_STORE_4;
|
||||
bool is_writeout = q->compact_branch && q->writeout;
|
||||
bool is_branch = q->compact_branch;
|
||||
|
||||
if (!(is_tex || is_ldst || is_writeout)) continue;
|
||||
if (!(is_tex || is_ldst || is_branch)) continue;
|
||||
|
||||
/* For textures, we get one real swizzle. For stores,
|
||||
* we also get one. For loads, we get none. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue