summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_language.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #53066 from Chaosus/shader_funcsRémi Verschelde2021-10-101-12/+288
|\
| * Add missing shader built-insYuri Roubinsky2021-10-051-12/+288
| |
* | Allow declare the shader arrays with a size defined before identifierYuri Roubinsky2021-10-081-137/+218
| |
* | Fix shader crash when passing array to index expressionYuri Roubinsky2021-10-071-6/+6
|/
* Fix shader crash when passing array.length to functionsYuri Roubinsky2021-10-051-63/+49
| | | and similar cases
* Fix syntax parsing error of uniform arrays declaration in shaderYuri Roubinsky2021-10-041-4/+0
|
* Added support for uniform arrays in shadersYuri Roubinsky2021-10-041-81/+434
|
* Use range iterators for `Map`Lightning_A2021-09-301-46/+46
|
* Prevents editor crash when compare with negative float in shaderYuri Roubinsky2021-09-221-1/+3
|
* Fix shader crash when passing array to built-in function without indexYuri Roubinsky2021-09-181-0/+9
|
* More fixes to mobile rendererreduz2021-08-181-0/+21
| | | | | * Specify all precision qualifiers * Makes renderer work on Adreno Vulkan
* Fix shader crash when using local var with the same name as varyingYuri Roubinsky2021-08-131-0/+5
|
* Merge pull request #51391 from Chaosus/shader_param_namesRémi Verschelde2021-08-121-682/+688
|\ | | | | Added parameter names to shader built-in function autocompletion
| * Added parameter names to shader built-in function autocompletionYuri Roubinsky2021-08-121-682/+688
| |
* | Merge pull request #51505 from Chaosus/shader_fix_shadetype-errorlineYuri Roubinsky2021-08-111-6/+9
|\ \
| * | Break futher shader compilation after missing `;` after`shader_type`Yuri Roubinsky2021-08-111-6/+9
| | |
* | | Allow using more assignment operators on matrixes in shadersYuri Roubinsky2021-08-111-1/+1
|/ /
* / Fix shader crash when using varying array in fragment->light contextYuri Roubinsky2021-08-111-1/+38
|/
* Fix editor crash if passing index as variable to function parameterYuri Roubinsky2021-07-261-4/+6
|
* Prevents shader crashing if varying assigned incorrectlyYuri Roubinsky2021-07-261-1/+16
|
* Fix compilation of `shader_language.cpp`Yuri Roubinsky2021-07-261-1/+1
|
* Merge pull request #50729 from Chaosus/shader_varying_enchancements2Rémi Verschelde2021-07-261-18/+3
|\ | | | | Allow using vertex-stage varying in both `fragment` and `light` functions
| * Allow using vertex-stage varying in both `fragment` and `light` Yuri Roubinsky2021-07-221-18/+3
| |
* | Merge pull request #50728 from Chaosus/shader_varying_enchancementsRémi Verschelde2021-07-261-2/+29
|\ \ | | | | | | Allow using vertex varying in custom functions under any circumstances
| * | Allow using vertex varying in custom functions under any circumstancesYuri Roubinsky2021-07-221-2/+29
| |/
* | Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
| |
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-5/+5
|/
* Forbid varyings from assigning in custom functions to prevent crashesYuri Roubinsky2021-07-211-2/+13
|
* Prevent error if varying assigned but not used (push warning instead)Yuri Roubinsky2021-07-151-10/+3
|
* Added a shader warning about unused local variable Yuri Roubinsky2021-06-291-3/+46
|
* Rename `is_valid_integer()` to `is_valid_int()`Lightning_A2021-06-161-1/+1
| | | | Method from `String`
* Prevent shader crash when returning array when return type is scalarYuri Roubinsky2021-06-061-7/+1
|
* Rename Variant TRANSFORM to TRANSFORM3DAaron Franke2021-06-031-1/+1
| | | Also _transform to _transform3d
* Rename Transform to Transform3D in coreAaron Franke2021-06-031-1/+1
|
* Allow shader arrays to be passed as parameters and return valueYuri Roubinsky2021-05-221-360/+827
|
* Basic warning support implementation for the Godot Shading Language.Yuri Roubinsky2021-05-221-9/+141
|
* Implements length() shader function for arrays in structsYuri Roubinsky2021-05-191-2/+9
|
* Fix typo in shader_language.cppYuri Roubinsky2021-05-181-1/+1
|
* Highlight control flow keywords with a different colorHugo Locurcio2021-05-051-0/+14
| | | | This makes them easier to distinguish from other keywords.
* Fix shader handle constant expressions in function callYuri Roubinsky2021-04-271-4/+44
|
* Remove duplicate commentsDennis Brakhane2021-04-251-3/+0
| | | | | | A few single line comments were duplicated, probably due to bad merges. This commit removes the obviously duplicate ones.
* Refactor GLSL shader compilationreduz2021-04-141-29/+17
| | | | | | | | -Used a more consistent set of keywords for the shader -Remove all harcoded entry points -Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization. -Entry point for sky shaders is now sky(). -Entry point for particle shaders is now process().
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-3/+5
|
* Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde2021-04-051-3/+3
|
* Merge pull request #46522 from Ev1lbl0w/bugfix-shader_noretRémi Verschelde2021-03-011-6/+7
|\ | | | | Added missing returns on error scenarios
| * Added missing returns on error scenariosEv1lbl0w2021-02-281-6/+7
| |
* | Fix parsing hexadecimal (lowercase `e`,`f`) in shadersYuri Roubinsky2021-03-011-4/+4
|/
* Prevents shader crash if two struct with the same name are declaredYuri Roubinsky2021-02-211-0/+4
|
* Prevents shader crash if passing invalid struct to the return statementYuri Roubinsky2021-02-211-3/+5
|
* Allow passing varying from fragment to light shader functionYuri Roubinsky2021-02-111-19/+94
|