1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-18 10:52:14 +01:00

fixed shader module selection

This commit is contained in:
Unknown 2020-04-21 21:38:21 +01:00
parent 3fb61cd3a1
commit 496a89e56e

View File

@ -139,7 +139,7 @@ static uint32_t drawCommon(VkCommandBuffer commandBuffer)
if(cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)])
{
fragModule = cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)];
vertModule = cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)];
}
if(!vertModule)