cg-tuwien / Math2Model

Build the Shadertoy of Parametric Modeling
4 stars 1 forks source link

Shader error reporting #49

Closed stefnotch closed 3 days ago

stefnotch commented 2 months ago

First part of shader error reporting: This implements an API where every shader that is sent to the Rust renderer has an associated ID.

Later, the Rust backend will send errors together with the shader's ID to the frontend.

Then, I have to keep track of all errors for all files. And finally, the monaco editor can read the errors and display them.