Comments (1)
isPureFunctionCall
looks for the IRReadNoneDecoration
on the callee, which is propagated during propagateFuncProperties
.
propagateFuncProperties
does check for the body of the function for any side effects.
In this case I suspect the root cause is that the stores into a GLSL storage buffer isn't counted as having global side effect for some reason. Need to debug into propagateFuncPropertiesImpl
to see why it decides the function has no side effect.
from slang.
Related Issues (20)
- Add alignment information to the ByteAddressBuffer Inst HOT 1
- Enabling debug symbol can cause compilation failure.
- VKCTS nightly runs start failing on run #38
- -emit-spirv-via-glsl is missing in slang API compilation HOT 2
- Fix autodiff test failures after enabling debug symbol.
- Fix `packSnorm2x16` and re-enable `tests/glsl-intrinsic/intrinsic-basic.slang` on direct spirv backend. HOT 1
- No debuginfo generated for buffer references HOT 4
- Warnings emitted during link time are not filtered by diagnostic settings HOT 2
- UserAttribute is missing in the reflection information for scalar variable declaration. HOT 1
- Prefer vector operations over unary operations for various GLSL/SPIRV/HLSL functions HOT 4
- Add unit testing to updated slang capabilities system
- `spReflection_getEntryPointCount` returns 0, am I using the api wrong? HOT 2
- Use SMin/UMin for SPIR-V target HOT 12
- Improve robustness of slang-test against random driver failures HOT 1
- Overload resolution prefers `int64->int` over `int64->uint64`.
- Incorrect WaveMatch result with SPIR/V
- Nested associated types with multiple possible implementations will crash the compiler. HOT 1
- Comparing unsigned and signed value yields an unexpected result
- `struct` construction using braces fails if differentiable member associations are missing.
- Crash when "uint(-1)" is used for "operator%()" or "operator/()" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slang.