Repository navigation
Fix detection of builtin UDT DXR struct types - #7452
Conversation
Built-in DXR struct types RayDesc and BuiltInTriangleIntersectionAttributes were not treated identically to other UDT types. This caused differences in intrinsic codegen when one of these types is returned. This change corrects this difference so these builtin structs are handled in the same way as other UDTs.
Gregory Roth (pow2clk)
left a comment
There was a problem hiding this comment.
I just have the one question. I indulged my curiosity and reverted the change to the behavior of IsHLSLCOpyableANnotatableRecord and it wasn't necessary to pass the test.
The key change that makes a difference was in The other change just merges two functions that are no longer different with that change - it's no longer necessary to call |
Gregory Roth (pow2clk)
left a comment
There was a problem hiding this comment.
Thanks for the clarification!
Built-in DXR struct types RayDesc and BuiltInTriangleIntersectionAttributes were not treated identically to other UDT types.
This caused differences in intrinsic codegen when one of these types is returned.
This change corrects this difference so these builtin structs are handled in the same way as other UDTs.
Fixes #7450.