Pass image usage bits
This commit is contained in:
parent
08394eae30
commit
e13f7c6e12
1 changed files with 3 additions and 1 deletions
|
|
@ -184,7 +184,9 @@ public:
|
|||
textureLoader->loadTexture(
|
||||
"./../data/textures/igor_and_pal_rgba.ktx",
|
||||
VK_FORMAT_R8G8B8A8_UNORM,
|
||||
&textureColorMap);
|
||||
&textureColorMap,
|
||||
false,
|
||||
VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_STORAGE_BIT);
|
||||
}
|
||||
|
||||
void buildCommandBuffers()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue