Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4adff5893b791c7b0fc251f8a0761670a9f02cf6
      
https://github.com/WebKit/WebKit/commit/4adff5893b791c7b0fc251f8a0761670a9f02cf6
  Author: Ruthvik Konda <[email protected]>
  Date:   2026-05-15 (Fri, 15 May 2026)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/Model/ModelBridge.swift
    M Source/WebKit/GPUProcess/graphics/Model/ModelIBLTextures.swift
    M Source/WebKit/GPUProcess/graphics/Model/ModelParameters.swift
    M Source/WebKit/GPUProcess/graphics/Model/ModelRenderer.swift
    M Source/WebKit/GPUProcess/graphics/Model/ModelUtils.swift
    M Source/WebKit/GPUProcess/graphics/Model/USDModel+Deformation.swift
    M Source/WebKit/GPUProcess/graphics/Model/USDModel.swift

  Log Message:
  -----------
  [model] Adopt public RealityCoreRenderer and ShaderGraph APIs
https://bugs.webkit.org/show_bug.cgi?id=314780
rdar://175205378

Reviewed by Mike Wyrzykowski.

RealityCoreRenderer-21 promoted its SPI types from the _Proto_*_v1 naming
convention to public API names. ShaderGraph-156 similarly promoted
_Proto_ShaderNodeGraph and its nested types to a new public ShaderGraph class.
Adopt these public names in the GPUProcess model code.

Also adopts the RCR-22 LowLevelRenderContextShaderGraph protocol for
makeShaderGraphFunctions.

Bumps the #if canImport guards to require RealityCoreRenderer 22 and
ShaderGraph 156 across all seven model files.

Leaves _Proto_* references in place for RealityCoreDeformation,
_USDKit_RealityKit, and RealityCoreTextureProcessing - those frameworks have
not yet promoted their SPIs to public API. Also leaves serialize-side
ShaderGraph helpers on _Proto_ShaderNodeGraph since USDKit's
_Proto_MaterialDataUpdate_v1.shaderGraph still returns the old type.
Follow-up work will migrate each family as those frameworks complete their
API promotions.

* Source/WebKit/GPUProcess/graphics/Model/ModelBridge.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelIBLTextures.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelParameters.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelRenderer.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelUtils.swift:
* Source/WebKit/GPUProcess/graphics/Model/USDModel+Deformation.swift:
* Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:
(textureCoordinate(from:)):
(ShaderGraph.fromWKDescriptor(_:)):
(fromWKBridgeDataType(_:)):
(fromWKBridgeConstant(_:)):

Canonical link: https://commits.webkit.org/313327@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to