Comments (2)
I think I've fixed the crash in my own branch, but this was done by handling unknown-size arrays as if they were zero-element arrays, and this runs the risk of breaking a lot of downstream logic.
The right fix is to have an explicit notion of something taking up an unbounded amount of storage of a particular resource kind, but that will be a nuanced thing that could be tricky to get right.
from slang.
Closing. This issue is ancient and doesn't reflect the current Slang language/compiler any more (we no longer support GLSL syntax).
from slang.
Related Issues (20)
- Split up core.meta.slang HOT 1
- Make asserts more consistent HOT 1
- Shader resource views for multisample textures HOT 1
- Missing (all) stencil formats HOT 3
- assertion failure with zero-length array HOT 1
- Surprising behavior around generic and arrays
- Divide by 0 causes crash in SCCP
- Enum can't reference previous definition HOT 1
- Different behavior on DXC and Slang around enum/enum class
- Enum can have same label defined multiple times
- Problems when using RenderTargetViews with Texture2DArrays in DirectX
- Unbounded loop triggers assert during validation
- Do/while loop fails validation when used in an autodiffed function HOT 1
- IR Validation failure in backwards autodiff with do/while loop
- Today's installment of weird loops and autodiff HOT 3
- Expanded atomic support
- [branch] and [flatten] support
- Stdlib files cause language server to crash HOT 2
- Double and asuint issue with DXC
- Some CLI options get ignored HOT 3
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.