[webkit-changes] [WebKit/WebKit] 57c5d0: [WebGPU] Limit extractBits and insertBits to 31 bits

mwyrzykowski noreply at github.com
Fri Feb 28 13:25:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57c5d03d5d50137800c4f98ed1939e081cfdb0e3
      https://github.com/WebKit/WebKit/commit/57c5d03d5d50137800c4f98ed1939e081cfdb0e3
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp

  Log Message:
  -----------
  [WebGPU] Limit extractBits and insertBits to 31 bits
https://bugs.webkit.org/show_bug.cgi?id=288811
rdar://145822895

Reviewed by Cameron McCormack.

Offset of 32 bits would do nothing, since number of bits is zero
in both cases.

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::emitNecessaryHelpers):

Canonical link: https://commits.webkit.org/291366@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