summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.cpp
AgeCommit message (Expand)Author
2023-03-13Error on hint_normal_roughness_texture and hint_depth_texture outside of spat...Fabio Iotti
2023-02-21Forbid passing multiview sampler to the custom function in shadersYuri Rubinsky
2023-02-13Improvements and fixes based on Weblate commentsHaoyu Qiu
2023-02-09Improve some editor strings for localizationHaoyu Qiu
2023-02-08Mark fma function as high end so it isn't used with the gl_compatibility rend...clayjohn
2023-02-02Merge pull request #72494 from Chaosus/shader_fix_const_initRémi Verschelde
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Fix shader failure when using non-const initializer on a constantYuri Rubinsky
2023-01-30Add a shader error when trying to using hint_normal_roughness_texture in the ...clayjohn
2023-01-26Merge pull request #72138 from clayjohn/GL-globalsRémi Verschelde
2023-01-26Merge pull request #72109 from Chaosus/shader_derivativeRémi Verschelde
2023-01-26Properly append global uniform buffer name in gl_compatibility shadersclayjohn
2023-01-26Add derivative functions with precision to shadersYuri Rubinsky
2023-01-26Several shader preprocessor parser fixes and improvementsbitsawer
2023-01-25Fix array of token names in the shader parser Yuri Rubinsky
2023-01-20Fix type in hint when using removed built-in texturesPrecisionRender
2023-01-20Decrement texture_binding count when using screen texturesclayjohn
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
2023-01-05One Copyright Update to rule them allRémi Verschelde
2022-12-23Fix shader crash when using boolean type for vertex->fragment varyingsYuri Rubinsky
2022-12-20Add missing != operator to `StringName`Yuri Rubinsky
2022-11-24Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resourcesRémi Verschelde
2022-11-22Shader: Set proper resource type hints for sampler uniformsRémi Verschelde
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
2022-11-17Fix global uniforms parsed as instance uniformLily Garcia
2022-11-16Merge pull request #68718 from dzil123/fix_fog_shader_buffer_overflowRémi Verschelde
2022-11-15Mark shader built-ins as used when passed to functions as out parameter Yuri Rubinsky
2022-11-15Fix Fog shader buffer overflowdzil123
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-09Some fixes for instance shader parametersYuri Rubinsky
2022-11-01Fix predefined constants to be accessible in the shader includesYuri Rubinsky
2022-10-16Fix editor crash when assigning some uniform hints to the texturesYuri Rubinsky
2022-09-28Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703Rémi Verschelde
2022-09-28Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable usedRémi Verschelde
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
2022-09-11Prevent duplicated hints in shader uniform completionYuri Rubinsky
2022-09-07Remove `shader_type` from completion (when it does not need any more)Yuri Rubinsky
2022-08-25Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky
2022-08-19Merge pull request #64167 from clayjohn/screen-texture-hintMax Hilbrunner
2022-08-12Merge pull request #64310 from Chaosus/shader_texture_funcsYuri Rubinsky
2022-08-12Add `textureQueryLod/Levels` functions to the shader languageYuri Rubinsky
2022-08-12Add `textureProjGrad` function to the shader languageYuri Rubinsky
2022-08-09Add shader uniform hints for screen textures so users can specify custom filt...clayjohn
2022-08-07Merge pull request #62454 from Geometror/reflect-refract-vec2-vec4Rémi Verschelde
2022-08-07Allow vec2 and vec4 for reflect and refractHendrik Brucker
2022-08-03Merge pull request #63847 from Zylann/shader_switch_uintYuri Rubinsky
2022-08-02Allow shading language to use `switch` statement with uintsMarc Gilleron
2022-08-01Add `hint_transparent` to use a transparent black placeholder textureHugo Locurcio
2022-07-28Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio
2022-07-27Fix incorrect conversion of default value for mat4 uniform in shadersYuri Rubinsky