summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.cpp
AgeCommit message (Expand)Author
2021-10-04Fix syntax parsing error of uniform arrays declaration in shaderYuri Roubinsky
2021-10-04Added support for uniform arrays in shadersYuri Roubinsky
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-22Prevents editor crash when compare with negative float in shaderYuri Roubinsky
2021-09-18Fix shader crash when passing array to built-in function without indexYuri Roubinsky
2021-08-18More fixes to mobile rendererreduz
2021-08-13Fix shader crash when using local var with the same name as varyingYuri Roubinsky
2021-08-12Merge pull request #51391 from Chaosus/shader_param_namesRémi Verschelde
2021-08-12Added parameter names to shader built-in function autocompletionYuri Roubinsky
2021-08-11Merge pull request #51505 from Chaosus/shader_fix_shadetype-errorlineYuri Roubinsky
2021-08-11Break futher shader compilation after missing `;` after`shader_type`Yuri Roubinsky
2021-08-11Allow using more assignment operators on matrixes in shadersYuri Roubinsky
2021-08-11Fix shader crash when using varying array in fragment->light contextYuri Roubinsky
2021-07-26Fix editor crash if passing index as variable to function parameterYuri Roubinsky
2021-07-26Prevents shader crashing if varying assigned incorrectlyYuri Roubinsky
2021-07-26Fix compilation of `shader_language.cpp`Yuri Roubinsky
2021-07-26Merge pull request #50729 from Chaosus/shader_varying_enchancements2Rémi Verschelde
2021-07-26Merge pull request #50728 from Chaosus/shader_varying_enchancementsRémi Verschelde
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-22Allow using vertex-stage varying in both `fragment` and `light` Yuri Roubinsky
2021-07-22Allow using vertex varying in custom functions under any circumstancesYuri Roubinsky
2021-07-21Forbid varyings from assigning in custom functions to prevent crashesYuri Roubinsky
2021-07-15Prevent error if varying assigned but not used (push warning instead)Yuri Roubinsky
2021-06-29Added a shader warning about unused local variable Yuri Roubinsky
2021-06-16Rename `is_valid_integer()` to `is_valid_int()`Lightning_A
2021-06-06Prevent shader crash when returning array when return type is scalarYuri Roubinsky
2021-06-03Rename Variant TRANSFORM to TRANSFORM3DAaron Franke
2021-06-03Rename Transform to Transform3D in coreAaron Franke
2021-05-22Allow shader arrays to be passed as parameters and return valueYuri Roubinsky
2021-05-22Basic warning support implementation for the Godot Shading Language.Yuri Roubinsky
2021-05-19Implements length() shader function for arrays in structsYuri Roubinsky
2021-05-18Fix typo in shader_language.cppYuri Roubinsky
2021-05-05Highlight control flow keywords with a different colorHugo Locurcio
2021-04-27Fix shader handle constant expressions in function callYuri Roubinsky
2021-04-25Remove duplicate commentsDennis Brakhane
2021-04-14Refactor GLSL shader compilationreduz
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-03-01Merge pull request #46522 from Ev1lbl0w/bugfix-shader_noretRémi Verschelde
2021-03-01Fix parsing hexadecimal (lowercase `e`,`f`) in shadersYuri Roubinsky
2021-02-28Added missing returns on error scenariosEv1lbl0w
2021-02-21Prevents shader crash if two struct with the same name are declaredYuri Roubinsky
2021-02-21Prevents shader crash if passing invalid struct to the return statementYuri Roubinsky
2021-02-11Allow passing varying from fragment to light shader functionYuri Roubinsky
2021-01-28Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke
2021-01-10Prevent crash due to assigning incorrect order of instance uniformYuri Roubinsky
2021-01-01Update copyright statements to 2021Rémi Verschelde
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-27Fix using post-init shader array constructorsYuri Roubinsky