vkd3d-shader/d3d-asm: Don't print offset for DEPTHOUT registers.

This register is unique and thus is not accompanied with an offset in
the native disassembler output.
This commit is contained in:
Francisco Casas 2023-08-29 19:08:24 -04:00 committed by Alexandre Julliard
parent ef1567c17b
commit 123e399b89
Notes: Alexandre Julliard 2023-09-27 23:00:17 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/369

View File

@ -1164,7 +1164,8 @@ static void shader_dump_register(struct vkd3d_d3d_asm_compiler *compiler, const
}
else if (reg->type != VKD3DSPR_RASTOUT
&& reg->type != VKD3DSPR_MISCTYPE
&& reg->type != VKD3DSPR_NULL)
&& reg->type != VKD3DSPR_NULL
&& reg->type != VKD3DSPR_DEPTHOUT)
{
if (offset != ~0u)
{