summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/StringShaderHeader.cmake (follow)
Commit message (Collapse)AuthorAgeFilesLines
* host_shaders: Modify shader cmake integration to allow for larger shadersameerj2021-03-131-1/+21
| | | | using a raw string to encapsulate the entire shader code limits us to shaders of size less than 2KB. This change overcomes this limitation.
* video_core: Fix instances where msbuild always regenerated host shadersReinUsesLisp2020-09-241-0/+2
| | | | | | 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-241-0/+11
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.