Use the same flags for determining scratch buffer size that are used for building (as is required)
Use the same flags for determining scratch buffer size that are used for building (as is required)

chrarnoldus/VulkanRenderer,chrarnoldus/VulkanRenderer,chrarnoldus/VulkanRenderer