Bug 241587 - Validate descriptor when creating MTLRenderPipelineState
Summary: Validate descriptor when creating MTLRenderPipelineState
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Intel) macOS 12
: P2 Major
Assignee: Dan Glastonbury
Keywords: InRadar
Depends on:
Reported: 2022-06-13 23:03 PDT by Dan Glastonbury
Modified: 2022-06-15 21:16 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Glastonbury 2022-06-13 23:03:16 PDT
Don't pass MTLRenderPipelineDescriptor with invalid color, depth and stencil attachments to MTLDevice newRenderPipelineStateWithDescriptor:error as on HW, such as Intel HD Graphics 6000 and Intel Iris Pro, this will result in a validation assertion inside Metal framework.
Comment 1 Dan Glastonbury 2022-06-13 23:05:32 PDT
Comment 2 Dan Glastonbury 2022-06-13 23:17:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1494
Comment 3 EWS 2022-06-15 21:16:51 PDT
Committed r295583 (251588@main): <https://commits.webkit.org/251588@main>

Reviewed commits have been landed. Closing PR #1494 and removing active labels.