suyu/src/video_core/host_shaders
ReinUsesLisp 91df2beee3 video_core/host_shaders: Add CMake integration for string shaders
Add the necessary CMake code to copy the contents in a string source
shader (GLSL or GLASM) to a header file then consumed by video_core
files.

This allows editting GLSL in its own files without having to maintain
them in source files.

For now, only OpenGL presentation shaders are moved, but we can add
GLASM presentation shaders and static SPIR-V generation through
glslangValidator in the future.
2020-08-23 21:37:20 -03:00
..
CMakeLists.txt video_core/host_shaders: Add CMake integration for string shaders 2020-08-23 21:37:20 -03:00
opengl_present.frag video_core/host_shaders: Add CMake integration for string shaders 2020-08-23 21:37:20 -03:00
opengl_present.vert video_core/host_shaders: Add CMake integration for string shaders 2020-08-23 21:37:20 -03:00
source_shader.h.in video_core/host_shaders: Add CMake integration for string shaders 2020-08-23 21:37:20 -03:00
StringShaderHeader.cmake video_core/host_shaders: Add CMake integration for string shaders 2020-08-23 21:37:20 -03:00