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

Metal: Stable argument buffers; GPU rendering crashes; visionOS exports

Supersedes #110683
This commit is contained in:
Stuart Carnie
2025-10-24 11:03:44 +11:00
parent ab6c6eece8
commit 97c17aedc7
24 changed files with 2635 additions and 2082 deletions

View File

@@ -44,7 +44,9 @@ uint32_t RenderingShaderContainerVulkan::_format_version() const {
return FORMAT_VERSION;
}
bool RenderingShaderContainerVulkan::_set_code_from_spirv(Span<ReflectedShaderStage> p_spirv) {
bool RenderingShaderContainerVulkan::_set_code_from_spirv(const ReflectShader &p_shader) {
const LocalVector<ReflectShaderStage> &p_spirv = p_shader.shader_stages;
PackedByteArray code_bytes;
shaders.resize(p_spirv.size());
for (uint64_t i = 0; i < p_spirv.size(); i++) {