| 76 | } |
| 77 | |
| 78 | void D3D12DescriptorSet::setUav(uint32_t rangeIndex, uint32_t descIndex, const UnorderedAccessView* pUav) |
| 79 | { |
| 80 | auto type = getRange(rangeIndex).type; |
| 81 | FALCOR_CHECK( |
| 82 | type == Type::TextureUav || type == Type::RawBufferUav || type == Type::TypedBufferUav || type == Type::StructuredBufferUav, |
| 83 | "Unexpected descriptor range type in setUav()" |
| 84 | ); |
| 85 | setCpuHandle(rangeIndex, descIndex, pUav->getNativeHandle().as<D3D12_CPU_DESCRIPTOR_HANDLE>()); |
| 86 | } |
| 87 | |
| 88 | void D3D12DescriptorSet::setSampler(uint32_t rangeIndex, uint32_t descIndex, const Sampler* pSampler) |
| 89 | { |
nothing calls this directly
no test coverage detected