[GPU/D3D12] Float constant remapping fixes

This commit is contained in:
Triang3l
2018-10-01 20:15:00 +03:00
parent c4599ff211
commit 2588aab89d
3 changed files with 15 additions and 8 deletions

View File

@@ -1858,7 +1858,7 @@ bool D3D12CommandProcessor::UpdateBindings(
view_count_partial_update += texture_count;
}
// All the constants + shared memory + textures.
uint32_t view_count_full_update = 20 + texture_count;
uint32_t view_count_full_update = 6 + texture_count;
D3D12_CPU_DESCRIPTOR_HANDLE view_cpu_handle;
D3D12_GPU_DESCRIPTOR_HANDLE view_gpu_handle;
uint32_t descriptor_size_view = provider->GetViewDescriptorSize();