// with this operation we can test pre_rasterization, index_input and attribute_input flags;
// since this operation is executed for three buffers of different size we use diferent flags depending on the size
if (m_resource.getBuffer().size > MAX_UPDATE_BUFFER_SIZE)
- stageMask = VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR;
+ stageMask = VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR;
else
stageMask = usingIndexedDraw ? VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR
: VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR;