mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
[Vulkan] Fix a validation error (#15946)
This commit is contained in:
parent
0c6ecc53c7
commit
bd10a88a57
@ -2161,6 +2161,7 @@ bool Pass::init_pipeline()
|
|||||||
/* Shaders */
|
/* Shaders */
|
||||||
module_info.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO;
|
module_info.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO;
|
||||||
module_info.pNext = NULL;
|
module_info.pNext = NULL;
|
||||||
|
module_info.flags = 0;
|
||||||
module_info.codeSize = vertex_shader.size() * sizeof(uint32_t);
|
module_info.codeSize = vertex_shader.size() * sizeof(uint32_t);
|
||||||
module_info.pCode = vertex_shader.data();
|
module_info.pCode = vertex_shader.data();
|
||||||
shader_stages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;
|
shader_stages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user