Blender Git Commit Log

Git Commits -> Revision e43e9ca

Revision e43e9ca by Clément Foucault (master)
August 18, 2020, 19:30 (GMT)
GPUShader: Rewrite error printing

Now error printing only display the line related to the error.
We also put char marker if present.

Example:
```
-- Shader Compilation Errors : MAMaterial --

10414 | node_fresnel(, facingnormal, viewposition, tmp34);
| ^
| error: syntax error, unexpected ',', expecting ')'

----------------------------------
```

Commit Details:

Full Hash: e43e9caf1b17a029efbead02cabeba9b2cf9dcc7
Parent Commit: 216d786
Lines Changed: +132, -26

3 Modified Paths:

/source/blender/gpu/intern/gpu_shader.cc (+122, -22) (Diff)
/source/blender/gpu/intern/gpu_shader_private.hh (+1, -1) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+9, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021