Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #93590 from Chaosus/shader_custom_func_discard | Yuri Rubinsky | 2024-10-24 | 1 | -7/+16 |
|\ | | | | | Allow usage of `discard` inside custom shader functions | ||||
| * | Allow usage of `discard` inside custom shader functions | Yuri Rubinsky | 2024-10-17 | 1 | -7/+16 |
| | | |||||
* | | Allow using stage functions inside custom shader functions | Yuri Rubinsky | 2024-10-17 | 1 | -38/+68 |
|/ | |||||
* | Merge pull request #92441 from Chaosus/shader_custom_func_overloads | Thaddeus Crews | 2024-10-14 | 1 | -126/+238 |
|\ | | | | | | | Implement custom function overloading in shading language | ||||
| * | Implement custom function overloading in shading language | Yuri Rubinsky | 2024-10-08 | 1 | -126/+238 |
| | | |||||
* | | Merge pull request #96819 from clayjohn/GLES3-instance-uniforms | Clay John | 2024-10-07 | 1 | -4/+0 |
|\ \ | |/ |/| | Implement instance uniforms in Compatibility renderer | ||||
| * | Implement instance uniforms in Compatibility renderer | clayjohn | 2024-09-10 | 1 | -4/+0 |
| | | |||||
* | | Fix shader crash when return a void function call | Chaosus | 2024-09-26 | 1 | -0/+5 |
| | | |||||
* | | Add external texture support (GLES3) | David Snopek | 2024-09-20 | 1 | -2/+24 |
| | | | | | | | | | | Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com> Co-authored-by: Mauricio Narvaez <nvz@meta.com> | ||||
* | | Fix shader incorrectly expects `int` on `uint` and vice-versa in cases | Chaosus | 2024-09-11 | 1 | -55/+68 |
|/ | |||||
* | Add basic support to evaluate operator value in shader language | Yuri Rubinsky | 2024-09-09 | 1 | -102/+505 |
| | |||||
* | Merge pull request #94352 from Chaosus/shader_ternary_fix | Rémi Verschelde | 2024-08-28 | 1 | -3/+36 |
|\ | | | | | | | Fix multiple ternary expressions to be used without parenthesis | ||||
| * | Fix multiple ternary expressions to be used without parenthesis | Yuri Rubinsky | 2024-07-17 | 1 | -3/+36 |
| | | |||||
* | | Merge pull request #95274 from Chaosus/shader_forbind_const_func_decl | Rémi Verschelde | 2024-08-25 | 1 | -0/+5 |
|\ \ | | | | | | | | | | Forbid function declaration with a const qualifier in shaders | ||||
| * | | Forbid function declaration with a const qualifier in shaders | Chaosus | 2024-08-08 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #94324 from SomeRanDev/shader_hint_enum | Rémi Verschelde | 2024-08-20 | 1 | -6/+106 |
|\ \ \ | | | | | | | | | | | | | GDShader: Add `hint_enum` for `uniform int` | ||||
| * | | | Add `hint_enum` for uniform int in gdshader | Robert Borghese | 2024-07-13 | 1 | -6/+106 |
| | |/ | |/| | |||||
* | | | Merge pull request #94785 from Chaosus/shader_fix_samplers_order | Rémi Verschelde | 2024-08-19 | 1 | -0/+3 |
|\ \ \ | | | | | | | | | | | | | Fix texture samplers to not being last in the property list | ||||
| * | | | Fix texture samplers to not being last in the property list | Yuri Rubinsky | 2024-07-29 | 1 | -0/+3 |
| | | | | |||||
* | | | | Merge pull request #95547 from Chaosus/shader_fix_for_middle_expression | Rémi Verschelde | 2024-08-16 | 1 | -3/+3 |
|\ \ \ \ | | | | | | | | | | | | | | | | Fix middle expression of `for` loop to accept not only operators | ||||
| * | | | | Fix middle expression of `for` loop to accept not only operators | Chaosus | 2024-08-15 | 1 | -3/+3 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #95350 from Chaosus/shader_fix_for_loop_comma_crash | Rémi Verschelde | 2024-08-16 | 1 | -0/+17 |
|\ \ \ \ | | | | | | | | | | | | | | | | Fix shader crash when the comma used in `for` loop as a trailing | ||||
| * | | | | Fix shader crash when the comma used in `for` loop as a trailing | Chaosus | 2024-08-10 | 1 | -0/+17 |
| |/ / / | |||||
* | | | | Merge pull request #94896 from jsjtxietian/carry-subgroup | Rémi Verschelde | 2024-08-16 | 1 | -0/+1 |
|\ \ \ \ | |/ / / |/| | | | | | | | Fix uniform subgroup in shader will carry out to next group | ||||
| * | | | Fix uniform subgroup in shader will carry out to next group | jsjtxietian | 2024-07-29 | 1 | -0/+1 |
| | | | | |||||
* | | | | Restrict sampler hint validation to only screen texture hints | clayjohn | 2024-07-28 | 1 | -2/+11 |
| |/ / |/| | | |||||
* | | | Emit normal_roughness compatibility code in custom functions | clayjohn | 2024-07-26 | 1 | -6/+7 |
| | | | |||||
* | | | Fix editor crash when shader has incorrect global array declaration | jsjtxietian | 2024-07-26 | 1 | -0/+6 |
|/ / | |||||
* | | Fix shader crash when using a varying in separate func before it defined | Yuri Rubinsky | 2024-07-23 | 1 | -8/+20 |
| | | |||||
* | | Make shaderLanguage's parser recognize sampler passed in from array | jsjtxietian | 2024-07-17 | 1 | -4/+10 |
|/ | |||||
* | Improve code for setup of `global_func_set` in `ShaderLanguage` | Yuri Rubinsky | 2024-07-02 | 1 | -9/+13 |
| | |||||
* | Fix orphan StringName's in ShaderLanguage | Yuri Rubinsky | 2024-07-02 | 1 | -0/+1 |
| | |||||
* | Prevent shader crash when doing invalid operation on boolean vector | Yuri Rubinsky | 2024-06-30 | 1 | -3/+3 |
| | |||||
* | Use `PackedVector4Array` instead of float array for vec4 array uniform | Yuri Rubinsky | 2024-06-28 | 1 | -6/+3 |
| | |||||
* | Merge pull request #93469 from Chaosus/shader_fix_crash | Rémi Verschelde | 2024-06-25 | 1 | -3/+7 |
|\ | | | | | | | Fix crash on shader constant initialization on MinGW compiler | ||||
| * | Fix crash on shader constant initialization on MinGW compiler | Yuri Rubinsky | 2024-06-22 | 1 | -3/+7 |
| | | |||||
* | | Forbid calling of derivative functions in incorrect functions | Yuri Rubinsky | 2024-06-21 | 1 | -2/+106 |
|/ | |||||
* | Prevent using built-ins for func names in shaders | Yuri Rubinsky | 2024-05-30 | 1 | -2/+20 |
| | |||||
* | Fix completion of functions with struct param/return type in shaders | Yuri Rubinsky | 2024-05-28 | 1 | -10/+18 |
| | |||||
* | Reduce and prevent unnecessary random-access to `List` | A Thousand Ships | 2024-05-04 | 1 | -14/+14 |
| | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable | ||||
* | [Rendering] Add hints to some uniform `PropertyInfo`s | A Thousand Ships | 2024-05-03 | 1 | -1/+17 |
| | | | | | * Enforce range on `int/uint` * Use flags for `bvec2/3/4` arrays | ||||
* | Merge pull request #90587 from clayjohn/reversez-shader-warn | Rémi Verschelde | 2024-04-16 | 1 | -0/+22 |
|\ | | | | | | | Warn users when assigning `VERTEX` directly to `POSITION` due to compatibility breakage from Reverse Z changes | ||||
| * | Warn users when assigning VERTEX directly to POSITION due to compatibility ↵ | clayjohn | 2024-04-12 | 1 | -0/+22 |
| | | | | | | | | breakage from reverse z changes | ||||
* | | Fix false positive errors in gdshaderinc files | ze2j | 2024-03-21 | 1 | -3/+3 |
|/ | | | | | | | | | | | These language features are wrongly detected as errors (not supported) when used in gdshaderinc files: - instance uniforms - hint_normal_roughness_texture - hint_depth_texture This type of error should only occur when the shader type is not spatial and not a gdshaderinc file. | ||||
* | Add const lvalue ref to container parameters | Muller-Castro | 2024-01-05 | 1 | -2/+2 |
| | |||||
* | Fix assign with swizzle in shader not doing varying validation check | jsjtxietian | 2023-10-23 | 1 | -0/+4 |
| | |||||
* | Merge pull request #83004 from Chaosus/shader_language_fix_typo | Rémi Verschelde | 2023-10-09 | 1 | -1/+1 |
|\ | | | | | | | Fix typo in `shader_language.cpp` | ||||
| * | Fix typo in `shader_language.cpp` | Yuri Rubinsky | 2023-10-08 | 1 | -1/+1 |
| | | |||||
* | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-10-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #81619 from Chaosus/fix_shader_const | Rémi Verschelde | 2023-10-03 | 1 | -50/+53 |
|\ | | | | | | | Re-allows constants in global space to be initialized with function call |