danielmm8888 / TF2Classic

A repo containing the source code for Team Fortress 2 Classic
Other
40 stars 15 forks source link

Incorrect usage of pResolveAttachments #279

Closed PistonMiner closed 7 years ago

PistonMiner commented 7 years ago

In the multisampling example right here, it uses differing a size for pResolveAttachments that differs from colorAttachmentCount (with resolveReferences being an std::array of size 2). This is covered in the Vulkan specification under VkSubpassDescription in the (renderpass section).

pResolveAttachments is NULL or an array of colorAttachmentCount VkAttachmentReference structures [...]

PistonMiner commented 7 years ago

Wow I'm retarded, wrong bloody repo