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
//! Checks if `this` and `_other` are compatible for set `_setNum`. See https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#descriptorsets-compatibility for compatiblity rules.
117
-
/**
118
-
@returns Max value of `_setNum` for which the two pipeline layouts are compatible or -1 if they're not compatible at all.
if (!_setNum || (_setNum >= DESCRIPTOR_SET_COUNT)) //vulkan would also care about push constant ranges compatibility here
123
-
return -1;
118
+
returntrue;
119
+
}
124
120
125
-
uint32_t i = 0u;
126
-
for (; i <=_setNum; i++)
121
+
//! Checks if `this` and `_other` are compatible for set `_setNum`. See https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#descriptorsets-compatibility for compatiblity rules.
122
+
/**
123
+
@returns Max value of `_setNum` for which the two pipeline layouts are compatible or -1 if they're not compatible at all.
0 commit comments