blender/source/blender/gpu/shaders
Clément Foucault 882e62d1c7 GPU: Shader: Misc changes for BSL 5.3
## Fix: GPU: Shader Tool: Codegen bugs

- Inlining not reseting cursor properly.
- Enum defines missing newline.
- Entry points requiring create intos.
- Missing condition for vertex inputs.
- Node input qualifier parsing error.
- Node parser bailing out on first mismatch.

## GPU: Shader Tool: Do not output create info for runtime generated files

This avoid issue with redefined `KernelGlobals`.
Although we need a solution for when
there will be a second implementation.

## Fix: GPU: Shader Tool: Error in node signature parsing

Also make the enum system more robust by
output enum names, and reporting error on parsing
instead of at runtime.

## GPU: Shader: Misc changes for BSL 5.3

- Implement functions in material interface.
- Make KernelGlobals a resource table in material interface.
- Add missing includes.
- Use `[[force_inline]]` to replace some macros.
- Rework `dF_*` functions / macros to avoid ambiguity.
- Move `node_attribute_layer_impl` to EEVEE.
- Move `front_facing` to `ShadingData`.
- Move point infos to `ShadingData`.
- Fix static function call from templated type.
- Remove usage of `gl_WorkGroupSize`.
- Fix `[[condition]]` attribute parsing.
- Avoid out of bound read in constexpr eval.
- Convert macros in shader_test_lib to templates.

Pull Request: https://projects.blender.org/blender/blender/pulls/164112
2026-09-18 17:44:09 +02:00
..
common GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
compat GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
infos Cleanup: add missing doxygen \file comments 2026-09-03 14:54:13 +10:00
material GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
nodes GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
python Cleanup: GPU: Shader: Move python shaders to their own folders 2026-08-31 12:26:05 +02:00
bsl_shader_linting.cc Draw: GSplat implementation in EEVEE/Workbench/Overlay 2026-09-16 16:52:13 +02:00
CMakeLists.txt Cleanup: sort cmake file lists 2026-09-11 12:11:29 +10:00
gpu_shader_annotation.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_area_borders.bsl.hh GPU: Shader: Port area & window border shaders to BSL 2026-08-27 11:21:32 +02:00
gpu_shader_codegen_lib.glsl GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
gpu_shader_colorspace.bsl.hh GPU: Shader: Port builtin shaders to BSL 2026-08-26 17:46:03 +02:00
gpu_shader_display_fallback.bsl.hh GPU: Shader: Port display fallback shader to BSL 2026-08-31 12:26:04 +02:00
gpu_shader_icon.bsl.hh GPU: Shader: Port Icon shader to BSL 2026-08-27 11:21:30 +02:00
gpu_shader_image.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_index_gen.bsl.hh GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
gpu_shader_keyframe_shape.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_node_socket.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_nodelink.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_polyline.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_sequencer_scope.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_sequencer_widget.bsl.hh GPU: Shader: Port sequencer widgets & zebra shaders to BSL 2026-08-31 12:26:05 +02:00
gpu_shader_sequencer_zebra.bsl.hh GPU: Shader: Port common nodes to BSL 2026-09-09 09:31:55 +02:00
gpu_shader_simple.bsl.hh Cleanup: GPU: Shader: Remove unused variables 2026-09-07 12:29:36 +02:00
gpu_shader_text.bsl.hh GPU: Shader: Cleanup and bugfix for BSL 5.3 2026-09-17 17:09:14 +02:00
gpu_shader_update_mipmaps.bsl.hh GPU: Shader: Cleanup and bugfix for BSL 5.3 2026-09-17 17:09:14 +02:00
gpu_shader_widget_base.bsl.hh GPU: Shader: Cleanup and bugfix for BSL 5.3 2026-09-17 17:09:14 +02:00
gpu_shader_widget_shadow.bsl.hh GPU: Shader: Cleanup and bugfix for BSL 5.3 2026-09-17 17:09:14 +02:00