893889b0bb
The validation of CopyTextureForBrwoser() fails to valid src and dst texture state. And a bug has been caught by cts webgpu:api,validation,queue,copyToTexture,CopyExternalImageToTexture:destination_texture,state:* after changing CopyExternalImageToTexture() to use CopyTextureForBroswer() to upload CPU resource. The CL fix this. Bug: dawn:1306 Change-Id: Ie4cfd174dc9f54f6cf2099226c4e1cc00ed1d446 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/80900 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> |
||
---|---|---|
.. | ||
dawn | ||
dawn_native | ||
dawn_platform | ||
dawn_wire | ||
fuzzers/dawn | ||
include | ||
Dummy.cpp |