Skip to content

shaders: improve GLSL diagnostics and source attribution - #22

Open
tritao wants to merge 2 commits into
stack/profile-neutral-shadersfrom
stack/shader-diagnostics
Open

shaders: improve GLSL diagnostics and source attribution#22
tritao wants to merge 2 commits into
stack/profile-neutral-shadersfrom
stack/shader-diagnostics

Conversation

@tritao

@tritao tritao commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Improve GLSL failure reporting without changing shader execution semantics.

  • Associate shader compiler diagnostics with source names.
  • Add concise source attribution to compilation and linking failures.
  • Report compilation and linking failures even when the driver returns no useful log.
  • Add focused coverage for diagnostic behavior.
  • Deliberately avoid shader-source rewriting or line-directive injection.

This layer is diagnostic only; profile-neutral GLSL dispatch remains owned by PR #14.

Stack

Layer 4/18, based on PR #14.

@tritao tritao changed the title stack/shader diagnostics shaders: improve GLSL diagnostics and source attribution Aug 8, 2026
@tritao
tritao marked this pull request as ready for review August 8, 2026 02:36
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 2de6681 to 1f27e2c Compare August 8, 2026 10:27
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 1f27e2c to 130303e Compare August 8, 2026 11:06
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 130303e to b5eebe2 Compare August 8, 2026 11:41
@tritao
tritao force-pushed the stack/shader-diagnostics branch from b5eebe2 to bd689d5 Compare August 8, 2026 12:06
@tritao
tritao force-pushed the stack/shader-diagnostics branch 2 times, most recently from d4d9d02 to 0523569 Compare August 8, 2026 20:31
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 0523569 to e1be85f Compare August 8, 2026 20:44
@tritao
tritao force-pushed the stack/shader-diagnostics branch from e1be85f to 2a7c09c Compare August 9, 2026 02:02
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 2a7c09c to 05e987e Compare August 9, 2026 02:34
@tritao
tritao force-pushed the stack/shader-diagnostics branch 2 times, most recently from ede4b7a to 28d71e6 Compare August 9, 2026 11:37
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 28d71e6 to 18c0808 Compare August 9, 2026 11:44
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 18c0808 to 302cf92 Compare August 9, 2026 14:55
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 302cf92 to 9cf181d Compare August 9, 2026 15:10
@tritao
tritao force-pushed the stack/shader-diagnostics branch 2 times, most recently from b70b126 to 7e6fb3d Compare August 9, 2026 22:42
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 7e6fb3d to 0295e7c Compare August 9, 2026 22:48
@tritao
tritao force-pushed the stack/shader-diagnostics branch 2 times, most recently from 7376015 to 6340ef5 Compare August 11, 2026 10:50
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 6340ef5 to c58f573 Compare August 11, 2026 14:05
@tritao
tritao force-pushed the stack/shader-diagnostics branch from c58f573 to 5fc8a88 Compare August 15, 2026 23:32
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 5fc8a88 to cfc1617 Compare August 16, 2026 00:26
@tritao
tritao force-pushed the stack/shader-diagnostics branch from cfc1617 to 2a5bdd9 Compare August 17, 2026 15:52
@tritao
tritao force-pushed the stack/shader-diagnostics branch from 2a5bdd9 to da547f1 Compare August 18, 2026 00:18
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.

1 participant