Skip to content

Commit

Permalink
glslang: check for renamed bin
Browse files Browse the repository at this point in the history
In version 12.3.0 glslangValidator was renamed to glslang.
This commit checks for both the old glslangValidator name and the new glslang
  • Loading branch information
flightlessmango authored and emersion committed Aug 9, 2023
1 parent 540323a commit 1e180d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ foreach feat : required_wlroots_features
endif
endforeach

glsl_compiler = find_program('glslangValidator', native: true)
glsl_compiler = find_program('glslang', 'glslangValidator', native: true)

# Use --depfile to rebuild shaders when included files have changed. Sadly debian based
# distros don't have up-to-date glslang so we need to check for support first.
Expand Down

0 comments on commit 1e180d7

Please sign in to comment.