WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
211303
WebGPU: copyTextureToTexture() has an implementation bug (src copy view info is used also as dst)
https://bugs.webkit.org/show_bug.cgi?id=211303
Summary
WebGPU: copyTextureToTexture() has an implementation bug (src copy view info ...
gvinals
Reported
2020-05-01 10:44:35 PDT
Summary: WebGPU: copyTextureToTexture() has an implementation bug (src copy view info is used also as dst). See: GPUCommandBufferMetal.mm#214,217 [blitEncoder() copyFromTexture:src.texture->platformTexture() sourceSlice:src.arrayLayer sourceLevel:src.mipLevel sourceOrigin:MTLOriginMake(src.origin.x, src.origin.y, src.origin.z) sourceSize:MTLSizeMake(size.width, size.height, size.depth) toTexture:dst.texture->platformTexture() destinationSlice:src.arrayLayer destinationLevel:src.mipLevel destinationOrigin:MTLOriginMake(dst.origin.x, dst.origin.y, dst.origin.z)]; In particular: destinationSlice:src.arrayLayer destinationLevel:src.mipLevel Should be: destinationSlice:dst.arrayLayer destinationLevel:dst.mipLevel
Attachments
Patch
(10.70 KB, patch)
2020-05-02 18:49 PDT
,
gvinals
dbates
: review+
Details
Formatted Diff
Diff
Patch for committing
(10.77 KB, patch)
2020-05-04 10:13 PDT
,
gvinals
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
gvinals
Comment 1
2020-05-01 10:47:04 PDT
<
rdar://problem/62266037
>
gvinals
Comment 2
2020-05-02 18:49:05 PDT
Created
attachment 398302
[details]
Patch
Daniel Bates
Comment 3
2020-05-03 12:14:48 PDT
Comment on
attachment 398302
[details]
Patch Patch looks good.
gvinals
Comment 4
2020-05-04 10:13:41 PDT
Created
attachment 398385
[details]
Patch for committing
EWS
Comment 5
2020-05-04 10:14:51 PDT
gvinals@apple.com
does not have committer permissions according to
https://trac.webkit.org/browser/webkit/trunk/Tools/Scripts/webkitpy/common/config/contributors.json
. Rejecting
attachment 398385
[details]
from commit queue.
EWS
Comment 6
2020-05-04 11:00:46 PDT
Committed
r261089
: <
https://trac.webkit.org/changeset/261089
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 398385
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug