pan/mdg: Disassemble the .a32 bit
Corresponds to .auto32 on Bifrost. This is helpful for a conformant implementation of flat shading. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19363>
This commit is contained in:
committed by
Marge Bot
parent
4087374deb
commit
e04156b42a
@@ -1348,7 +1348,11 @@ print_load_store_instr(disassemble_context *ctx, FILE *fp, uint64_t data, bool v
|
||||
(word->op == midgard_op_ld_attr_32i);
|
||||
|
||||
bool has_default = (default_secondary || default_primary);
|
||||
bool is_secondary = (word->index_format >> 1);
|
||||
bool auto32 = (word->index_format >> 0) & 1;
|
||||
bool is_secondary = (word->index_format >> 1) & 1;
|
||||
|
||||
if (auto32)
|
||||
fprintf(fp, ".a32");
|
||||
|
||||
if (has_default && (is_secondary != default_secondary))
|
||||
fprintf(fp, ".%s", is_secondary ? "secondary" : "primary");
|
||||
|
||||
Reference in New Issue
Block a user