GPU: Replace old shader tests with shader builder. #105592

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:gpu-remove-old-shader-tests into main 2023-03-09 10:41:08 +01:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker 8a94539577 GPU: Replace old shader tests with shader builder.
Both the shader_builder and existing shader tests eventually
tested the same aspects. shader_builder is more modern and
handles more cases.

The old shader test requires a full backend in order to run
This commit replaces the old tests to just use the
shader builder for validation.

Shader builder can still be run at compile time, this is
just a convenience to have as a test case as well for CI/CD.

Ref: #105482
2023-03-09 10:34:42 +01:00