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
Avoid binding descriptor sets for layouts without that set
Avoids disturbing necessary descriptor sets while still avoiding the need for full layout compatibility checks.
This is achieved with a basic vector<bool> saying which sets a pipeline layout has and doesn't have, so layouts it doesn't have won't be bound.
This could mean different sets are bound than if a full compatibility check was done, but that should only happen when the scenegraph requested invalid API usage - there should only be one BindDescriptorSet for each slot at the top of the state stacks, and if it's for a slot the current pipeline layout needs, it must be compatible.
Therefore, we only need to worry about compatibility checks for slots the current pipeline layout doesn't use.
0 commit comments