meson: Automatically generate glsl_shaders.h from specified shader programs
Encode the bayer shader files into a header as part of the build process. Qcam already compiles the shader files down into a QT resource file which it references internally. In order to share the debayering shader programs outside of qcam create a generic header which both qcam and libcamera can operate from. Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
19371dee41
commit
ab675bc06b
@@ -3,5 +3,7 @@
|
||||
subdir('codegen')
|
||||
subdir('ipu3')
|
||||
|
||||
gen_shader_headers = files('gen-shader-headers.sh')
|
||||
|
||||
## Module signing
|
||||
gen_ipa_priv_key = files('gen-ipa-priv-key.sh')
|
||||
|
||||
Reference in New Issue
Block a user