Skip to content

fix/292-gles : Fix dead frame#215

Closed
lkmavi wants to merge 3 commits into
gogpu:mainfrom
lkmavi:fix/292-gles-dead-frame
Closed

fix/292-gles : Fix dead frame#215
lkmavi wants to merge 3 commits into
gogpu:mainfrom
lkmavi:fix/292-gles-dead-frame

Conversation

@lkmavi

@lkmavi lkmavi commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@lkmavi lkmavi requested a review from kolkov as a code owner June 8, 2026 14:45
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

lkmavi pushed a commit to lkmavi/wgpu that referenced this pull request Jun 14, 2026
…land fixes (v0.29.13)

Enterprise GLES parity for Linux:
- GLSL version propagation from driver (no more hardcoded #version 430)
- Runtime binding fallback for GL <4.2 (assignBindingsAfterLink)
- MSAA sample count validation + glGetError after texture alloc
- GLES-aware GL function loading (glClearDepthf, OES suffixes)
- Lazy VAO creation in CreateCommandEncoder (after Configure)
- Compute dispatch VERTEX_ATTRIB_ARRAY_BARRIER_BIT (@lkmavi PR gogpu#215)
- Tiered EGL config WindowBit-only for Wayland
- Skip Wayland instance context (prevent second wl_display)
- GLES 3.0 fallback in CreateSurface (@lkmavi PR gogpu#215)
- CoreProfile guard for GLES contexts (@lkmavi PR gogpu#215)
- naga v0.17.14 (SupportsExplicitLocations, UniformInfo reflection)

Verified: triangle renders on GLES WSL2 Wayland GL 4.1.
lkmavi pushed a commit to lkmavi/wgpu that referenced this pull request Jun 14, 2026
device_linux.go CreateRenderPipeline did not store desc.Vertex.Buffers
in pipeline struct. Windows device.go had it. Without vertex buffer
layout, vertex attributes never configured → geometry discarded.

One-line fix enables full gg rendering (SDF shapes, text, widgets)
on GLES Linux. Found by @lkmavi (PR gogpu#215).
@kolkov

kolkov commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Closing this PR — all key findings have been integrated into v0.29.13–v0.29.14:

  • VERTEX_ATTRIB_ARRAY_BARRIER_BIT — v0.29.13 (command.go)
  • GLES 3.0 fallback for Wayland — v0.29.13 (api_linux.go)
  • CoreProfile guard for GLES — v0.29.13 (egl/context.go)
  • vertexBuffers in Linux RenderPipeline — v0.29.14 (device_linux.go)

Thank you @lkmavi for finding these issues — your PR #210 (FFI pointer fix) and #215 findings were critical for getting GLES rendering working on Linux. All credited in release notes.

The GLES backend now works end-to-end on Linux: triangle, gg (SDF shapes, text, widgets), and particles (on real Linux with compute support).

@kolkov kolkov closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants