VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
|
Functions | |
template<typename T > | |
VkDeviceSize | alignmentSB (T &bach, VkDeviceSize size, VkDeviceSize _alignment=0) |
template<typename T > | |
void | appendAlignScalar (T &bach, VkDeviceSize size, int expect=-1) |
template<typename T > | |
void | setAlignScalar (T &bach) |
VkDeviceSize DescUniform::alignmentSB | ( | T & | bach, |
VkDeviceSize | size, | ||
VkDeviceSize | _alignment = 0 |
||
) |
MIN
MAX VkDeviceSize tboSize = limits.maxStorageBufferRange; const VkDeviceSize structMax = VkDeviceSize(tboSize) * structSize; _maxStructChunk = __min(structMax, maxChunk);
Definition at line 275 of file incomplete.h.
void DescUniform::appendAlignScalar | ( | T & | bach, |
VkDeviceSize | size, | ||
int | expect = -1 |
||
) |
Definition at line 296 of file incomplete.h.
void DescUniform::setAlignScalar | ( | T & | bach | ) |
Definition at line 310 of file incomplete.h.