1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Ensure specialization constants come sorted from reflection

This commit is contained in:
Pedro J. Estébanez
2024-03-12 14:42:01 +01:00
parent b18942d429
commit 49625beac2
2 changed files with 4 additions and 0 deletions

View File

@@ -265,6 +265,8 @@ Error RenderingDeviceDriver::_reflect_spirv(VectorView<ShaderStageSPIRVData> p_s
r_reflection.specialization_constants.push_back(sconst);
}
}
r_reflection.specialization_constants.sort();
}
}