mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/dxil: Shift register write masks by the component index in sm6_parser_emit_dx_store_output().
To account for the change we made in commit
c571a45e65
on the SPIR-V side.
This commit is contained in:
Notes:
Henri Verbeet
2024-10-15 17:04:38 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1180
@@ -5872,6 +5872,8 @@ static void sm6_parser_emit_dx_store_output(struct sm6_parser *sm6, enum dx_intr
|
||||
return;
|
||||
}
|
||||
e = &signature->elements[row_index];
|
||||
if (!e->sysval_semantic)
|
||||
column_index += vsir_write_mask_get_component_idx(e->mask);
|
||||
|
||||
if (column_index >= VKD3D_VEC4_SIZE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user