blender/source/blender/gpu/shader_tool/tests
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
..
expression_test.cc
flow_control_test.cc GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00
function_test.cc
grammar_test.cc
metadata_test.cc
namespace_test.cc
parser_test.cc
resource_table_test.cc GPU: Shader: Add support for conditional Shader Interfaces 2026-08-26 17:46:03 +02:00
shader_preprocess_test.cc GPU: Shader: Add support for conditional Shader Interfaces 2026-08-26 17:46:03 +02:00
shader_tool_testing.hh Cleanup: spelling in comments and strings (make check_spelling_*) 2026-08-25 13:46:22 +10:00
struct_test.cc GPU: Shader Tool: Add support for bitfields 2026-09-07 12:29:38 +02:00
syntax_test.cc GPU: Shader Tool: Support vector constexpr 2026-09-16 17:30:59 +02:00
templates_test.cc GPU: Shader: Misc changes for BSL 5.3 2026-09-18 17:44:09 +02:00