New webgpu pixel test that uses pixel storage in compute [chromium/src : main]

0 views
Skip to first unread message

Peter McNeeley (Gerrit)

unread,
Oct 18, 2025, 11:43:21 AM (2 days ago) Oct 18
to Chromium LUCI CQ, chromium...@chromium.org

Peter McNeeley added 1 comment

File content/test/gpu/gpu_tests/pixel_test_pages.py
Line 765, Patchset 1: base_name + '_WebGPUCanvas2DDrawImage',
Peter McNeeley . resolved

you forgot to rename!!!

Peter McNeeley

Done

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
Gerrit-Change-Number: 7055007
Gerrit-PatchSet: 4
Gerrit-Owner: Peter McNeeley <peterm...@google.com>
Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
Gerrit-Comment-Date: Sat, 18 Oct 2025 15:43:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Peter McNeeley <peterm...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Vasiliy Telezhnikov (Gerrit)

unread,
11:05 AM (9 hours ago) 11:05 AM
to Peter McNeeley, Kai Ninomiya, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Kai Ninomiya and Peter McNeeley

Vasiliy Telezhnikov voted and added 1 comment

Votes added by Vasiliy Telezhnikov

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Vasiliy Telezhnikov . resolved

lgtm, thanks.

Open in Gerrit

Related details

