Shader output should not be printed out in logs #610

Open
opened 2026-01-07 01:55:57 +01:00 by SakulFlee · 0 comments
Owner

When shaders are compiled, the full shader source code is printed to the log output. This clutters logs and may expose internal implementation details. Shader compilation output should be suppressed by default, with an opt-in debug flag to enable logging it when needed.

Acceptance criteria:

  • Shader source not printed to info/debug logs by default
  • Add a ShaderConfig::log_shader_source flag or similar opt-in
  • Compilation errors should still be reported
When shaders are compiled, the full shader source code is printed to the log output. This clutters logs and may expose internal implementation details. Shader compilation output should be suppressed by default, with an opt-in debug flag to enable logging it when needed. **Acceptance criteria:** - Shader source not printed to `info`/`debug` logs by default - Add a `ShaderConfig::log_shader_source` flag or similar opt-in - Compilation errors should still be reported
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SakulFlee/Orbital#610
No description provided.