[webkit-changes] [WebKit/WebKit] be5965: [WebGPU] api, validation, layout_shader_compat, * is ...

mwyrzykowski noreply at github.com
Mon Jan 29 08:47:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be59659f9a02c8e4267ed6c1ef532645ad3aa606
      https://github.com/WebKit/WebKit/commit/be59659f9a02c8e4267ed6c1ef532645ad3aa606
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/api/operation/command_buffer/programmable/state_tracking.spec.js
    M LayoutTests/http/tests/webgpu/webgpu/api/validation/layout_shader_compat-expected.txt
    M LayoutTests/http/tests/webgpu/webgpu/api/validation/layout_shader_compat.spec.js
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp

  Log Message:
  -----------
  [WebGPU] api,validation,layout_shader_compat,* is failing
https://bugs.webkit.org/show_bug.cgi?id=267278
<radar://120725330>

Reviewed by Dan Glastonbury.

Add validation, passing expectations, and update the CTS test for layout_shader_compat.

* LayoutTests/http/tests/webgpu/webgpu/api/validation/layout_shader_compat-expected.txt:
* LayoutTests/http/tests/webgpu/webgpu/api/validation/layout_shader_compat.spec.js:
* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::addressSpaceForBindingMember):
(WGSL::accessModeForBindingMember):
(WGSL::bindingTypeForPrimitive):
(WGSL::bindingTypeForType):
(WGSL::isBuffer):
(WGSL::isSampler):
(WGSL::isTexture):
(WGSL::isStorageTexture):
(WGSL::isExternalTexture):
(WGSL::typesMatch):
(WGSL::variableAndEntryMatch):
(WGSL::RewriteGlobalVariables::insertStructs):

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




More information about the webkit-changes mailing list