From b0b1e684f7d9fecbb79892d249e159c98a8f30e2 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Tue, 20 Nov 2018 21:29:04 +0300 Subject: [PATCH] [D3D12] Fix UAV binding in EDRAM clear root signature --- src/xenia/gpu/d3d12/render_target_cache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/gpu/d3d12/render_target_cache.cc b/src/xenia/gpu/d3d12/render_target_cache.cc index de1f6b091..ab9bec971 100644 --- a/src/xenia/gpu/d3d12/render_target_cache.cc +++ b/src/xenia/gpu/d3d12/render_target_cache.cc @@ -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_ =