GPU test tools
Local browser test

Shader Compatibility Test

Compile a fragment shader locally and inspect the exact browser log. Use it to check whether a device accepts a WebGL1 shader, a WebGL2 GLSL ES 3.00 shader, or a heavier loop-based fragment workload.

Test notes

  • Sources starting with #version 300 es compile through a WebGL2 context.
  • Other fragment sources compile through a WebGL1 context with gl_FragColor support.
  • Use the same uniforms as the editor when possible: u_time, u_resolution, and v_uv.

Fragment Shader Source

Compile Preview

Related GPU tools