Yuri Roubinsky
|
0f42a29864
Allow using more assignment operators on matrixes in shaders
|
4 years ago |
Yuri Roubinsky
|
fead1595f9
Fix shader crash when using varying array in fragment->light context
|
4 years ago |
Yuri Roubinsky
|
c082982a47
Fix editor crash if passing index as variable to function parameter
|
4 years ago |
Yuri Roubinsky
|
b47b3a9957
Prevents shader crashing if varying assigned incorrectly
|
4 years ago |
Yuri Roubinsky
|
3013324a4e
Fix compilation of `shader_language.cpp`
|
4 years ago |
Rémi Verschelde
|
a8fcfbf029
Merge pull request #50729 from Chaosus/shader_varying_enchancements2
|
4 years ago |
Rémi Verschelde
|
9b9e09f675
Merge pull request #50728 from Chaosus/shader_varying_enchancements
|
4 years ago |
Rémi Verschelde
|
ac3322b0af
Use const references where possible for List range iterators
|
4 years ago |
Aaron Franke
|
4e6efd1b07
Use C++ iterators for Lists in many situations
|
4 years ago |
Yuri Roubinsky
|
17b462cc5f
Allow using vertex-stage varying in both `fragment` and `light`
|
4 years ago |
Yuri Roubinsky
|
94a7b04a01
Allow using vertex varying in custom functions under any circumstances
|
4 years ago |
Yuri Roubinsky
|
39c06604cd
Forbid varyings from assigning in custom functions to prevent crashes
|
4 years ago |
Yuri Roubinsky
|
14d5b47a27
Prevent error if varying assigned but not used (push warning instead)
|
4 years ago |
Yuri Roubinsky
|
5100eed012
Added a shader warning about unused local variable
|
4 years ago |
Lightning_A
|
b6af2a29eb
Rename `is_valid_integer()` to `is_valid_int()`
|
4 years ago |
Yuri Roubinsky
|
eec82d9f75
Prevent shader crash when returning array when return type is scalar
|
4 years ago |
Aaron Franke
|
08a85352fb
Rename Variant TRANSFORM to TRANSFORM3D
|
4 years ago |
Aaron Franke
|
de3f6699a5
Rename Transform to Transform3D in core
|
4 years ago |
Yuri Roubinsky
|
5874b7a29c
Allow shader arrays to be passed as parameters and return value
|
4 years ago |
Yuri Roubinsky
|
084648bd18
Basic warning support implementation for the Godot Shading Language.
|
4 years ago |
Yuri Roubinsky
|
6135744786
Implements length() shader function for arrays in structs
|
4 years ago |
Yuri Roubinsky
|
96b2e54c70
Fix typo in shader_language.cpp
|
4 years ago |
Hugo Locurcio
|
e905e8f145
Highlight control flow keywords with a different color
|
4 years ago |
Yuri Roubinsky
|
3c82f01134
Fix shader handle constant expressions in function call
|
4 years ago |
Dennis Brakhane
|
31d41d83c3
Remove duplicate comments
|
4 years ago |
reduz
|
d3b49c416a
Refactor GLSL shader compilation
|
4 years ago |
Rémi Verschelde
|
d83761ba80
Style: Apply clang-tidy's `readability-braces-around-statements`
|
4 years ago |
Rémi Verschelde
|
9bbe51dc27
Style: Apply clang-tidy's `modernize-use-nullptr`
|
4 years ago |
Rémi Verschelde
|
e9cb64a8b5
Merge pull request #46522 from Ev1lbl0w/bugfix-shader_noret
|
4 years ago |
Yuri Roubinsky
|
19e0a1ec9d
Fix parsing hexadecimal (lowercase `e`,`f`) in shaders
|
4 years ago |