https://github.com/shader-slang/slang
Revision 1643471da0d6239177d11b0301c26d1adf95c0fb authored by Ellie Hermaszewska on 16 November 2022, 01:49:06 UTC, committed by GitHub on 16 November 2022, 01:49:06 UTC
* Add gdb generated files to .gitignore * Switch to c++17 TODO: Ellie update coding style doc * WIP mesh shaders * Add MeshOutputType and mesh output decorations * Lift array type layout creation out of _createTypeLayout in preparation for sharing it elsewhere * Initial pass at GLSL legalization for mesh shaders * Create output types for builtin mesh outputs This should be rendered as an out paramter block * Handle writes to member fields in mesh shader output * Per primitive output from mesh shaders * Add mesh shader tests * Redeclare mesh output builtins * Remove unused instruction * Emit explicit mesh output max max size * Add unimplemented warning for array members in mesh output * Implement mesh output splitting for GLSL in terms of getSubscriptVal * Allow HLSL syntax for mesh output modifiers * Improve error messages for mesh output * Add test for HLSL style mesh output syntax * Emit explicit mesh output indices max size * HLSL generation support for mesh shaders * Better errors for mesh shader misuse * Neaten comments * Regenerate vs2019 project files * Fix build on vs2019 * Retreat on c++17 Will make the change in a separate PR * slang-glslang binary dep 11.10.0 -> 11.12.0-32 * Fixes for msvc compiler * Update msvc project
1 parent 4917d71
Tip revision: 1643471da0d6239177d11b0301c26d1adf95c0fb authored by Ellie Hermaszewska on 16 November 2022, 01:49:06 UTC
Mesh shader support (#2464)
Mesh shader support (#2464)
Tip revision: 1643471
File | Mode | Size |
---|---|---|
.github | ||
build | ||
deps | ||
docs | ||
examples | ||
external | ||
extras | ||
prelude | ||
source | ||
tests | ||
tools | ||
.editorconfig | -rw-r--r-- | 937 bytes |
.gitattributes | -rw-r--r-- | 95 bytes |
.gitignore | -rw-r--r-- | 1.4 KB |
.gitmodules | -rw-r--r-- | 951 bytes |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
LICENSE | -rw-r--r-- | 1.1 KB |
README.md | -rw-r--r-- | 6.1 KB |
github_build.sh | -rw-r--r-- | 1.1 KB |
github_macos_build.sh | -rw-r--r-- | 1.2 KB |
github_test.sh | -rw-r--r-- | 1.2 KB |
make-slang-tag-version.bat | -rw-r--r-- | 210 bytes |
premake.bat | -rw-r--r-- | 120 bytes |
premake5.lua | -rw-r--r-- | 55.8 KB |
slang-com-helper.h | -rw-r--r-- | 4.9 KB |
slang-com-ptr.h | -rw-r--r-- | 5.0 KB |
slang-gfx.h | -rw-r--r-- | 86.8 KB |
slang-tag-version.h | -rw-r--r-- | 36 bytes |
slang.h | -rw-r--r-- | 193.1 KB |
slang.sln | -rw-r--r-- | 40.7 KB |
test.bat | -rw-r--r-- | 1.4 KB |
Computing file changes ...