Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a4a3a64946a77b55dcb090e2f8f69b79dc5dfb0
https://github.com/WebKit/WebKit/commit/4a4a3a64946a77b55dcb090e2f8f69b79dc5dfb0
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-02-03 (Tue, 03 Feb 2026)
Changed paths:
M Source/WebCore/Modules/Model/ModelInlineConverters.h
M Source/WebGPU/WebGPU/Mesh.mm
M Source/WebGPU/WebGPU/ModelBridge.swift
M Source/WebGPU/WebGPU/ModelIBLTextures.swift
M Source/WebGPU/WebGPU/ModelParameters.swift
M Source/WebGPU/WebGPU/ModelRenderer.swift
M Source/WebGPU/WebGPU/ModelTypes.h
M Source/WebGPU/WebGPU/ModelUtils.swift
M Source/WebGPU/WebGPU/USDModel.swift
Log Message:
-----------
[Model element] Enable Swift code for specific framework versions or later
https://bugs.webkit.org/show_bug.cgi?id=299471
rdar://161268032
Reviewed by Etienne Segonzac.
Use RealityCoreRenderer-6 or later instead of placeholder 9999 version
which enables URL based <model>
Add some placeholder types for the migration to non-archive shader graph
loading.
* Source/WebCore/Modules/Model/ModelInlineConverters.h:
(WebCore::convert):
* Source/WebGPU/WebGPU/Mesh.mm:
(WebModel::Mesh::updateMaterial):
* Source/WebGPU/WebGPU/ModelBridge.swift:
* Source/WebGPU/WebGPU/ModelIBLTextures.swift:
* Source/WebGPU/WebGPU/ModelParameters.swift:
* Source/WebGPU/WebGPU/ModelRenderer.swift:
* Source/WebGPU/WebGPU/ModelTypes.h:
* Source/WebGPU/WebGPU/ModelUtils.swift:
* Source/WebGPU/WebGPU/USDModel.swift:
(toSGType(_:)):
(toSGModuleReference(_:)):
(toSGTypeDefinition(_:)):
(toSGTypeReference(_:)):
(toSGStructMember(_:)):
(toSGEnumCase(_:)):
(toSGFunction(_:)):
(toSGFunctionArgument(_:)):
(toSGModuleGraph(_:)):
(toSGNode(_:)):
(toSGNodeID(_:)):
(toSGNodeInstruction(_:)):
(toSGNodeInstructionFromFunctionCall(_:)):
(toSGNodeInstructionFromFunctionConstant(_:literal:)):
(toSGNodeInstructionFromLiteral(_:)):
(toSGNodeInstructionFromArgument(_:)):
(toSGNodeInstructionFromElement(_:name:)):
(toSGLiteral(_:)):
(toSGGraphEdge(_:ShaderGraph:String:)):
(fromSGType(_:)):
(fromSGModuleReferenceArray(_:)):
(fromSGModuleReference(_:)):
(fromSGTypeDefinitionArray(_:)):
(fromSGTypeDefinition(_:)):
(fromSGTypeReference(_:)):
(fromSGStructMember(_:)):
(fromSGEnumCase(_:)):
(fromSGFunctionArray(_:)):
(fromSGFunction(_:)):
(fromSGFunctionArgument(_:)):
(fromSGModuleGraphArray(_:)):
(fromSGModuleGraph(_:)):
(fromSGNode(_:)):
(fromSGNodeID(_:)):
(fromSGNodeInstruction(_:)):
(fromSGLiteral(_:)):
(fromSGGraphEdge(_:ShaderGraph:String:)):
(Material.textureResources):
(Material.updateTexture(_:)):
(Material.updateMaterial(_:)):
(_USDStageKit_SwiftUI.instanceTransformsCompat): Deleted.
(_USDStageKit_SwiftUI.geometryBindTransformCompat): Deleted.
(_USDStageKit_SwiftUI.jointTransformsCompat): Deleted.
(_USDStageKit_SwiftUI.inverseBindPosesCompat): Deleted.
(mapSemantic(_:)): Deleted.
(Material.textureData): Deleted.
Canonical link: https://commits.webkit.org/306723@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications