Yotsuba Shader
Documentation

Article

Shader diagnostics in your IDE

Available C# checks and exceptions, with planned IDE shader diagnostics identified explicitly.

Current status#

C# checks attribute names, constructor arguments, and allowed attribute targets. Roslyn discovery and processing also perform some checks, but processing errors currently surface as exceptions.

Live shader diagnostics, per-backend compatibility warnings, YotsubaTargets, and the previously illustrated YS1003, YS2001, and YS2002 analyzer messages are planned; their implementation was not found in the repository.

The implemented source generator reports YSG0001 when its SPIR-V grammar input is missing. That diagnostic belongs to operation-table generation, not shader validation.

Copyright © 2026 Yotsuba Shader contributors · Licensing · GitHub