Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 207014e9bc0ae60ec6376ffbd4cfe017b32ac621
      
https://github.com/WebKit/WebKit/commit/207014e9bc0ae60ec6376ffbd4cfe017b32ac621
  Author: Tadeu Zagallo <[email protected]>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M Source/WebGPU/WGSL/BoundsCheck.cpp
    M Source/WebGPU/WGSL/tests/valid/runtime-sized-array-resource.wgsl

  Log Message:
  -----------
  [WGSL] Bounds checking needs to handle pointers
https://bugs.webkit.org/show_bug.cgi?id=272477
rdar://126210788

Reviewed by Mike Wyrzykowski.

Originally only array references could be used as the base for an index access,
but the spec was updated to support using pointers as well, but the code for
bounds check insertion wasn't updated.

* Source/WebGPU/WGSL/BoundsCheck.cpp:
(WGSL::BoundsCheckVisitor::visit):
* Source/WebGPU/WGSL/tests/valid/runtime-sized-array-resource.wgsl:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to