mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-01-30 22:52:14 +01:00
fixed shader module selection
This commit is contained in:
parent
3fb61cd3a1
commit
496a89e56e
@ -139,7 +139,7 @@ static uint32_t drawCommon(VkCommandBuffer commandBuffer)
|
|||||||
|
|
||||||
if(cb->graphicsPipeline->modules[ulog2(VK_SHADER_STAGE_VERTEX_BIT)])
|
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)
|
if(!vertModule)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user