Bug 229989 - WebGL scissor drawing results have changed in iOS 15 beta
Summary: WebGL scissor drawing results have changed in iOS 15 beta
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Safari Technology Preview
Hardware: iPhone / iPad Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-07 02:53 PDT by Takuya Yamazaki
Modified: 2021-10-01 06:50 PDT (History)
6 users (show)

See Also:


Attachments
test case to observe gl.scissor(0,0,0,0); appers to work (385 bytes, text/html)
2021-09-09 06:37 PDT, Kimmo Kinnunen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takuya Yamazaki 2021-09-07 02:53:27 PDT
In WebGLRenderingContext.scissor(), the drawing result when width or height are set to 0 has changed from iOS15.

Until iOS14: Nothing is drawn
From iOS15: All drawn
Comment 1 Kenneth Russell 2021-09-07 16:24:08 PDT
Sounds like a potential regression in
Comment 2 Kenneth Russell 2021-09-07 16:24:42 PDT
(oops, didn't mean to press "enter")

Sounds like a potential regression in ANGLE's Metal backend. Is this tested in the conformance suite?
Comment 3 Kimmo Kinnunen 2021-09-09 06:37:17 PDT
Created attachment 437740 [details]
test case to observe     gl.scissor(0,0,0,0); appers to work
Comment 4 Kimmo Kinnunen 2021-09-09 06:38:10 PDT
Cannot reproduce the problem with brief tests.
Takuya Yamazaki, would you be able to upload a reproduction test case for the problem?
Comment 5 Radar WebKit Bug Importer 2021-09-14 02:54:23 PDT
<rdar://problem/83095006>
Comment 6 Kimmo Kinnunen 2021-10-01 06:50:33 PDT
To the original reporter:
If you are using preserveDrawingBuffer: true, then you might try if setting that to false affects the result. If so, then this would be related to bug 230618