Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | Re-allows constants in global space to be initialized with function call | Yuri Roubinski | 2023-09-13 | 1 | -50/+53 |
| | | |||||
* | | Merge pull request #82313 from AThousandShips/null_check_servers | Rémi Verschelde | 2023-09-26 | 1 | -2/+2 |
|\ \ | | | | | | | | | | [Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | ||||
| * | | [Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-25 | 1 | -2/+2 |
| |/ | |||||
* / | Fix shader language preprocessor include marker handling | bitsawer | 2023-09-06 | 1 | -9/+31 |
|/ | |||||
* | Add coloring for completion of vector components | Yuri Rubinsky | 2023-08-30 | 1 | -3/+4 |
| | |||||
* | Merge pull request #79459 from MoltenCoffee/fix-shader-arguments-error | Yuri Sizov | 2023-07-24 | 1 | -4/+8 |
|\ | | | | | | | Add error for undefined function in shader | ||||
| * | Add error for undefined function in shader | MoltenCoffee | 2023-07-18 | 1 | -4/+8 |
| | | |||||
* | | Add autocomplete for filter/repeat hints on uniform arrays | Hayden Leete | 2023-07-13 | 1 | -12/+12 |
|/ | |||||
* | Merge pull request #79100 from ↵ | Yuri Sizov | 2023-07-12 | 1 | -1/+6 |
|\ | | | | | | | | | | | KoBeWi/[filter,_filter,_filter,_filter,_filter,_filter] Allow more hint types for uniform arrays | ||||
| * | Allow more hint types for uniform arrays | kobewi | 2023-07-06 | 1 | -1/+6 |
| | | |||||
* | | Merge pull request #78839 from lewiji/normal_roughness_mobile_fix | Rémi Verschelde | 2023-07-08 | 1 | -2/+2 |
|\ \ | | | | | | | | | | Fix invalid shader compilation when using `hint_normal_roughness_texture` in mobile backend | ||||
| * | | Return shader parse error when using 'hint_normal_roughness_texture' and not ↵ | lewiji | 2023-06-29 | 1 | -2/+2 |
| |/ | | | | | | | using the Forward+ backend | ||||
* / | Fix using uint suffix at the hex number declaration in shaders | Yuri Roubinski | 2023-07-01 | 1 | -1/+8 |
|/ | |||||
* | Fix shader uniform storage conversions and crash | bitsawer | 2023-05-29 | 1 | -7/+7 |
| | |||||
* | Exclude incorrect completion options for `render_mode` in shaders | Yuri Rubinsky | 2023-05-15 | 1 | -0/+6 |
| | |||||
* | Enable shadow warnings and fix raised errors | Ninni Pipping | 2023-05-11 | 1 | -57/+57 |
| | |||||
* | Fix completion of `source_color` hint for texture arrays in shaders | Yuri Rubinsky | 2023-04-08 | 1 | -29/+35 |
| | |||||
* | Error on hint_normal_roughness_texture and hint_depth_texture outside of ↵ | Fabio Iotti | 2023-03-03 | 1 | -0/+8 |
| | | | | spatial shader | ||||
* | Forbid passing multiview sampler to the custom function in shaders | Yuri Rubinsky | 2023-02-21 | 1 | -2/+17 |
| | |||||
* | Improvements and fixes based on Weblate comments | Haoyu Qiu | 2023-02-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | * Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted". * Spell out "Animation" instead of using "Anim.". * Treat "Max" as regular word instead of writing "Max.". * Use generic "Set %s" for action name instead of a dedicated "Set target_position". * Add translator comment for: * "Inclusive" and "Self" in the profiler. * Places where it needs the context about being an editor progress label. * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation. * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal". * Fix wrong undo action name for renaming an input action. * Fix missing end quote in a shader error message. * In class reference: * Fix duplicated "if" in the description of `signf()`. * Fix mismatched example output in `String.operator %()`. * Fix typo in the description of `Decal.texture_emission`. * Unify description of `String.match()` and `StringName.match()`. | ||||
* | Improve some editor strings for localization | Haoyu Qiu | 2023-02-09 | 1 | -2/+2 |
| | |||||
* | Mark fma function as high end so it isn't used with the gl_compatibility ↵ | clayjohn | 2023-02-08 | 1 | -4/+4 |
| | | | | renderer | ||||
* | Merge pull request #72494 from Chaosus/shader_fix_const_init | Rémi Verschelde | 2023-02-02 | 1 | -1/+23 |
|\ | | | | | | | Fix shader failure when using non-const initializer on a constant | ||||
| * | Fix shader failure when using non-const initializer on a constant | Yuri Rubinsky | 2023-02-01 | 1 | -1/+23 |
| | | |||||
* | | More codespell fixes, do more changes from previous ignore list | Rémi Verschelde | 2023-02-01 | 1 | -4/+4 |
|/ | |||||
* | Add a shader error when trying to using hint_normal_roughness_texture in the ↵ | clayjohn | 2023-01-30 | 1 | -0/+4 |
| | | | | gl_compatibility renderer | ||||
* | Merge pull request #72138 from clayjohn/GL-globals | Rémi Verschelde | 2023-01-26 | 1 | -0/+4 |
|\ | | | | | | | Properly append global uniform buffer name in gl_compatibility shaders | ||||
| * | Properly append global uniform buffer name in gl_compatibility shaders | clayjohn | 2023-01-26 | 1 | -0/+4 |
| | | | | | | | | Also error when using instance uniforms | ||||
* | | Merge pull request #72109 from Chaosus/shader_derivative | Rémi Verschelde | 2023-01-26 | 1 | -0/+42 |
|\ \ | | | | | | | | | | Add derivative functions with precision to shaders | ||||
| * | | Add derivative functions with precision to shaders | Yuri Rubinsky | 2023-01-26 | 1 | -0/+42 |
| |/ | |||||
* / | Several shader preprocessor parser fixes and improvements | bitsawer | 2023-01-26 | 1 | -1/+1 |
|/ | |||||
* | Fix array of token names in the shader parser | Yuri Rubinsky | 2023-01-25 | 1 | -5/+15 |
| | |||||
* | Fix type in hint when using removed built-in textures | PrecisionRender | 2023-01-20 | 1 | -1/+1 |
| | |||||
* | Decrement texture_binding count when using screen textures | clayjohn | 2023-01-20 | 1 | -0/+3 |
| | |||||
* | Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTURE | clayjohn | 2023-01-18 | 1 | -0/+6 |
| | | | | in favour of texture hints | ||||
* | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 1 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see". | ||||
* | Fix shader crash when using boolean type for vertex->fragment varyings | Yuri Rubinsky | 2022-12-23 | 1 | -2/+33 |
| | |||||
* | Add missing != operator to `StringName` | Yuri Rubinsky | 2022-12-20 | 1 | -1/+1 |
| | |||||
* | Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resources | Rémi Verschelde | 2022-11-24 | 1 | -3/+3 |
| | |||||
* | Shader: Set proper resource type hints for sampler uniforms | Rémi Verschelde | 2022-11-22 | 1 | -17/+15 |
| | | | | Supersedes #64383. | ||||
* | Code simplifications found by cppcheck | Markus Sauermann | 2022-11-21 | 1 | -2/+2 |
| | | | | | | | They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables |