mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/dxil: Declare IO registers as VEC4.
Otherwise, for instance, their write masks and swizzles are not written in the D3D ASM dump.
This commit is contained in:
parent
c64909988f
commit
a52604da8c
Notes:
Alexandre Julliard
2023-11-28 23:05:42 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/500
@ -2884,6 +2884,7 @@ static void dst_param_io_init(struct vkd3d_shader_dst_param *param,
|
||||
/* DXIL types do not have signedness. Load signed elements as unsigned. */
|
||||
component_type = e->component_type == VKD3D_SHADER_COMPONENT_INT ? VKD3D_SHADER_COMPONENT_UINT : e->component_type;
|
||||
vsir_register_init(¶m->reg, reg_type, vkd3d_data_type_from_component_type(component_type), 0);
|
||||
param->reg.dimension = VSIR_DIMENSION_VEC4;
|
||||
}
|
||||
|
||||
static void sm6_parser_init_signature(struct sm6_parser *sm6, const struct shader_signature *s,
|
||||
|
Loading…
Reference in New Issue
Block a user