mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 03:19:47 +00:00
wined3d: Use wined3d_mask_from_size() in shader_glsl_atomic().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
420f86c2a5
commit
bc70306dd2
|
@ -5354,7 +5354,7 @@ static void shader_glsl_atomic(const struct wined3d_shader_instruction *ins)
|
|||
}
|
||||
resource = "image";
|
||||
data_type = reg_maps->uav_resource_info[resource_idx].data_type;
|
||||
coord_mask = (1u << resource_type_info[resource_type].coord_size) - 1;
|
||||
coord_mask = wined3d_mask_from_size(resource_type_info[resource_type].coord_size);
|
||||
stride = reg_maps->uav_resource_info[resource_idx].stride;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue