Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1f | Spartan322 | 2024-11-06 | 1 | -1/+1 |
|\ | |||||
| * | Style: Apply `clang-tidy` fixes | Thaddeus Crews | 2024-11-04 | 1 | -1/+1 |
| | | | | | | | | | | • `modernize-use-default-member-init` and `readability-redundant-member-init` • Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies | ||||
* | | Fix copyright headers referring to Godot | Spartan322 | 2024-10-27 | 1 | -2/+2 |
| | | |||||
* | | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5 | Spartan322 | 2024-10-24 | 1 | -1/+3 |
|\| | |||||
| * | Merge pull request #93590 from Chaosus/shader_custom_func_discard | Yuri Rubinsky | 2024-10-24 | 1 | -1/+2 |
| |\ | | | | | | | Allow usage of `discard` inside custom shader functions | ||||
| | * | Allow usage of `discard` inside custom shader functions | Yuri Rubinsky | 2024-10-17 | 1 | -1/+2 |
| | | | |||||
| * | | Allow using stage functions inside custom shader functions | Yuri Rubinsky | 2024-10-17 | 1 | -0/+1 |
| |/ | |||||
* | | Merge commit godotengine/godot@af77100e394dcaca609b15bef815ed17475e51ed | Spartan322 | 2024-10-15 | 1 | -0/+4 |
|\| | |||||
| * | Implement custom function overloading in shading language | Yuri Rubinsky | 2024-10-08 | 1 | -0/+4 |
| | | |||||
* | | Rebrand preambles to Redot | Dubhghlas McLaughlin | 2024-10-11 | 1 | -0/+2 |
|/ | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com> | ||||
* | Add external texture support (GLES3) | David Snopek | 2024-09-20 | 1 | -0/+2 |
| | | | | | 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 | -0/+3 |
| | |||||
* | Add basic support to evaluate operator value in shader language | Yuri Rubinsky | 2024-09-09 | 1 | -14/+30 |
| | |||||
* | Merge pull request #94352 from Chaosus/shader_ternary_fix | Rémi Verschelde | 2024-08-28 | 1 | -2/+8 |
|\ | | | | | | | Fix multiple ternary expressions to be used without parenthesis | ||||
| * | Fix multiple ternary expressions to be used without parenthesis | Yuri Rubinsky | 2024-07-17 | 1 | -2/+8 |
| | | |||||
* | | Merge pull request #94324 from SomeRanDev/shader_hint_enum | Rémi Verschelde | 2024-08-20 | 1 | -0/+4 |
|\ \ | | | | | | | | | | GDShader: Add `hint_enum` for `uniform int` | ||||
| * | | Add `hint_enum` for uniform int in gdshader | Robert Borghese | 2024-07-13 | 1 | -0/+4 |
| |/ | |||||
* | | Merge pull request #94785 from Chaosus/shader_fix_samplers_order | Rémi Verschelde | 2024-08-19 | 1 | -0/+6 |
|\ \ | | | | | | | | | | 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/+6 |
| | | | |||||
* | | | Fix shader crash when the comma used in `for` loop as a trailing | Chaosus | 2024-08-10 | 1 | -0/+1 |
| | | | |||||
* | | | Restrict sampler hint validation to only screen texture hints | clayjohn | 2024-07-28 | 1 | -0/+1 |
|/ / | |||||
* | | Emit normal_roughness compatibility code in custom functions | clayjohn | 2024-07-26 | 1 | -37/+38 |
| | | |||||
* | | Fix shader crash when using a varying in separate func before it defined | Yuri Rubinsky | 2024-07-23 | 1 | -1/+14 |
|/ | |||||
* | Improve code for setup of `global_func_set` in `ShaderLanguage` | Yuri Rubinsky | 2024-07-02 | 1 | -0/+2 |
| | |||||
* | Merge pull request #93469 from Chaosus/shader_fix_crash | Rémi Verschelde | 2024-06-25 | 1 | -1/+1 |
|\ | | | | | | | Fix crash on shader constant initialization on MinGW compiler | ||||
| * | Fix crash on shader constant initialization on MinGW compiler | Yuri Rubinsky | 2024-06-22 | 1 | -1/+1 |
| | | |||||
* | | Forbid calling of derivative functions in incorrect functions | Yuri Rubinsky | 2024-06-21 | 1 | -0/+18 |
|/ | |||||
* | Prevent using built-ins for func names in shaders | Yuri Rubinsky | 2024-05-30 | 1 | -1/+1 |
| | |||||
* | Fix completion of functions with struct param/return type in shaders | Yuri Rubinsky | 2024-05-28 | 1 | -2/+2 |
| | |||||
* | Enforce template syntax `typename` over `class` | Thaddeus Crews | 2024-03-07 | 1 | -1/+1 |
| | |||||
* | Add const lvalue ref to container parameters | Muller-Castro | 2024-01-05 | 1 | -2/+2 |
| | |||||
* | Merge pull request #81619 from Chaosus/fix_shader_const | Rémi Verschelde | 2023-10-03 | 1 | -1/+2 |
|\ | | | | | | | 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 | -1/+2 |
| | | |||||
* | | Fix shader language preprocessor include marker handling | bitsawer | 2023-09-06 | 1 | -0/+1 |
|/ | |||||
* | Enable shadow warnings and fix raised errors | Ninni Pipping | 2023-05-11 | 1 | -24/+24 |
| | |||||
* | Forbid passing multiview sampler to the custom function in shaders | Yuri Rubinsky | 2023-02-21 | 1 | -1/+1 |
| | |||||
* | Fix shader failure when using non-const initializer on a constant | Yuri Rubinsky | 2023-02-01 | 1 | -1/+1 |
| | |||||
* | 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 | -0/+2 |
| | |||||
* | Refactor `ShaderData` & fix the sorting of shader uniforms | Yuri Rubinsky | 2022-12-15 | 1 | -0/+6 |
| | |||||
* | Mark shader built-ins as used when passed to functions as out parameter | Yuri Rubinsky | 2022-11-15 | 1 | -0/+1 |
| | |||||
* | Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used | Rémi Verschelde | 2022-09-28 | 1 | -1/+1 |
| | |||||
* | Prevent duplicated hints in shader uniform completion | Yuri Rubinsky | 2022-09-11 | 1 | -0/+4 |
| | |||||
* | Add shader uniform hints for screen textures so users can specify custom ↵ | clayjohn | 2022-08-09 | 1 | -0/+6 |
| | | | | | | | | filter and repeat modes. At this time, it works best in the Vulkan Renderers as they support using multiple samplers with the same texture. In GLES3 this feature really only allows you to use the screen texture without mipmaps if you want to save the cost of generating them. | ||||
* | Add `hint_transparent` to use a transparent black placeholder texture | Hugo Locurcio | 2022-08-01 | 1 | -0/+2 |
| | | | | | This can be used in shaders to avoid the need to supply a transparent placeholder texture manually. | ||||
* | Rename RenderingServer global shader uniform methods to be more explicit | Hugo Locurcio | 2022-07-28 | 1 | -3/+3 |
| | | | | | The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference. | ||||
* | Implement shader uniform groups/subgroups | Yuri Rubinsky | 2022-07-26 | 1 | -0/+6 |
| | |||||
* | Fix errors when using built-ins in shaderinc | Yuri Rubinsky | 2022-07-25 | 1 | -1/+2 |
| | |||||
* | Clean up Shader Preprocessor | reduz | 2022-07-22 | 1 | -4/+9 |
| | | | | | | | | | * Moved preprocessor to Shader and ShaderInclude * Clean up RenderingServer side * Preprocessor is separate from parser now, but it emits tokens with include location hints. * Improved ShaderEditor validation code * Added include file code completion * Added notification for all files affected by a broken include. | ||||
* | Adding shader preprocessor support | Yuri Roubinsky | 2022-07-22 | 1 | -1/+7 |
| | | | | Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com> |