mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Store control point counts in struct vsir_program.
This commit is contained in:
committed by
Alexandre Julliard
parent
e4cc4a336e
commit
98c6e85b33
Notes:
Alexandre Julliard
2024-01-23 23:05:46 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/594
@@ -9806,8 +9806,8 @@ static int spirv_compiler_generate_spirv(struct spirv_compiler *compiler,
|
||||
compiler->block_names = parser->shader_desc.block_names;
|
||||
compiler->block_name_count = parser->shader_desc.block_name_count;
|
||||
|
||||
compiler->input_control_point_count = shader_desc->input_control_point_count;
|
||||
compiler->output_control_point_count = shader_desc->output_control_point_count;
|
||||
compiler->input_control_point_count = program->input_control_point_count;
|
||||
compiler->output_control_point_count = program->output_control_point_count;
|
||||
|
||||
if (compiler->shader_type != VKD3D_SHADER_TYPE_HULL)
|
||||
spirv_compiler_emit_shader_signature_outputs(compiler);
|
||||
|
Reference in New Issue
Block a user