You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gizmos ID pipeline's pixel shader uses the GLSL reserved word "output" as the name of an out variable. On certain GPUs, this causes a shader compile error resulting in a crash, when using the Gizmos plugin.
Gizmos sample output:
[20:13:04.151] [dispatcher.cpp:153 compileChain] info: Call chain completed successfully!
[20:13:04.152] [dispatcher.cpp:153 compileChain] info: Call chain completed successfully!
[20:13:04.153] [file.cpp:124 mount] info: Mounted archive at '""/"settings.json"'
[20:13:04.397] [ogl_render_device.cpp:2307 createShaderStage] error: Could not compile shader: "Fragment shader failed to compile with the following errors:
ERROR: 0:6: error(#133) Reserved word: output
ERROR: 0:6: error(#132) Syntax error: "output" parse error
ERROR: error(#273) 2 compilation errors. No code generated
"
Reproduce
Steps to reproduce the behavior:
Open something that uses the Gizmos plugin, e.g. Gizmos sample
On some GPUs, everything works well. On others, a shader compile error occurs.
Additional context
Tested on a laptop with Ryzen 7 5800H + RTX 3050, Windows 11. The error occurs only when using the integrated GPU.
Solution
Changing the variable name to something else (that's not reserved) should do the trick.
The text was updated successfully, but these errors were encountered:
RiscadoA
added
S-Triage
Issues whose priority still has to be figured out
and removed
S-Triage
Issues whose priority still has to be figured out
labels
Sep 29, 2024
Description
Gizmos ID pipeline's pixel shader uses the GLSL reserved word "output" as the name of an out variable. On certain GPUs, this causes a shader compile error resulting in a crash, when using the Gizmos plugin.
Gizmos sample output:
Reproduce
Steps to reproduce the behavior:
Additional context
Tested on a laptop with Ryzen 7 5800H + RTX 3050, Windows 11. The error occurs only when using the integrated GPU.
Solution
Changing the variable name to something else (that's not reserved) should do the trick.
The text was updated successfully, but these errors were encountered: