[D3D12] Fix UAV binding in EDRAM clear root signature

This commit is contained in:
Triang3l 2018-11-20 21:29:04 +03:00
parent 3139e2d33b
commit b0b1e684f7
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ bool RenderTargetCache::Initialize() {
return false;
}
// Create the clear root signature (the same, but with the UAV only).
load_store_root_ranges[1].OffsetInDescriptorsFromTableStart = 0;
load_store_root_parameters[1].DescriptorTable.NumDescriptorRanges = 1;
++load_store_root_parameters[1].DescriptorTable.pDescriptorRanges;
edram_clear_root_signature_ =