WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
202438
Rendering to 1X1 framebuffer fails
https://bugs.webkit.org/show_bug.cgi?id=202438
Summary
Rendering to 1X1 framebuffer fails
AKP
Reported
2019-10-01 16:24:01 PDT
1. On an iOS device, launch Safari and go to
https://bl.ocks.org/1chandu/58c2f58b95a1975120b373eb57bfea9a
2. Connect your device to mac and check the browser console (using mac Safari Developer menu), should see 'TEST PASSED' log. Corresponding gist:
https://gist.github.com/1chandu/58c2f58b95a1975120b373eb57bfea9a
I am creating a 1X1 (width and height equal 1) RGBA (UNSIGNED_BYTE) texture and rendering few GL.POINT primitives to render to same 1 pixel. Before rendering I clear it with (0, 0, 0) color and render (255, 255, 255) for all points. Then perform readPixels to verify the value of the single pixel color. Expected: (255, 255, 255), instead I see (0, 0, 0)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-10-02 13:24:33 PDT
<
rdar://problem/55921796
>
AKP
Comment 2
2019-10-16 10:44:57 PDT
The bug is resolved, when I set the `gl_PointSize` to 1.0 explictly in my vertex shader.
Kimmo Kinnunen
Comment 3
2024-01-17 01:40:43 PST
Current metal backend works with gl_PointSize unassigned
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