Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76a4fde7b09f29a5a20ac9045d978094ef37ac18
      
https://github.com/WebKit/WebKit/commit/76a4fde7b09f29a5a20ac9045d978094ef37ac18
  Author: Tadeu Zagallo <tzaga...@apple.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/tests/valid/fragment-output.wgsl

  Log Message:
  -----------
  [WebGPU] Support writing @builtin(frag_depth) from the fragment shader
https://bugs.webkit.org/show_bug.cgi?id=252452
rdar://105578867

Reviewed by Mike Wyrzykowski.

During code generation we were skipping serialization of builtins for fragment
output struct members.

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/fragment-output.wgsl:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to