WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 194458
[Web GPU] DepthStencilAttachment implementation
https://bugs.webkit.org/show_bug.cgi?id=194458
Summary
[Web GPU] DepthStencilAttachment implementation
Justin Fan
Reported
2019-02-08 15:35:46 PST
[Web GPU] DepthStencilAttachment implementation
Attachments
Patch
(60.76 KB, patch)
2019-02-08 15:57 PST
,
Justin Fan
no flags
Details
Formatted Diff
Diff
Patch
(60.94 KB, patch)
2019-02-08 16:29 PST
,
Justin Fan
no flags
Details
Formatted Diff
Diff
Patch
(71.46 KB, patch)
2019-02-11 17:56 PST
,
Justin Fan
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2
(2.47 MB, application/zip)
2019-02-11 20:46 PST
,
EWS Watchlist
no flags
Details
Patch for landing
(71.51 KB, patch)
2019-02-12 11:29 PST
,
Justin Fan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-02-08 15:36:29 PST
<
rdar://problem/47932446
>
Justin Fan
Comment 2
2019-02-08 15:57:47 PST
Created
attachment 361552
[details]
Patch
Justin Fan
Comment 3
2019-02-08 16:03:34 PST
Comment on
attachment 361552
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=361552&action=review
> Source/WebCore/Modules/webgpu/WebGPURenderPassDescriptor.cpp:36 > +Optional<GPURenderPassDescriptor> WebGPURenderPassDescriptor::validateAndConvertToGPUVersion() const
I'm moving this conversion logic here to un-clutter the create() function; if this looks good, I can do this to the similar create() functions in GPUDevice to neaten it up anywhere the descriptor conversion isn't trivial.
> Source/WebCore/Modules/webgpu/WebGPURenderPassDescriptor.h:42 > +struct WebGPURenderPassColorAttachmentDescriptor {
I'd like to do this for more IDL structs eventually (move structs that aren't used anywhere else into their parent structs' headers). It will greatly reduce the number of files floating around in our project. Let me know what you think.
Justin Fan
Comment 4
2019-02-08 16:29:11 PST
Created
attachment 361558
[details]
Patch
Dean Jackson
Comment 5
2019-02-11 14:36:51 PST
Comment on
attachment 361558
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=361558&action=review
> Source/WebCore/Modules/webgpu/WebGPURenderPassDescriptor.h:43 > +struct WebGPURenderPassColorAttachmentDescriptor { > + RefPtr<WebGPUTextureView> attachment;
Could we use GPURenderPassColorAttachmentDescriptor for the rest of this struct?
> Source/WebCore/platform/graphics/gpu/cocoa/GPURenderPassEncoderMetal.mm:50 > + }
Add ASSERT_NOT_REACHED, even though the compiler should error if this ever happens.
> Source/WebCore/platform/graphics/gpu/cocoa/GPURenderPassEncoderMetal.mm:55 > + return MTLStoreActionStore;
Add an ASSERT
Justin Fan
Comment 6
2019-02-11 17:56:50 PST
Created
attachment 361746
[details]
Patch
EWS Watchlist
Comment 7
2019-02-11 18:00:17 PST
Attachment 361746
[details]
did not pass style-queue: ERROR: Source/WebCore/Modules/webgpu/WebGPURenderPassDescriptor.cpp:38: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 32 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 8
2019-02-11 20:46:04 PST
Comment on
attachment 361746
[details]
Patch
Attachment 361746
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
https://webkit-queues.webkit.org/results/11116915
New failing tests: fast/viewport/ios/device-width-viewport-after-changing-view-scale.html
EWS Watchlist
Comment 9
2019-02-11 20:46:05 PST
Created
attachment 361761
[details]
Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Justin Fan
Comment 10
2019-02-12 11:29:42 PST
Created
attachment 361814
[details]
Patch for landing
WebKit Commit Bot
Comment 11
2019-02-12 12:11:55 PST
Comment on
attachment 361814
[details]
Patch for landing Clearing flags on attachment: 361814 Committed
r241310
: <
https://trac.webkit.org/changeset/241310
>
WebKit Commit Bot
Comment 12
2019-02-12 12:11:57 PST
All reviewed patches have been landed. Closing bug.
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