1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 07:08:50 +01:00

[hud] Fix incorrect array length for VS resources

This commit is contained in:
Philip Rebohle 2022-06-02 19:44:14 +02:00
parent 1862e4dc8d
commit c596738205
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -159,7 +159,7 @@ namespace dxvk::hud {
SpirvCodeBuffer vsCode(hud_text_vert);
SpirvCodeBuffer fsCode(hud_text_frag);
const std::array<DxvkResourceSlot, 3> vsResources = {{
const std::array<DxvkResourceSlot, 2> vsResources = {{
{ 0, VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, VK_IMAGE_VIEW_TYPE_MAX_ENUM },
{ 1, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_IMAGE_VIEW_TYPE_MAX_ENUM },
}};