mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Ensure specialization constants come sorted from reflection
This commit is contained in:
@@ -265,6 +265,8 @@ Error RenderingDeviceDriver::_reflect_spirv(VectorView<ShaderStageSPIRVData> p_s
|
||||
r_reflection.specialization_constants.push_back(sconst);
|
||||
}
|
||||
}
|
||||
|
||||
r_reflection.specialization_constants.sort();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user