You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect there's a slightly broader issue here because right now you can technically do weird things like defining OpTypeVoid variables in a buffer or declaring an OpTypeImage the Output storage class - there's absolutely nothing banning this AFAICT. If you actually attempted to do that I'm fairly sure at least some vendor compilers would fall over, and in any case it's not clear what the behavior would be. I've raised a discussion internally about banning non-concrete types from any storage classes except Private, Function, and UniformConstant - we'll see how that goes.
tl;dr - It would be nice to have a more consistent knowledge where
OpTypeBool
are allowedin
OpTypeBool
it saysbut other Storage Classes such as
Generic
,CallableDataKHR
, etc would also be "non-externally visible"Also it seems that according to
spirv-val
theBuiltIn
decoration also matters if it is "external", but I can't find that wording anywhere in the specLast thing, It also says
but is that suppose to just mean anything without
OpMemoryModel Logical
as the spec doesn't define anyoperations
that are logical, just the modelThe text was updated successfully, but these errors were encountered: