Advertisement

RTX: Shader Exports Association

Started by July 21, 2019 10:43 PM
2 comments, last by _void_ 5 years, 6 months ago

Hey guys,

 

I would like to check with you about D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION in relation to hit groups.

In the list of exports for the association are you supposed to specify the hit group name? Are you allowed to list a shader from the hit group instead of the whole group?

I am going through Introduction to DirectX Raytracing chapter from Ray Tracing Gems book and the authors seem to use always the compete hit group in the export list.

 

Thank you! 

 

 

 

You're allowed to associate subobjects with either a hit group (which you do by using the name of the hit group) or to an individual shader within a hit group. The relevant section of the spec is here

Advertisement

@MJP Excellent! Exactly what I was looking for :-)

This topic is closed to new replies.

Advertisement