mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Store the "instrs" field of struct hlsl_attribute as a hlsl_block.
This commit is contained in:
committed by
Alexandre Julliard
parent
372ddd1f29
commit
0652bb1950
Notes:
Alexandre Julliard
2023-08-08 21:47:28 +09: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/290
@@ -2922,7 +2922,7 @@ void hlsl_free_attribute(struct hlsl_attribute *attr)
|
||||
|
||||
for (i = 0; i < attr->args_count; ++i)
|
||||
hlsl_src_remove(&attr->args[i]);
|
||||
hlsl_free_instr_list(&attr->instrs);
|
||||
hlsl_block_cleanup(&attr->instrs);
|
||||
vkd3d_free((void *)attr->name);
|
||||
vkd3d_free(attr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user