mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
jay/print: deal with bare r0 copies
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41064>
This commit is contained in:
parent
e55af8793f
commit
aa37d8b248
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ jay_print_def(FILE *fp, const jay_inst *I, int src)
|
|||
unsigned lu_bit = has_lu ? jay_source_last_use_bit(I->src, src) : 0;
|
||||
|
||||
bool has_index = jay_channel(def, 0) != JAY_SENTINEL;
|
||||
bool has_reg = !def.collect && def.reg && def.file != J_ARF;
|
||||
bool has_reg = (!def.collect && def.reg && def.file != J_ARF) || !has_index;
|
||||
|
||||
if (jay_is_null(def)) {
|
||||
has_reg = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue