You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seem like the framework ignores that set order is important during the vkCreatePipelineLayout call so that the sets are in the correct order. It adds the sets in the semi random order that exists in descriptor_set_layouts. A fix for this can be to change
for (int setNr=0; setNr<4; setNr++)
{
if (descriptor_set_layouts[setNr] != nullptr)
descriptor_set_layout_handles[setNr] = descriptor_set_layouts[setNr]->get_handle();
}
in pipeline_layout.cpp
The change above assumes you use all sets in sequence. If there is holes in the sets like you dont use set 0 the framework should inject a empty set layout.
The text was updated successfully, but these errors were encountered:
Seem like the framework ignores that set order is important during the vkCreatePipelineLayout call so that the sets are in the correct order. It adds the sets in the semi random order that exists in descriptor_set_layouts. A fix for this can be to change
to something like
in pipeline_layout.cpp
The change above assumes you use all sets in sequence. If there is holes in the sets like you dont use set 0 the framework should inject a empty set layout.
The text was updated successfully, but these errors were encountered: