Archived
1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
4e0f92014a Remove obsolete MSL ShaderLanguage option
This is no longer relevant now that Metal is a unsupported GFX backend, the MSL conversion is now handled by MoltenVK
2022-02-07 13:07:30 -05:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
529bc27702 Replace old logging and format system with fmt 2021-09-13 23:41:54 -04:00
redstrate
fa65e99094 Rename Path -> path 2021-05-12 09:05:56 -04:00
redstrate
01966c1d81 Rename File -> file and move under the prism namespace 2021-05-12 08:50:02 -04:00
redstrate
87f15b2007 Completely redo the CMake shader compilation system
* Now shader recompilation happens only when it needs to. Hurray for faster compiles!
* Changes to constructors for ShaderSource to make it more explicit.
* The version of SPIRV-Cross is updated, and now the glslang version pulled correctly matches what SPIRV-Cross needs. This fixes the annoying "cannot parse built-ins" bug.
2021-05-09 19:10:23 -04:00
redstrate
bae6d05184 Move console and log namespaces to prism 2021-04-20 11:23:53 -04:00
redstrate
e8fc757d99 Add basic shader editing system
POC, only registered shader is the sky shader
2021-02-16 17:10:37 -05:00
redstrate
fcf6277032 Fix embarassing macOS/iOS switchup 2021-02-05 19:50:00 -05:00
redstrate
ae599ba744 Make fragment shader stage optional
Removes the fragment on (normal) shadow pass
2021-02-04 09:36:06 -05:00
redstrate
482c7ef748 Fix vulkan backend validation errors 2020-09-23 09:53:45 -04:00
redstrate
41ef1c33f5 Add framework for compute shaders 2020-09-22 15:39:20 -04:00
redstrate
dbe23f4aa4 Add better documentation for ShaderCompiler 2020-08-15 20:42:14 -04:00
redstrate
f50852abeb Use the to_language parameter instead of choosing by platform 2020-08-15 20:35:46 -04:00
redstrate
6db47e272f Add query for shader language accepted by the current GFX api 2020-08-15 20:32:02 -04:00
redstrate
80fd8a375b Unify standalone and runtime shader compiler, rename old ShaderCompiler to MaterialCompiler 2020-08-15 20:09:16 -04:00