Re
|
'Hit Object Attributes' contains the attributes of the hit which are to be encoded in 'Hit Object'. This must be an OpVariable in *HitObjectAttributeEXT* storage class. + |
This currently differs from DX as it says that we always store attributes, even for triangle hits, is this intentional?
The DX SER doc says:
An overload takes a user-defined hit kind and custom attributes associated with COMMITTED_PROCEDURAL_PRIMITIVE_HIT. It is ok to always use the overload, even for COMMITTED_TRIANGLE_HIT. For anything other than a procedural hit, the specified hit kind and attributes are ignored.
Originally posted by @Flakebi in #368 (comment)
Re
SPIRV-Registry/extensions/EXT/SPV_EXT_shader_invocation_reorder.asciidoc
Line 482 in 8284229
This currently differs from DX as it says that we always store attributes, even for triangle hits, is this intentional?
The DX SER doc says:
Originally posted by @Flakebi in #368 (comment)