Module: vkd3d Branch: master Commit: c588f33822c10cc896947d31d279065654f748e6 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/c588f33822c10cc896947d31d27906...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Nov 1 19:44:39 2023 +0100
tests: Add some tests for using technique blocks when compiling for pixel/vertex profiles.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
---
tests/hlsl/technique-fx_2.shader_test | 37 +++++++++++++++++++++++++++++++++++ tests/hlsl/technique-fx_4.shader_test | 37 +++++++++++++++++++++++++++++++++++ tests/hlsl/technique-fx_5.shader_test | 37 +++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+)
diff --git a/tests/hlsl/technique-fx_2.shader_test b/tests/hlsl/technique-fx_2.shader_test index 149506e6..9eaa9a65 100644 --- a/tests/hlsl/technique-fx_2.shader_test +++ b/tests/hlsl/technique-fx_2.shader_test @@ -102,3 +102,40 @@ technique tEchnique11 { } + +% Regular shaders with technique blocks +[vertex shader todo] +float4 main() : sv_position +{ + return 0; +} + +technique +{ +} + +technique10 +{ +} + +technique11 +{ +} + +[pixel shader todo] +float4 main() : sv_target +{ + return 0; +} + +tEchnique +{ +} + +technique10 +{ +} + +technique11 +{ +} diff --git a/tests/hlsl/technique-fx_4.shader_test b/tests/hlsl/technique-fx_4.shader_test index dd4fdc27..8102e78b 100644 --- a/tests/hlsl/technique-fx_4.shader_test +++ b/tests/hlsl/technique-fx_4.shader_test @@ -81,3 +81,40 @@ float4 technIque10;
[effect todo] float4 technIque11; + +% Regular shaders with technique blocks +[vertex shader todo] +float4 main() : sv_position +{ + return 0; +} + +technique +{ +} + +technique10 +{ +} + +technique11 +{ +} + +[pixel shader todo] +float4 main() : sv_target +{ + return 0; +} + +tEchnique +{ +} + +technique10 +{ +} + +technique11 +{ +} diff --git a/tests/hlsl/technique-fx_5.shader_test b/tests/hlsl/technique-fx_5.shader_test index ae253234..047ed2f2 100644 --- a/tests/hlsl/technique-fx_5.shader_test +++ b/tests/hlsl/technique-fx_5.shader_test @@ -81,3 +81,40 @@ float4 technIque10;
[effect todo] float4 technIque11; + +% Regular shaders with technique blocks +[vertex shader todo] +float4 main() : sv_position +{ + return 0; +} + +technique +{ +} + +technique10 +{ +} + +technique11 +{ +} + +[pixel shader todo] +float4 main() : sv_target +{ + return 0; +} + +tEchnique +{ +} + +technique10 +{ +} + +technique11 +{ +}