File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ # UE4实现Bindless资源支持
2+
3+ ``` cpp
4+ RHICommandList.SetBindlessUAVs(ShaderRHI, UAVIndex,
5+ UAVCount, UAVs);
6+
7+ RHICommandList.SetBindlessSRVs(ShaderRHI, SRVIndex,
8+ SRVCount, SRVs);
9+ ```
10+
11+ Shader Model 5.1+
12+
13+ ```
14+ static constexpr uint32 ENABLE_UNBOUNDED_DESCRIPTOR_TABLES = (1 << 20);
15+
16+ D3DCompiler_47
17+ ```
18+
19+ Each bindless resource is bounded to individual RootSignature Parameter (unbound resource residents in the last range within a descriptor table).
20+
21+ DescriptorHeap and RootParameters
22+
23+ ```
24+
25+ ```
Original file line number Diff line number Diff line change 2020- [ ISPC加速遮罩光栅化] ( 9.optimization/ISPC_Masked_SoftwareOcclusion.md )
2121- [ ISPC Raymarcher] ( 9.optimization/ISPC_Raymarcher.md )
2222- ISPC加速场景结构管理和剔除
23- - [ 终极CPU/GPU混合驱动管线] ( 9.optimization/UltraCPUGPUHybridDrivenPipeline.md )
23+ - [ 终极CPU/GPU混合驱动管线] ( 9.optimization/UltraCPUGPUHybridDrivenPipeline.md )
24+ - [ 让UE4D3D12RHI支持Bindless资源] ( 9.optimization/BindlessImplementOnUE4.md )
You can’t perform that action at this time.
0 commit comments