summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_preprocessor.cpp
AgeCommit message (Collapse)Author
2023-01-05One Copyright Update to rule them allRĂ©mi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-09-26Add defines to completion list in shadersYuri Rubinsky
2022-08-20Add `defined` keyword support to shader preprocessorYuri Rubinsky
2022-08-19Merge pull request #63960 from bitsawer/fix-macro-expansionYuri Rubinsky
2022-08-15Add `elif` directive to shader preprocessorYuri Rubinsky
2022-08-14Implement coloring for disabled branches in the shader editorYuri Rubinsky
2022-08-05Fix shader preprocessor macro expansionbitsawer
2022-07-23Fix some errors after shader preprocessor PRYuri Rubinsky
2022-07-22Clean up Shader Preprocessorreduz
* Moved preprocessor to Shader and ShaderInclude * Clean up RenderingServer side * Preprocessor is separate from parser now, but it emits tokens with include location hints. * Improved ShaderEditor validation code * Added include file code completion * Added notification for all files affected by a broken include.
2022-07-22Adding shader preprocessor supportYuri Roubinsky
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>