https://github.com/shader-slang/slang
Revision 2307ce862ff7aec6e7b08f334d07e5e14e5ba94a authored by Tim Foley on 19 October 2018, 18:36:46 UTC, committed by GitHub on 19 October 2018, 18:36:46 UTC
* Fix sampler-less texeture functions I'm honestly not sure how the original work on this feature in #648 worked at all (probably insufficient testing). We have these front-end modifiers to indicate that a particular function definition requires a certain GLSL version, or a GLSL extension in order to be used, and they are supposed to be automatically employed by the logic in `emit.cpp` to output `#extension` lines in the output GLSL. However, it turns out that nothing is actually wired up right now, so that adding the modifiers to a declaration is a placebo. This change propagates the modifiers through as decorations, and then uses them during GLSL code emit, which allows the functions that require `EXT_samplerless_texture_functions` to work. * fixup: 32-bit warning
1 parent 4f979d7
Tip revision: 2307ce862ff7aec6e7b08f334d07e5e14e5ba94a authored by Tim Foley on 19 October 2018, 18:36:46 UTC
Fix sampler-less texture functions (#685)
Fix sampler-less texture functions (#685)
Tip revision: 2307ce8
File | Mode | Size |
---|---|---|
docs | ||
examples | ||
external | ||
source | ||
tests | ||
tools | ||
.editorconfig | -rw-r--r-- | 937 bytes |
.gitattributes | -rw-r--r-- | 95 bytes |
.gitignore | -rw-r--r-- | 398 bytes |
.gitmodules | -rw-r--r-- | 406 bytes |
.travis.yml | -rw-r--r-- | 1.7 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
LICENSE | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 6.3 KB |
README.md | -rw-r--r-- | 6.6 KB |
appveyor.yml | -rw-r--r-- | 3.7 KB |
premake5.lua | -rw-r--r-- | 21.6 KB |
slang-com-helper.h | -rw-r--r-- | 3.9 KB |
slang-com-ptr.h | -rw-r--r-- | 4.8 KB |
slang.h | -rw-r--r-- | 65.9 KB |
slang.sln | -rw-r--r-- | 10.5 KB |
test.bat | -rw-r--r-- | 1.4 KB |
Computing file changes ...