Comments (2)
No, a constant buffer content is not a compile time constant, so it cannot be assigned to a static const global.
from slang.
Thanks! Closing.
from slang.
Related Issues (20)
- Unable to use vectors in initialization list of other vectors HOT 1
- Initializers example in the Slang User Guide does not compile. HOT 1
- Metal: Function return type incorrectly checked when assigning address space
- Incorrect initializers when using interfaces HOT 1
- Variant of `GatherAlpha()` that takes a `status` argument is not supported
- Properly handle the mismatching "mutating" signature for implementing interfaces HOT 1
- Metal: `legalizeArrayReturnType` leads to missing address space for `Out` parameter
- AD Cleanup: Fix inconsistency between `ForwardDerivativeDecoration` and `UserDefinedBackwardDerivativeDecoration`
- Multidimensional `ConstantBuffer` array usage triggers assert
- Will Slang support `using` for type aliasing?
- Unable to use `const` in `typedef` statement
- Unexpected ambiguous call. HOT 1
- There is no way to emit WGSL HOT 1
- Metal: Opaque type return/inout-param/out-param either infinitely-loops or crashes
- Metal: __getEquivalentStructuredBuffer() doesn't work as expected in Metal HOT 1
- Add Tint as a downstream compiler
- Add WGSL as an output target
- Extraneous type conformances causes compiler error.
- Metal: Slang does not legalize `[[color(n)]]`/`[[attribute(n)]]` attachment if wrapped by a `struct` HOT 1
- tests/cpu-program/gfx-smoke.slang fails on local test
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.