Attention is currently required from:
  • Kai Ninomiya
  • Peter McNeeley
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
    Gerrit-Change-Number: 7055007
    Gerrit-PatchSet: 7
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Peter McNeeley <peterm...@google.com>
    Gerrit-Attention: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Comment-Date: Mon, 20 Oct 2025 15:05:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kai Ninomiya (Gerrit)

    unread,
    3:59 PM (4 hours ago) 3:59 PM
    to Peter McNeeley, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Peter McNeeley

    Kai Ninomiya voted and added 2 comments

    Votes added by Kai Ninomiya

    Code-Review+1

    2 comments

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 45, Patchset 7 (Latest): // This is either 'rgba8unorm' (android) or 'bgra8unorm' on mac
    Kai Ninomiya . unresolved

    nit: mac and most or all other platforms

    Line 48, Patchset 7 (Latest): // Only if we neeed bgra do we need to request the feature
    Kai Ninomiya . unresolved

    I didn't think this feature would be available on all bgra8unorm platforms we test, but I guess it is?

    Test could just use rgba8unorm to be safe but up to you since apparently this works in practice.

    (however for CTS reftests we would want to always use rgba8unorm, or have coverage for both)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Peter McNeeley
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
    Gerrit-Change-Number: 7055007
    Gerrit-PatchSet: 7
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Peter McNeeley <peterm...@google.com>
    Gerrit-Comment-Date: Mon, 20 Oct 2025 19:59:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter McNeeley (Gerrit)

    unread,
    4:07 PM (4 hours ago) 4:07 PM
    to Kai Ninomiya, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Kai Ninomiya

    Peter McNeeley added 1 comment

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 45, Patchset 7 (Latest): // This is either 'rgba8unorm' (android) or 'bgra8unorm' on mac
    Kai Ninomiya . unresolved

    nit: mac and most or all other platforms

    Peter McNeeley

    I am about to change linux 😊
    So i just left it as the the things that we know for sure.
    I am also not certain where d3d really falls here.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kai Ninomiya
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
    Gerrit-Change-Number: 7055007
    Gerrit-PatchSet: 7
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Comment-Date: Mon, 20 Oct 2025 20:07:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Kai Ninomiya <kai...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter McNeeley (Gerrit)

    unread,
    4:09 PM (4 hours ago) 4:09 PM
    to Kai Ninomiya, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Kai Ninomiya

    Peter McNeeley added 1 comment

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 48, Patchset 7 (Latest): // Only if we neeed bgra do we need to request the feature
    Kai Ninomiya . unresolved

    I didn't think this feature would be available on all bgra8unorm platforms we test, but I guess it is?

    Test could just use rgba8unorm to be safe but up to you since apparently this works in practice.

    (however for CTS reftests we would want to always use rgba8unorm, or have coverage for both)

    Peter McNeeley

    The test asks for the preferred canvas format. This should be RGBA for Android and in the future linux. Everywhere else we need this feature for this test to work.

    Gerrit-Comment-Date: Mon, 20 Oct 2025 20:09:24 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kai Ninomiya (Gerrit)

    unread,
    4:18 PM (4 hours ago) 4:18 PM
    to Peter McNeeley, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Peter McNeeley

    Kai Ninomiya added 2 comments

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 45, Patchset 7 (Latest): // This is either 'rgba8unorm' (android) or 'bgra8unorm' on mac
    Kai Ninomiya . resolved

    nit: mac and most or all other platforms

    Peter McNeeley

    I am about to change linux 😊
    So i just left it as the the things that we know for sure.
    I am also not certain where d3d really falls here.

    Kai Ninomiya

    Acknowledged

    Line 48, Patchset 7 (Latest): // Only if we neeed bgra do we need to request the feature
    Kai Ninomiya . unresolved

    I didn't think this feature would be available on all bgra8unorm platforms we test, but I guess it is?

    Test could just use rgba8unorm to be safe but up to you since apparently this works in practice.

    (however for CTS reftests we would want to always use rgba8unorm, or have coverage for both)

    Peter McNeeley

    The test asks for the preferred canvas format. This should be RGBA for Android and in the future linux. Everywhere else we need this feature for this test to work.

    Kai Ninomiya

    Right, I'm suggesting that the test could just use `rgba8unorm` instead of the preferred format. That's always allowed (and always supports storage), just maybe less efficient. It's the simplest way to use storage to write to a canvas on all platforms without any conditionals.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Peter McNeeley
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
    Gerrit-Change-Number: 7055007
    Gerrit-PatchSet: 7
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Peter McNeeley <peterm...@google.com>
    Gerrit-Comment-Date: Mon, 20 Oct 2025 20:18:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Peter McNeeley <peterm...@google.com>
    Comment-In-Reply-To: Kai Ninomiya <kai...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter McNeeley (Gerrit)

    unread,
    4:19 PM (4 hours ago) 4:19 PM
    to Kai Ninomiya, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Kai Ninomiya

    Peter McNeeley added 1 comment

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 48, Patchset 7 (Latest): // Only if we neeed bgra do we need to request the feature
    Kai Ninomiya . unresolved

    I didn't think this feature would be available on all bgra8unorm platforms we test, but I guess it is?

    Test could just use rgba8unorm to be safe but up to you since apparently this works in practice.

    (however for CTS reftests we would want to always use rgba8unorm, or have coverage for both)

    Peter McNeeley

    The test asks for the preferred canvas format. This should be RGBA for Android and in the future linux. Everywhere else we need this feature for this test to work.

    Kai Ninomiya

    Right, I'm suggesting that the test could just use `rgba8unorm` instead of the preferred format. That's always allowed (and always supports storage), just maybe less efficient. It's the simplest way to use storage to write to a canvas on all platforms without any conditionals.

    Peter McNeeley

    Ah yes I didnt think about that? I think you are correct that this could be better.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kai Ninomiya
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
    Gerrit-Change-Number: 7055007
    Gerrit-PatchSet: 7
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Kai Ninomiya <kai...@chromium.org>
    Gerrit-Comment-Date: Mon, 20 Oct 2025 20:19:16 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter McNeeley (Gerrit)

    unread,
    4:30 PM (3 hours ago) 4:30 PM
    to Kai Ninomiya, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Kai Ninomiya

    Peter McNeeley added 1 comment

    File content/test/data/gpu/pixel_webgpu_texture_storage.html
    Line 48, Patchset 7 (Latest): // Only if we neeed bgra do we need to request the feature
    Kai Ninomiya . resolved

    I didn't think this feature would be available on all bgra8unorm platforms we test, but I guess it is?

    Test could just use rgba8unorm to be safe but up to you since apparently this works in practice.

    (however for CTS reftests we would want to always use rgba8unorm, or have coverage for both)

    Peter McNeeley

    The test asks for the preferred canvas format. This should be RGBA for Android and in the future linux. Everywhere else we need this feature for this test to work.

    Kai Ninomiya

    Right, I'm suggesting that the test could just use `rgba8unorm` instead of the preferred format. That's always allowed (and always supports storage), just maybe less efficient. It's the simplest way to use storage to write to a canvas on all platforms without any conditionals.

    Peter McNeeley

    Ah yes I didnt think about that? I think you are correct that this could be better.

    Peter McNeeley

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kai Ninomiya
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
      Gerrit-Change-Number: 7055007
      Gerrit-PatchSet: 7
      Gerrit-Owner: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
      Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Kai Ninomiya <kai...@chromium.org>
      Gerrit-Comment-Date: Mon, 20 Oct 2025 20:30:04 +0000
      satisfied_requirement
      open
      diffy

      Kai Ninomiya (Gerrit)

      unread,
      4:32 PM (3 hours ago) 4:32 PM
      to Peter McNeeley, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org
      Attention needed from Peter McNeeley

      Kai Ninomiya voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Peter McNeeley
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
      Gerrit-Change-Number: 7055007
      Gerrit-PatchSet: 8
      Gerrit-Owner: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
      Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Peter McNeeley <peterm...@google.com>
      Gerrit-Comment-Date: Mon, 20 Oct 2025 20:32:10 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Peter McNeeley (Gerrit)

      unread,
      4:32 PM (3 hours ago) 4:32 PM
      to Kai Ninomiya, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org

      Peter McNeeley voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
      Gerrit-Change-Number: 7055007
      Gerrit-PatchSet: 8
      Gerrit-Owner: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
      Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Comment-Date: Mon, 20 Oct 2025 20:32:36 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      6:46 PM (1 hour ago) 6:46 PM
      to Peter McNeeley, Kai Ninomiya, Vasiliy Telezhnikov, chromium...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      New webgpu pixel test that uses pixel storage in compute

      This pixel test acts as a 'smoke test' for WebGPU compute
      Bug: 447307177
      Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
      Commit-Queue: Peter McNeeley <peterm...@google.com>
      Reviewed-by: Vasiliy Telezhnikov <vas...@chromium.org>
      Reviewed-by: Kai Ninomiya <kai...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1532591}
      Files:
      • M content/test/content_test_bundle_data.filelist
      • A content/test/data/gpu/pixel_webgpu_texture_storage.html
      • M content/test/gpu/gpu_tests/pixel_test_pages.py
      Change size: M
      Delta: 3 files changed, 136 insertions(+), 0 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Kai Ninomiya, +1 by Vasiliy Telezhnikov
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I31ed868fe0fa758d4a7b40f947147e488039e34b
      Gerrit-Change-Number: 7055007
      Gerrit-PatchSet: 9
      Gerrit-Owner: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Kai Ninomiya <kai...@chromium.org>
      Gerrit-Reviewer: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages