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)
- Expected AliasedPointer or RestrictPointer for PhysicalStorageBuffer pointer. HOT 3
- Issue with ConstBufferPointer HOT 7
- Immutable sampler for Ycbcr conversion, compiled with slang HOT 14
- glsl: matrix qualifier on shader attributes HOT 6
- Feature Request: Support for Payload Access Qualifiers HOT 2
- Missing rayQueryGetIntersectionTriangleVertexPositionsEXT method from RayQuery
- Allow defining capabilities in a dedicated definition file.
- Implement capability inference and validation in the type system.
- Document the capability definition file and the capability type system.
- Review stdlib and decorate intrinsics using the new capability system.
- Move codegen related decorations from functions to capabilities.
- Implement `-fspv-reflect`
- -capability dont work with -emit-spirv-directly HOT 1
- slangc throw an error when with "-emit-spirv-directly" option HOT 2
- spirv can't Debug in Source in RenderDoc with "-emit-spirv-directly" option HOT 1
- Compiler crash with array constructor and emit-spirv-directly HOT 1
- Failed to load downstream compiler 'spirv-opt'
- Support step-through debugging in renderdoc in direct-to-spirv backend.
- Integrate SLANG into VK-GL-CTS HOT 2
- Make OptionKind::EmitSpirvDirectly turn ON by default for target CodeGenTarget target SPIRV HOT 1
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.