Comments (4)
This is a limitation of the validation layer and the right fix to the problem is to make validation layer accept this kind of code.
from slang.
Closing as it is not a Slang issue.
from slang.
@csyonghe reopening so we can discuss where the bug should be fixed --- is the issue here that the spir created is correct, and we (someone in our world) should go fix the vulkan validation layers to do this right? I noticed this issue in vvl:
KhronosGroup/Vulkan-ValidationLayers#4350
And I notice that a pr for it just recently merged. Maybe the latest vvl will work? @mklefrancois can you check with newer vvl?
from slang.
Talking to @mklefrancois we think this is probably fixed by KhronosGroup/Vulkan-ValidationLayers#4350 as noted above. Marking closed until we hear otherwise. If others hit this issue in slang, sugggest pulling latest vvl as "fix" for this issue.
from slang.
Related Issues (20)
- Initialization of link-time specialized groupshared array HOT 4
- gl_WorkGroupSize must be a constant
- Are combined sampler/texture objects supported? HOT 4
- Ambiguous operators when multiplying half by integer literal HOT 5
- Update spirv-tools
- Prefer to keep member functions as member functions HOT 5
- Explicit binding for vulkan is not correctly assigned for AppendStructuredBuffer HOT 4
- Investigate why `sp*` API does not produce any result when compiling to binary module. HOT 2
- Error while specializing generic entrypoint with different types HOT 1
- For GLSL targets, `uniform` struct fields if unused will optimize out but still appear in function calls
- Compiler crash
- Alignment of float4x4 seems to change in spirv backend depending on surrounding code HOT 21
- Two same "struct" are generated with different names when an arithmetic math is applied to the generic-argument HOT 10
- Support __LINE__ macro for the caller of a macro HOT 3
- Support SPIR-V 1.6 HOT 4
- Operator << incorrectly truncates values. HOT 10
- Push constant to a pointer without a struct generates incorrect SPIR-V
- Get user attribute from function declaration HOT 1
- Specify identification indices for structs implementing interfaces HOT 2
- Support 64bit integer type for HLSL InterlockedXXX function set
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.