You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add some code to a builtin file used by the vertex shader of example 62, which will break HLSL compilation, but not C++ compilation. For example in the file nbl\builtin\hlsl\math\equations\quadratic.hlsl add:
#ifdef __HLSL_VERSION
fjlksad;fjslakdfj
#endif
delete shader cache file and compile again
Expected vs observed behavior
After step 2. compilation should fail, but it doesn't and changes to the nbl\builtin\hlsl\math\equations\quadratic.hlsl take no effect..
After step 3. compilation fails, as it should.
This bug doesn't effect every file, for example I couldn't reproduce this bug with nbl\builtin\hlsl\math\equations\limits.hlsl.
Describe the bug
Shader cache doesn't always update
Steps to Reproduce
nbl\builtin\hlsl\math\equations\quadratic.hlsl
add:Expected vs observed behavior
After step
2
. compilation should fail, but it doesn't and changes to thenbl\builtin\hlsl\math\equations\quadratic.hlsl
take no effect..After step
3
. compilation fails, as it should.This bug doesn't effect every file, for example I couldn't reproduce this bug with
nbl\builtin\hlsl\math\equations\limits.hlsl
.Environment
The text was updated successfully, but these errors were encountered: