Revert "WebNN: refactor D3D SharedImage checks into IsSupported"

This reverts commit ddf344ee7fa5cb34de43746c81e0f3e4d0947669.

Reason for revert: WebNN tests are broken on windows.

https://ci.chromium.org/ui/p/chromium/builders/ci/Win11%20Tests%20x64/37174/overview

I ran the test with/without this revert (using UTR) and it passed/failed, confirming that this CL is the culprit.

https://ci.chromium.org/ui/inv/u-fergal-2026-01-22-02-28-00-54c0ed4f0475487a/test-results
https://ci.chromium.org/ui/inv/u-fergal-2026-01-22-02-41-00-72a3360faf2a3231/test-results

Original change's description:
> WebNN: refactor D3D SharedImage checks into IsSupported
>
> Move usage validation for buffer-backed shared images into IsSupported.
> Also, specifies alpha type to avoid spamming the logs.
>
> Bug: 345352987
> Change-Id: I2e8fadb725236da59e0098ab7771231bd2211905
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7489882
> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
> Commit-Queue: Bernhart, Bryan <bryan.bernhart@intel.com>
> Cr-Commit-Position: refs/heads/main@{#1572600}

Bug: 345352987
Change-Id: I203043634c18c324a27baafb745083431fc021e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7508864
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Fergal Daly <fergal@google.com>
Commit-Queue: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1572737}
NOKEYCHECK=True
GitOrigin-RevId: 5d704d4bdc2b5f9a17a7bc61db29973fec8e9b17
1 file changed