[webkit-changes] [WebKit/WebKit] 0bd81e: [WebGPU] Fix -Wmissing-designated-field-initialize...

Commit Queue noreply at github.com
Sat Aug 17 16:54:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0bd81e9737fa88909716b39c87ddd56a8a1c93cf
      https://github.com/WebKit/WebKit/commit/0bd81e9737fa88909716b39c87ddd56a8a1c93cf
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WebGPU/BindGroupLayout.mm

  Log Message:
  -----------
  [WebGPU] Fix -Wmissing-designated-field-initializers warnings for upstream clang
<https://bugs.webkit.org/show_bug.cgi?id=278276>
<rdar://134141652>

Reviewed by Mike Wyrzykowski.

Define initializers for every struct field.

* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::insertStructs):
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::Device::createBindGroupLayout):

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



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


More information about the webkit-changes mailing list