vkd3d-shader/ir: Rename the "immconst_double" field of struct vkd3d_shader_register to "immconst_f64".

This commit is contained in:
Henri Verbeet
2023-12-05 23:33:16 +01:00
committed by Alexandre Julliard
parent 7f94fda05c
commit ed4f3f3272
Notes: Alexandre Julliard 2024-01-03 23:08:59 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/534
3 changed files with 4 additions and 4 deletions

View File

@@ -1168,9 +1168,9 @@ static void shader_dump_register(struct vkd3d_d3d_asm_compiler *compiler, const
{
if (reg->data_type == VKD3D_DATA_DOUBLE)
{
shader_print_double_literal(compiler, "", reg->u.immconst_double[0], "");
shader_print_double_literal(compiler, "", reg->u.immconst_f64[0], "");
if (reg->dimension == VSIR_DIMENSION_VEC4)
shader_print_double_literal(compiler, ", ", reg->u.immconst_double[1], "");
shader_print_double_literal(compiler, ", ", reg->u.immconst_f64[1], "");
}
else
{