Skip to content

Commit

Permalink
[Vulkan] Fix a validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
bslenul committed Nov 24, 2023
1 parent 3c25f19 commit 44dfa86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gfx/drivers_shader/shader_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,7 @@ bool Pass::init_pipeline()
/* Shaders */
module_info.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO;
module_info.pNext = NULL;
module_info.flags = 0;
module_info.codeSize = vertex_shader.size() * sizeof(uint32_t);
module_info.pCode = vertex_shader.data();
shader_stages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;
Expand Down

0 comments on commit 44dfa86

Please sign in to comment.