Skip to content

Commit

Permalink
[SPIR-V] Fix fragment functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Dec 14, 2023
1 parent f444ddc commit 410eebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/backends/spirv.c
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ static void spirv_export_fragment(char *directory, function *main) {

write_op_variable_with_result(&instructions, spirv_float4_type, output_var, STORAGE_CLASS_OUTPUT);

write_functions(&instructions, main, SHADER_STAGE_VERTEX, pixel_input, input_var, NO_TYPE, output_var);
write_functions(&instructions, main, SHADER_STAGE_FRAGMENT, pixel_input, input_var, NO_TYPE, output_var);

write_types(&constants);

Expand Down

0 comments on commit 410eebd

Please sign in to comment.