Ray tracing texturing and alpha mapping sample

This commit is contained in:
Sascha Willems 2023-04-09 13:40:12 +02:00
parent d0ad204606
commit cd6e3b9a23
2 changed files with 25 additions and 12 deletions

View file

@ -397,7 +397,12 @@ namespace vks
uint32_t alignedSize(uint32_t value, uint32_t alignment)
{
return (value + alignment - 1) & ~(alignment - 1);
}
}
size_t alignedSize(size_t value, size_t alignment)
{
return (value + alignment - 1) & ~(alignment - 1);
}
}
}