[0011] Get the vk::SpirvType
or vk::SpirvOpaqueType
of an expression
#241
Labels
active proposal
Issues relating to active proposals
Milestone
Which proposal does this relate to?
0011-inline-spirv.md
Describe the issue or outstanding question.
Banging my head against the wall trying to make Combined Sampler Images, or PhysicalStoragePointers (BDA) using types that are not "wholly build from ground up with
vk::SpirvType
"For example I have
For a regular
vk::RawBufferLoad
or aStructuredBuffer
, DXC seems to make some meta-types that don't matchvk::SpirvType<..,T>
I'd make myself.This gets in the way of doing
OpAccessChain
or similar things, because the types don't have the same%result_id
from anOpType..
even though the types may be identically defined.Additional context
I've outlined list of vastly different currently open DXC issues that may touch upon this here:
microsoft/DirectXShaderCompiler#6578 (comment)
I'd also settle for getting the
vk::spirvType
of a type instead of an expression, this would be enough to e.g. have the exact same type that aTexture2D
is using, or getting the basicMyAggregate
typedef to make pointers out of.This seems to be the final stumbling block (first being that the offsetof member decorations seem to just simply not work) for me to implement the equivalent of Proposal 0010 in user-space while also addressing #57
The text was updated successfully, but these errors were encountered: