summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/StringShaderHeader.cmake (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-13host_shaders: Modify shader cmake integration to allow for larger shadersameerj1-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.
2020-09-24video_core: Fix instances where msbuild always regenerated host shadersReinUsesLisp1-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.
2020-08-24video_core/host_shaders: Add CMake integration for string shadersReinUsesLisp1-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.