https://github.com/shader-slang/slang
Revision 12f7237e4060388494c549623f4a640327b7ca08 authored by Yong He on 15 November 2023, 01:46:05 UTC, committed by GitHub on 15 November 2023, 01:46:05 UTC
* Parse glsl buffer blocks to GLSLInterfaceBlockDecl * Parse glsl local size layout declarations * Parse (and ignore) glsl version directives * spelling * Better l-value interpretation for glsl interface blocks * Better l-value interpretation for glsl interface blocks * Add compile flag for enabling glsl * Parse and ignore precision modifiers. * Automatically import `glsl` module for compatiblity. * Complete vector and matrix types for glsl * Remove generated file from repo * Bump .gitignore * do not mark out globals as params * Synthesize entrypoint layout from global inout vars. * update test result. * Allow HLSL semantic on global variables. * Fix. * Fix test. * Fix win32 compile error. * Add more builtin input/output and texture intrinsics. * Add struct/array constructor syntax. * Skip `#extension` lines. * overide operator * for matrix/vector multiplication. * Add `matrixCompMult`. * Parse modifiers in for loop init var declr. * Add more glsl intrinsics, add stage into to var layout. * Allow `int[3] x` syntax. * Fix array type syntax. --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com> Co-authored-by: Yong He <yhe@nvidia.com>
1 parent c71b127
Tip revision: 12f7237e4060388494c549623f4a640327b7ca08 authored by Yong He on 15 November 2023, 01:46:05 UTC
Add GLSL Compatibility. (#3321)
Add GLSL Compatibility. (#3321)
Tip revision: 12f7237
File | Mode | Size |
---|---|---|
.github | ||
build | ||
deps | ||
docs | ||
examples | ||
external | ||
extras | ||
prelude | ||
source | ||
tests | ||
tools | ||
.editorconfig | -rw-r--r-- | 984 bytes |
.gitattributes | -rw-r--r-- | 95 bytes |
.gitignore | -rw-r--r-- | 1.4 KB |
.gitmodules | -rw-r--r-- | 1.2 KB |
.mailmap | -rw-r--r-- | 84 bytes |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
LICENSE | -rw-r--r-- | 1.1 KB |
README.md | -rw-r--r-- | 6.8 KB |
github_build.sh | -rw-r--r-- | 1.3 KB |
github_macos_build.sh | -rw-r--r-- | 1.2 KB |
github_test.sh | -rw-r--r-- | 1.1 KB |
make-slang-tag-version.bat | -rw-r--r-- | 210 bytes |
premake.bat | -rw-r--r-- | 120 bytes |
premake5.lua | -rw-r--r-- | 63.2 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-- | 87.0 KB |
slang-tag-version.h | -rw-r--r-- | 36 bytes |
slang.h | -rw-r--r-- | 197.2 KB |
slang.sln | -rw-r--r-- | 49.0 KB |
test.bat | -rw-r--r-- | 1.4 KB |
test.ps1 | -rw-r--r-- | 154 bytes |
Computing file changes ...