vkd3d-shader/d3d-asm: Dump all indices when tracing VSIR code.

Our ASM dumper currently hides or interprets some register indices
in order to match users expectations. This can be inconvenient for
developers, though, because it makes it harder to understand what's
really going on in the VSIR code when reading logs. With this change
the whole index structure is dumped.
This commit is contained in:
Giovanni Mascellani
2024-09-26 22:19:55 +02:00
committed by Henri Verbeet
parent 10559fa17a
commit 0f91149260
Notes: Henri Verbeet 2024-09-30 21:06:41 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1125
2 changed files with 21 additions and 2 deletions

View File

@@ -1490,6 +1490,7 @@ enum vsir_asm_flags
{
VSIR_ASM_FLAG_NONE = 0,
VSIR_ASM_FLAG_DUMP_TYPES = 0x1,
VSIR_ASM_FLAG_DUMP_ALL_INDICES = 0x2,
};
enum vkd3d_result d3d_asm_compile(const struct vsir_program *program,