Updating the creation of the SBT
This commit is contained in:
parent
f476512440
commit
10637464fc
17 changed files with 477 additions and 444 deletions
|
|
@ -145,8 +145,14 @@ public:
|
|||
std::vector<VkRayTracingShaderGroupCreateInfoKHR> m_rtShaderGroups;
|
||||
VkPipelineLayout m_rtPipelineLayout;
|
||||
VkPipeline m_rtPipeline;
|
||||
nvvk::Buffer m_rtSBTBuffer;
|
||||
int m_maxFrames{10};
|
||||
|
||||
nvvk::Buffer m_rtSBTBuffer;
|
||||
VkStridedDeviceAddressRegionKHR m_rgenRegion{};
|
||||
VkStridedDeviceAddressRegionKHR m_missRegion{};
|
||||
VkStridedDeviceAddressRegionKHR m_hitRegion{};
|
||||
VkStridedDeviceAddressRegionKHR m_callRegion{};
|
||||
|
||||
int m_maxFrames{10};
|
||||
|
||||
// Push constant for ray tracer
|
||||
PushConstantRay m_pcRay{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue