| 634 | } |
| 635 | |
| 636 | void RenderContext::copyAccelerationStructure( |
| 637 | RtAccelerationStructure* dest, |
| 638 | RtAccelerationStructure* source, |
| 639 | RenderContext::RtAccelerationStructureCopyMode mode |
| 640 | ) |
| 641 | { |
| 642 | auto rtEncoder = getLowLevelData()->getRayTracingCommandEncoder(); |
| 643 | rtEncoder->copyAccelerationStructure( |
| 644 | dest->getGfxAccelerationStructure(), source->getGfxAccelerationStructure(), getGFXAcclerationStructureCopyMode(mode) |
| 645 | ); |
| 646 | mCommandsPending = true; |
| 647 | } |
| 648 | |
| 649 | gfx::IRenderCommandEncoder* RenderContext::drawCallCommon(GraphicsState* pState, ProgramVars* pVars) |
| 650 | { |
no test coverage detected