mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/gles2: validate shaders at build time
Use glslang to validate GLSL shaders at build time. This is optional: if glslang is not found, shader validation is skipped.
This commit is contained in:
parent
546c5d000d
commit
2b4f30dc1d
2 changed files with 10 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ if not (glesv2.found() and internal_features['egl'])
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
glslang = find_program('glslang', 'glslangValidator', native: true, required: false, disabler: true)
|
||||
|
||||
features += { 'gles2-renderer': true }
|
||||
wlr_deps += glesv2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue