mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
[hud] Fix incorrect array length for VS resources
This commit is contained in:
parent
1862e4dc8d
commit
c596738205
@ -159,7 +159,7 @@ namespace dxvk::hud {
|
|||||||
SpirvCodeBuffer vsCode(hud_text_vert);
|
SpirvCodeBuffer vsCode(hud_text_vert);
|
||||||
SpirvCodeBuffer fsCode(hud_text_frag);
|
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 },
|
{ 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 },
|
{ 1, VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, VK_IMAGE_VIEW_TYPE_MAX_ENUM },
|
||||||
}};
|
}};
|
||||||
|
Loading…
Reference in New Issue
Block a user