We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db24ed4 commit 4b02c9bCopy full SHA for 4b02c9b
drivers/metal/rendering_device_driver_metal.mm
@@ -3112,7 +3112,7 @@ bool isArrayTexture(MTLTextureType p_type) {
3112
NSArray<MTLFunctionConstant *> *constants = function.functionConstantsDictionary.allValues;
3113
bool is_sorted = true;
3114
for (uint32_t i = 1; i < constants.count; i++) {
3115
- if (constants[i - 1].index < constants[i].index) {
+ if (constants[i - 1].index > constants[i].index) {
3116
is_sorted = false;
3117
break;
3118
}
0 commit comments