summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_language.cpp
Commit message (Expand)AuthorAgeFilesLines
* Prevent checking of global uniform type outside the editorYuri Roubinsky2022-01-251-1/+1
* Remove incorrect items from completion of main functions in shaderYuri Roubinsky2022-01-241-0/+13
* Fix incorrect unused local var warning in shader blocksYuri Roubinsky2022-01-231-2/+8
* 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
|/
* 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
|/
* 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
* 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
|/
* 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
|/
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-20/+20
* 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