Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed1cf383755cba87e2387452aa850a3a7a55b7e1
      
https://github.com/WebKit/WebKit/commit/ed1cf383755cba87e2387452aa850a3a7a55b7e1
  Author: Tadeu Zagallo <[email protected]>
  Date:   2026-06-07 (Sun, 07 Jun 2026)

  Changed paths:
    M 
LayoutTests/http/tests/webgpu/webgpu/shader/execution/expression/binary/bitwise_shift-expected.txt
    M 
LayoutTests/http/tests/webgpu/webgpu/shader/validation/expression/binary/bitwise_shift-expected.txt
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebGPU/WGSL/ConstantFunctions.h
    M Source/WebGPU/WGSL/TypeDeclarations.rb

  Log Message:
  -----------
  [WebGPU] shader,validation,expression,binary,bitwise_shift:* is failing
https://bugs.webkit.org/show_bug.cgi?id=316336
rdar://178754576

Reviewed by Mike Wyrzykowski.

Add a validation function to check if the shift amount exceeds the bit width
when it's an override value.

* 
LayoutTests/http/tests/webgpu/webgpu/shader/validation/expression/binary/bitwise_shift-expected.txt:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
(WGSL::shiftAmountExceedsBitWidth):
(WGSL::VALIDATION_FUNCTION):
* Source/WebGPU/WGSL/TypeDeclarations.rb:

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



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

Reply via email to