vkd3d-shader: Make relative address sources mutable too.

They were forgotten in 78d95889bd.

Fixes: 78d95889bd
This commit is contained in:
Giovanni Mascellani
2024-01-17 16:10:17 +01:00
committed by Alexandre Julliard
parent 93100edb4b
commit 38fdf24002
Notes: Alexandre Julliard 2024-01-18 23:20:24 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/568
2 changed files with 3 additions and 3 deletions

View File

@@ -827,7 +827,7 @@ struct vkd3d_shader_indexable_temp
struct vkd3d_shader_register_index
{
const struct vkd3d_shader_src_param *rel_addr;
struct vkd3d_shader_src_param *rel_addr;
unsigned int offset;
/* address is known to fall within the object (for optimisation) */
bool is_in_bounds;