summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.cpp
AgeCommit message (Collapse)Author
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-01Fix shader crashing when attempting to access `length()` at global spaceYuri Roubinsky
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-16Fix device limit exceeding for uniform buffernotSanil
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-09Fixed shader error message for instance qualifierZuBsPaCe
Moved argument from RTR to vformat. Message is now similar to uniform-arrays-error further down.
2022-02-06Fix unknown identifier error in for loopYuri Roubinsky
2022-02-05Few more fixes to for loop in shadersYuri Roubinsky
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Allow multiple declarations in for loop in a shaderYuri Roubinsky
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-25Prevent checking of global uniform type outside the editorYuri Roubinsky
2022-01-24Remove incorrect items from completion of main functions in shaderYuri Roubinsky
2022-01-23Fix incorrect unused local var warning in shader blocksYuri Roubinsky
2022-01-19Add translation links to shader errorsYuri Roubinsky
2022-01-18Unify variable and array declarations in shadersYuri Roubinsky
2022-01-15Refactor size expression parsing for arrays in the shadersYuri Roubinsky
2022-01-13Fix completion for global constants in shadersYuri Roubinsky
2022-01-13Add completion for shader_typeYuri Roubinsky
2022-01-13Prevent redefinition of main functions in shaderYuri Roubinsky
2022-01-08Enhances a shader uniform limit warningYuri Roubinsky
2022-01-04Merge pull request #56477 from Chaosus/fix_device_crashYuri Roubinsky
2022-01-04Add a check for device in shader lang to prevent startup editor crashYuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Add a shader warning when the uniform buffer limit is exceededYuri Roubinsky
2022-01-03Merge pull request #56190 from Chaosus/shader_varying_pass_to_funcRémi Verschelde
2022-01-02Fix various typosluz paz
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
2021-12-23Allow pass varyings as out param to the function, when it's possibleYuri Roubinsky
2021-12-21Refactor render_mode in shaders, forbid declaring duplicatesYuri Roubinsky
2021-12-16Merge pull request #55970 from Chaosus/shader_fix_struct_warningRémi Verschelde
2021-12-15Fix struct usage passing to shader warning systemYuri Roubinsky
2021-12-15Rename shader hint `filter_anisotropy` to `filter_anisotropic`Yuri Roubinsky
2021-12-15Fix shader array parsing in variable declarationYuri Roubinsky
2021-12-15Merge pull request #55903 from Chaosus/shader_structRémi Verschelde
2021-12-15Rename shader hint `filter_aniso` to `filter_anisotropy`Yuri Roubinsky
2021-12-13Allow declaring multiple members in one expression in shader structsYuri Roubinsky
2021-12-11Restore shader parsing errors with lack of semicolon in a blockYuri Roubinsky
2021-12-10Rename `hint_aniso` to `hint_anisotropy` in the shader languageHugo Locurcio
The word "anisotropy" is used in full form in BaseMaterial3D's anisotropy-related properties.
2021-12-10Refactor constant suffix parsing in a shaderYuri Roubinsky
2021-12-10Merge pull request #55763 from Chaosus/shader_hint_completionYuri Roubinsky
2021-12-10Added completion for uniform hints in a shaderYuri Roubinsky
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Make `compile` shader function to use struct instead long parameter listYuri Roubinsky
2021-12-03Fix `^=` operator in shadersYuri Roubinsky
2021-12-01Fix shader crash when using existed constant name for structYuri Roubinsky
2021-12-01Fix declaring array size twice in global shader constantYuri Roubinsky
2021-12-01Allow using empty statements in the shader, added formatting warningYuri Roubinsky
2021-11-30Merge pull request #55490 from Chaosus/fix_shader_crashRémi Verschelde
2021-11-30Fix shader crash when assigning array to non-array in global constantYuri Roubinsky
2021-11-29Fix built-in(PI, TAU, E) assignment to a global constant in a shaderYuri Roubinsky