MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / BindPipeline

Method BindPipeline

Source/Backends/DX12/TestDevice/Source/Device.cpp:717–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void Device::BindPipeline(CommandBufferID commandBuffer, PipelineID pipeline) {
718 CommandBufferInfo& info = commandBuffers.at(commandBuffer);
719
720 // Get pipeline
721 const PipelineInfo& pipelineInfo = pipelines[pipeline];
722
723 // Set states
724 info.commandList->SetComputeRootSignature(pipelineInfo.rootSignature.Get());
725 info.commandList->SetPipelineState(pipelineInfo.pipeline.Get());
726}
727
728void Device::BindResourceSet(CommandBufferID commandBuffer, uint32_t slot, ResourceSetID resourceSet) {
729 CommandBufferInfo& info = commandBuffers.at(commandBuffer);

Callers 2

SamplerIndexOOBExecutorFunction · 0.45
TextureIndexOOBExecutorFunction · 0.45

Calls 2

GetMethod · 0.45

Tested by

no test coverage detected