summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Fix instances where msbuild always regenerated host shadersReinUsesLisp2020-09-242-12/+7
| | | | | | When HEADER_GENERATOR was included in the DEPENDS section of custom commands, msbuild assumed this was always modified. Changing this file is not common so we can remove it from there.
* video_core/host_shaders: Add CMake integration for string shadersReinUsesLisp2020-08-245-0/+97
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.