mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-15 08:22:07 -04:00
render/gles2: check shaders once
We'd always check shaders each time we were building, even if the shaders didn't change. This is caused by the check not producing any file, so ninja can't check whether the output file is up-to-date. Fix this by capturing the output and write to a file. TODO: error messages are no longer visible.
This commit is contained in:
parent
c1eb053f5e
commit
67fa22a8b5
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ foreach name : shaders
|
|||
input: name,
|
||||
output: name + '_check',
|
||||
command: [glslang, '@INPUT@'],
|
||||
capture: true,
|
||||
build_by_default: true,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue