Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12104 from iwubcode/descriptor_sample_size_consta…
…nt_dx12

VideoBackends: update SRVDescriptorTable size in DX12 to use pixel sampler constant
  • Loading branch information
AdmiralCurtiss committed Aug 15, 2023
2 parents a446066 + 89e2fc1 commit a10d768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/D3D12/D3D12Gfx.cpp
Expand Up @@ -654,7 +654,7 @@ bool Gfx::UpdateSRVDescriptorTable()
static constexpr std::array<UINT, VideoCommon::MAX_PIXEL_SHADER_SAMPLERS> src_sizes = {
1, 1, 1, 1, 1, 1, 1, 1};
DescriptorHandle dst_base_handle;
const UINT dst_handle_sizes = 8;
const UINT dst_handle_sizes = VideoCommon::MAX_PIXEL_SHADER_SAMPLERS;
if (!g_dx_context->GetDescriptorAllocator()->Allocate(VideoCommon::MAX_PIXEL_SHADER_SAMPLERS,
&dst_base_handle))
return false;
Expand Down

0 comments on commit a10d768

Please sign in to comment.