vulkanscene, distancefieldfonts: Fix layout in descriptor set. Fixes #372
This commit is contained in:
parent
f452839b92
commit
6d760592b8
2 changed files with 2 additions and 2 deletions
|
|
@ -448,7 +448,7 @@ public:
|
|||
vks::initializers::descriptorImageInfo(
|
||||
textures.fontSDF.sampler,
|
||||
textures.fontSDF.view,
|
||||
VK_IMAGE_LAYOUT_GENERAL);
|
||||
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
|
||||
|
||||
std::vector<VkWriteDescriptorSet> writeDescriptorSets =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ public:
|
|||
vks::initializers::descriptorImageInfo(
|
||||
textures.skybox.sampler,
|
||||
textures.skybox.view,
|
||||
VK_IMAGE_LAYOUT_GENERAL);
|
||||
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
|
||||
|
||||
std::vector<VkWriteDescriptorSet> writeDescriptorSets =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue