summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_language.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add translation links to shader errorsYuri Roubinsky2022-01-191-321/+326
|
* Unify variable and array declarations in shadersYuri Roubinsky2022-01-181-81/+35
|
* Refactor size expression parsing for arrays in the shadersYuri Roubinsky2022-01-151-334/+111
|
* Fix completion for global constants in shadersYuri Roubinsky2022-01-131-0/+3
|
* Add completion for shader_typeYuri Roubinsky2022-01-131-9/+16
|
* Prevent redefinition of main functions in shaderYuri Roubinsky2022-01-131-0/+7
|
* Enhances a shader uniform limit warningYuri Roubinsky2022-01-081-15/+26
|
* Merge pull request #56477 from Chaosus/fix_device_crashYuri Roubinsky2022-01-041-1/+4
|\
| * Add a check for device in shader lang to prevent startup editor crashYuri Roubinsky2022-01-041-1/+4
| |
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* Add a shader warning when the uniform buffer limit is exceededYuri Roubinsky2022-01-031-21/+67
|
* Merge pull request #56190 from Chaosus/shader_varying_pass_to_funcRémi Verschelde2022-01-031-78/+92
|\
| * Allow pass varyings as out param to the function, when it's possibleYuri Roubinsky2021-12-231-78/+92
| |
* | Fix various typosluz paz2022-01-021-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
* Refactor render_mode in shaders, forbid declaring duplicatesYuri Roubinsky2021-12-211-7/+59
|
* Merge pull request #55970 from Chaosus/shader_fix_struct_warningRémi Verschelde2021-12-161-5/+15
|\
| * Fix struct usage passing to shader warning systemYuri Roubinsky2021-12-151-5/+15
| |
* | Rename shader hint `filter_anisotropy` to `filter_anisotropic`Yuri Roubinsky2021-12-151-10/+10
|/
* Fix shader array parsing in variable declarationYuri Roubinsky2021-12-151-55/+65
|
* Merge pull request #55903 from Chaosus/shader_structRémi Verschelde2021-12-151-39/+53
|\
| * Allow declaring multiple members in one expression in shader structsYuri Roubinsky2021-12-131-39/+53
| |
* | Rename shader hint `filter_aniso` to `filter_anisotropy`Yuri Roubinsky2021-12-151-10/+10
|/
* Restore shader parsing errors with lack of semicolon in a blockYuri Roubinsky2021-12-111-2/+3
|
* Rename `hint_aniso` to `hint_anisotropy` in the shader languageHugo Locurcio2021-12-101-5/+5
| | | | | The word "anisotropy" is used in full form in BaseMaterial3D's anisotropy-related properties.
* Refactor constant suffix parsing in a shaderYuri Roubinsky2021-12-101-57/+129
|
* Merge pull request #55763 from Chaosus/shader_hint_completionYuri Roubinsky2021-12-101-3/+70
|\
| * Added completion for uniform hints in a shaderYuri Roubinsky2021-12-101-3/+70
| |
* | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-5/+5
|/ | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Make `compile` shader function to use struct instead long parameter listYuri Roubinsky2021-12-081-17/+17
|
* Fix `^=` operator in shadersYuri Roubinsky2021-12-031-1/+6
|
* Fix shader crash when using existed constant name for structYuri Roubinsky2021-12-011-7/+2
|
* Fix declaring array size twice in global shader constantYuri Roubinsky2021-12-011-20/+34
|
* Allow using empty statements in the shader, added formatting warningYuri Roubinsky2021-12-011-3/+15
|
* Merge pull request #55490 from Chaosus/fix_shader_crashRémi Verschelde2021-11-301-1/+1
|\
| * Fix shader crash when assigning array to non-array in global constantYuri Roubinsky2021-11-301-1/+1
| |
* | Fix built-in(PI, TAU, E) assignment to a global constant in a shaderYuri Roubinsky2021-11-291-13/+30
|/
* Revert "Pushes array of uniforms to first place in the buffer"Yuri Roubinsky2021-11-251-14/+4
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-4/+4
|
* Prevent return statement from using in block in shader main functionsYuri Roubinsky2021-11-231-5/+5
|
* Allow passing non-variable constant to const function param in shadersYuri Roubinsky2021-11-191-1/+3
|
* Pushes array of uniforms to first place in the buffer to prevent bugYuri Roubinsky2021-11-071-4/+14
|
* Merge pull request #54356 from Chaosus/shader_fix_matrix_autocompletionRémi Verschelde2021-11-011-9/+0
|\
| * Removed incorrect autocompletion of matrixes in shaderYuri Roubinsky2021-10-281-9/+0
| |
* | Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn2021-10-281-1/+1
|/ | | | Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-20/+20
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Prevent shader crash when passing constant expression to `textureGather`Yuri Roubinsky2021-10-211-0/+1
|
* Added few more built-ins to shader languageYuri Roubinsky2021-10-131-80/+191
|
* 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
| |