More user-friendly ShaderLab
compilation error message
#2248
Labels
enhancement
New feature or request
high priority
High priority issue
Rendering
Rendering related functions
shader
Shader related functions
Milestone
Is your feature request related to a problem? Please describe.
The compilation error message is still obscure to shader developer, it should be more clear and help quickly identify the error location.
Describe the solution you'd like
Stage A: only console, no visual interface.
message should contain the macro expanded code, and the error location, which includes the line and column number.
Stage B: in visual interface, e.g. VSCode ide.
The red wavy underline should appear under the specific range in the specific file where the error occurred.
The text was updated successfully, but these errors were encountered: