vkd3d-shader/d3d-asm: Trace undefined registers.

This commit is contained in:
Conor McCarthy 2023-08-31 12:39:08 +10:00 committed by Alexandre Julliard
parent b765f3c770
commit a67a85989f
Notes: Alexandre Julliard 2023-09-25 22:27:19 +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/320

View File

@ -1066,6 +1066,10 @@ static void shader_dump_register(struct vkd3d_d3d_asm_compiler *compiler, const
shader_addline(buffer, "oStencilRef");
break;
case VKD3DSPR_UNDEF:
shader_addline(buffer, "undef");
break;
default:
shader_addline(buffer, "<unhandled_rtype(%#x)>", reg->type);
break;