vulkan: correctly deal with custom input attribs

This commit is contained in:
niki
2023-07-08 13:23:13 +02:00
parent 5254417c63
commit 04de1ade9e
2 changed files with 20 additions and 7 deletions
-2
View File
@@ -2410,8 +2410,6 @@ void Graphics::setDefaultRenderPass()
void Graphics::setRenderPass(const RenderTargets &rts, int pixelw, int pixelh, bool hasSRGBtexture)
{
auto currentCommandBuffer = commandBuffers.at(currentFrame);
// fixme: hasSRGBtexture
RenderPassConfiguration renderPassConfiguration{};
for (const auto &color : rts.colors)