diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-27 14:40:30 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 01:12:26 +0000 |
commit | 375a7d0f32ff7ea94da9c975aa1a852d848e254b (patch) | |
tree | f3e440785960783fad57456ee1219ffe0392f46e /src/panfrost/bifrost/compiler.h | |
parent | aa77d8128e93e2ea637c7fcacb88f628ecdb1239 (diff) |
pan/bi: Ignore swizzle in unwritten component
Otherwise we can trip the assert for no good reason.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r-- | src/panfrost/bifrost/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 3a895c2a6d1..554cd4e93d7 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -539,6 +539,7 @@ unsigned bi_get_component_count(bi_instruction *ins, unsigned s); unsigned bi_load32_components(bi_instruction *ins); uint16_t bi_bytemask_of_read_components(bi_instruction *ins, unsigned node); uint64_t bi_get_immediate(bi_instruction *ins, unsigned index); +bool bi_writes_component(bi_instruction *ins, unsigned comp); /* BIR passes */ |