[webkit-changes] [WebKit/WebKit] 1d013d: [WGSL] Bit shift operators are missing abstract ov...

Tadeu Zagallo noreply at github.com
Thu Nov 9 01:23:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1d013da1493025f798602e60734a2f44644dca82
      https://github.com/WebKit/WebKit/commit/1d013da1493025f798602e60734a2f44644dca82
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h
    M Source/WebGPU/WGSL/TypeDeclarations.rb
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] Bit shift operators are missing abstract overloads
https://bugs.webkit.org/show_bug.cgi?id=264428
rdar://118129463

Reviewed by Mike Wyrzykowski.

When writing the declaration for shift left and right, I missed that there is a
separate overload for abstract integers. Add the missing overload and constant
evaluation.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list