Comments (1)
Jeff's repro on godbolt: https://godbolt.org/z/MdoaKz686
While it's not explicitly stated, the payload is essentially in groupshared memory. The closest the spec comes is to point out that "The size of the payload structure counts against groupshared memory limits". If I remember correctly, shaders with payloads not in groupshared won't run. Consequently, it makes sense that resources can't be in payloads since they can't be in groupshared. Crashing isn't okay of course.
Out of curiosity, I tried putting resources in groupshared and had similar, but not identical failures: https://godbolt.org/z/8cfoesvos
from directxshadercompiler.
Related Issues (20)
- [SPIR-V] Static class member initializer not implemented
- Segfault when trying to use hull shader as lib.
- Missing validation error on DS compilation with no patch constant signature
- Resources in groupshared memory causes internal compiler error
- QuadReadAcross(bool) Fails to Compile HOT 5
- [SPIR-V] Hitting max ID bound
- DxilValidation: TGSM size check should be per-entry in lib target
- integral_constant is exposed to the global namespace in DXC (trunk) HOT 2
- [SPIR-V][SM6.6] Payload access qualifiers HOT 1
- SamplerDescriptorHeap can be used to load textures. HOT 1
- SamplerDescriptorHeap = ResourceDescriptorHeap crashes DXC
- Multiple subscript into descriptor heaps are allowed.
- [SPIR-V] OpConstantNull Result Type <id> '12[%type_2d_image]' cannot have a null value HOT 3
- [Feature Request] Transplant XIC (Xbox Iterative Compiler) to General DXC HOT 1
- HLSL 2021 abandoned SELECT HOT 2
- [SPIR-V] Texture2D used with sampleCmp not tagged as depth texture HOT 2
- Non-determinism in Reassociate caused by address coincidences
- Initializing a struct to 0 with a resource type doesn't always produce a useful error
- DXC.EXE lacks support for long file paths
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 directxshadercompiler.