summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.cpp
AgeCommit message (Collapse)Author
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
2021-11-25Revert "Pushes array of uniforms to first place in the buffer"Yuri Roubinsky
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Prevent return statement from using in block in shader main functionsYuri Roubinsky
2021-11-19Allow passing non-variable constant to const function param in shadersYuri Roubinsky
2021-11-07Pushes array of uniforms to first place in the buffer to prevent bugYuri Roubinsky
2021-11-01Merge pull request #54356 from Chaosus/shader_fix_matrix_autocompletionRémi Verschelde
2021-10-28Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28Removed incorrect autocompletion of matrixes in shaderYuri Roubinsky
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
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`.
2021-10-21Prevent shader crash when passing constant expression to `textureGather`Yuri Roubinsky
2021-10-13Added few more built-ins to shader languageYuri Roubinsky
2021-10-10Merge pull request #53066 from Chaosus/shader_funcsRémi Verschelde
2021-10-08Allow declare the shader arrays with a size defined before identifierYuri Roubinsky
2021-10-07Fix shader crash when passing array to index expressionYuri Roubinsky
2021-10-05Add missing shader built-insYuri Roubinsky
2021-10-05Fix shader crash when passing array.length to functionsYuri Roubinsky
and similar cases
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
* Specify all precision qualifiers * Makes renderer work on Adreno Vulkan
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
Added parameter names to shader built-in function autocompletion
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
Allow using vertex-stage varying in both `fragment` and `light` functions
2021-07-26Merge pull request #50728 from Chaosus/shader_varying_enchancementsRémi Verschelde
Allow using vertex varying in custom functions under any circumstances
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
Method from `String`
2021-06-06Prevent shader crash when returning array when return type is scalarYuri Roubinsky