pan/bi: Print FAU uniforms in IR
Uses "u3, u3[1]" syntax which is close enough to the assembly syntax "u3.w0, u3.w1". Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8973>
This commit is contained in:
parent
97e5181fe4
commit
0f27e24934
|
@ -79,6 +79,8 @@ bi_print_index(FILE *fp, bi_index index)
|
|||
fprintf(fp, "_");
|
||||
else if (index.type == BI_INDEX_CONSTANT)
|
||||
fprintf(fp, "#0x%x", index.value);
|
||||
else if (index.type == BI_INDEX_FAU && index.value >= BIR_FAU_UNIFORM)
|
||||
fprintf(fp, "u%u", index.value & ~BIR_FAU_UNIFORM);
|
||||
else if (index.type == BI_INDEX_FAU)
|
||||
fprintf(fp, "%s", bir_fau_name(index.value));
|
||||
else if (index.type == BI_INDEX_PASS)
|
||||
|
|
Loading…
Reference in New Issue