Experimental shared memory texture handling
This commit is contained in:
@@ -202,7 +202,7 @@ namespace OpenVulkano::Vulkan
|
||||
|
||||
bool Device::GetMemoryType(uint32_t typeBits, const vk::MemoryPropertyFlags& properties, uint32_t* typeIndex) const
|
||||
{
|
||||
for (uint32_t i = 0; i < 32; i++)
|
||||
for (uint32_t i = 0; i < 32 && typeBits; i++)
|
||||
{
|
||||
if ((typeBits & 1) == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user