chaoticbob/tinyrenderers

Vulkan barrier stages are wrong

Themaister opened this issue · 1 comments

BOTTOM_OF_PIPE/TOP_OF_PIPE are used with srcAccessMask/dstAccessMask != 0. These stages do not access memory, so any memory barrier on these stages is wrong. ALL_COMMANDS_BIT -> ALL_COMMANDS_BIT would accomplish the same thing.

I've made the suggested change.