mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Fix hlsl_ir_resource_store::resource cleanup.
This commit is contained in:
parent
c083b1d0fc
commit
7e27ae73af
Notes:
Alexandre Julliard
2024-02-26 23:10:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/670
@ -3017,7 +3017,7 @@ static void free_ir_resource_load(struct hlsl_ir_resource_load *load)
|
|||||||
|
|
||||||
static void free_ir_resource_store(struct hlsl_ir_resource_store *store)
|
static void free_ir_resource_store(struct hlsl_ir_resource_store *store)
|
||||||
{
|
{
|
||||||
hlsl_src_remove(&store->resource.rel_offset);
|
hlsl_cleanup_deref(&store->resource);
|
||||||
hlsl_src_remove(&store->coords);
|
hlsl_src_remove(&store->coords);
|
||||||
hlsl_src_remove(&store->value);
|
hlsl_src_remove(&store->value);
|
||||||
vkd3d_free(store);
|
vkd3d_free(store);
|
||||||
|
Loading…
Reference in New Issue
Block a user