mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Rename the "immconst_float" field of struct vkd3d_shader_register to "immconst_f32".
This commit is contained in:
committed by
Alexandre Julliard
parent
e33d3b3954
commit
05a542ba00
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
@@ -2596,7 +2596,7 @@ static enum vkd3d_result sm6_parser_constants_init(struct sm6_parser *sm6, const
|
||||
if (type->u.width == 16)
|
||||
FIXME("Half float type is not supported yet.\n");
|
||||
else if (type->u.width == 32)
|
||||
dst->u.reg.u.immconst_float[0] = bitcast_uint64_to_float(record->operands[0]);
|
||||
dst->u.reg.u.immconst_f32[0] = bitcast_uint64_to_float(record->operands[0]);
|
||||
else if (type->u.width == 64)
|
||||
dst->u.reg.u.immconst_double[0] = bitcast_uint64_to_double(record->operands[0]);
|
||||
else
|
||||
|
Reference in New Issue
Block a user