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

Method CreateSampler

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

Source from the content-addressed store, hash-verified

826}
827
828SamplerID Device::CreateSampler() {
829 ResourceInfo& resource = resources.emplace_back();
830 resource.type = ResourceType::SamplerState;
831 return SamplerID(ResourceID(static_cast<uint32_t>(resources.size()) - 1));
832}
833
834Device::HeapInfo &Device::GetHeapForType(ResourceType type) {
835 switch (type) {

Callers 3

CreateResourceSetMethod · 0.45
SamplerIndexOOBExecutorFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected