Comments (3)
Hard-coded yes. Does it lead to compilation failures?
I can compute a non-colliding binding for it.
Have you found that if needs a sampler bound?
from slang.
No, is successfully compiles to SPIR-V.
I don't see anything in the Vulkan spec that forbids such behavior. vkUpdateDescriptorSets
accepts the descriptor type, so perhaps a bind-location is defined by the index and the type, but I couldn't find it in the spec.
The problem is that the debug layer spits an error. Perhaps it's a bug in their code.
As for the other question - I don't see it in the reflection and I don't bind anything to that slot, so I guess it's not an issue
from slang.
We now generate a unique binding for this "hack" sampler, and report it through reflection.
I'm going to close this specific issue, but it is clear that long term we need to eliminate the need for this sampler altogether, which requires work inside glslang (see glslang issue 1003)
from slang.
Related Issues (20)
- Cannot disable warning 41203 HOT 1
- Falcor Compilation to SPIR-V with no Inlining HOT 2
- Make CTS Nightly reporting correct result HOT 1
- Capture/replay: Implement utility to encode the slang objects 1
- Capture/replay: Implement utility to encode the slang objects 2
- Capabilities System: Generator should precompute relationships into serialized/ready-to-use UIntSet buffers
- Capability System: Set all extension capabilities to include version relationship for culling capabilities accordingly HOT 1
- Capabilities System: If a profile is set and implicitly upgraded, we should emit a warning. HOT 1
- Make sure performance profiler is disabled in production environment HOT 1
- Make sure performance profiler is disabled in production environment HOT 2
- How to link together generated CPP and CUDA code HOT 6
- Capability System: Redesign how failed capabilities on EntryPoints<->compileTarget are described to a user
- AD Cleanup: Unify how the different transcribers work, and cleanup their dispatch logic
- Capability System: capability-generator-main.cpp runs should support inclusiveJoin and union+error separately HOT 1
- AD Cleanup: Fix confusing naming conventions for synthesized methods and types
- AD Cleanup: Cleanup `slang-ir-autodiff-unzip.cpp` & `slang-ir-autodiff-unzip.h`
- AD Cleanup: Avoid dealing with invalid IR by representing out-of-scope accesses through `Push` and `Pop` instructions
- Add OpCapability only once
- AD Cleanup: CFG normalization replaces break statements with a boolean break flag `bflag`, but this currently means the opposite of what it should
- AD Cleanup: break-elimination during the CFG normalization step can cause the loop condition to be evaluated an extra time.
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.