vkd3d-shader/d3d-asm: Implement support for VKD3DSPR_PARAMETER registers.

This commit is contained in:
Henri Verbeet 2024-10-20 17:54:22 +02:00
parent 89e5912fd2
commit fa6d03a4cb
Notes: Henri Verbeet 2024-10-28 18:12:57 +01:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1223

View File

@ -1189,6 +1189,10 @@ static void shader_print_register(struct vkd3d_d3d_asm_compiler *compiler, const
vkd3d_string_buffer_printf(buffer, "vWaveLaneIndex"); vkd3d_string_buffer_printf(buffer, "vWaveLaneIndex");
break; break;
case VKD3DSPR_PARAMETER:
vkd3d_string_buffer_printf(buffer, "parameter");
break;
case VKD3DSPR_POINT_COORD: case VKD3DSPR_POINT_COORD:
vkd3d_string_buffer_printf(buffer, "vPointCoord"); vkd3d_string_buffer_printf(buffer, "vPointCoord");
break; break;