Skip to content

feat: add GLSL shader transpilation setting - #2208

Open
kpal81xd wants to merge 1 commit into
mainfrom
feat/webgpu-compile
Open

feat: add GLSL shader transpilation setting#2208
kpal81xd wants to merge 1 commit into
mainfrom
feat/webgpu-compile

Conversation

@kpal81xd

Copy link
Copy Markdown
Contributor

Fixes #1320

What's Changed

  • add an optional GLSL shader transpilation project setting beneath WebGPU
  • preserve explicit values and safely migrate legacy projects from their effective WebGPU state
  • load compiler URLs only when WebGPU and transpilation are both enabled

Checks

Manual Smoke Test

  1. Open a legacy WebGPU project without the setting; expect the transpilation toggle to be enabled and remain enabled after reload.
  2. Create a project and enable WebGPU; expect GLSL shader transpilation to remain disabled by default.
  3. Disable and re-enable WebGPU after enabling transpilation; expect the child toggle to hide and then restore its stored value.
  4. Launch with transpilation disabled, then enabled; expect no compiler requests when disabled and all glslang/twgsl resources to load when enabled.

@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
editor Ready Ready Preview Aug 18, 2026 10:26am

Request Review

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.

Make glslang / tint wasm files to be used only optionally

1 participant