Skip to content

Commit

Permalink
spirv: run a last round of eliminate_constants before codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugobros3 committed Feb 2, 2024
1 parent 40e45cb commit 4eea7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shady/emit/spirv/emit_spv.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ static Module* run_backend_specific_passes(CompilerConfig* config, Module* initi
RUN_PASS(lower_entrypoint_args)
RUN_PASS(spirv_map_entrypoint_args)
RUN_PASS(spirv_lift_globals_ssbo)
RUN_PASS(eliminate_constants)
RUN_PASS(import)

return *pmod;
Expand Down

0 comments on commit 4eea7b3

Please sign in to comment.