mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Pass a struct vsir_program to shader_parser_get_dst_params().
This commit is contained in:
committed by
Alexandre Julliard
parent
ced8543952
commit
47ec24ebad
Notes:
Alexandre Julliard
2024-02-01 00:31:27 +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/614
@@ -74,7 +74,7 @@ static bool vsir_instruction_init_with_params(struct vkd3d_shader_parser *parser
|
||||
ins->dst_count = dst_count;
|
||||
ins->src_count = src_count;
|
||||
|
||||
if (!(ins->dst = shader_parser_get_dst_params(parser, ins->dst_count)))
|
||||
if (!(ins->dst = vsir_program_get_dst_params(&parser->program, ins->dst_count)))
|
||||
{
|
||||
ERR("Failed to allocate %u destination parameters.\n", dst_count);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user