diff options
Diffstat (limited to 'tests/render')
| -rw-r--r-- | tests/render/cross-compile-entry-point.slang | 2 | ||||
| -rw-r--r-- | tests/render/cross-compile0.hlsl | 2 | ||||
| -rw-r--r-- | tests/render/imported-parameters.hlsl | 2 | ||||
| -rw-r--r-- | tests/render/multiple-stage-io-locations-without-user-semantics.slang | 2 | ||||
| -rw-r--r-- | tests/render/multiple-stage-io-locations.slang | 2 | ||||
| -rw-r--r-- | tests/render/nointerpolation.hlsl | 2 | ||||
| -rw-r--r-- | tests/render/render0.hlsl | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/tests/render/cross-compile-entry-point.slang b/tests/render/cross-compile-entry-point.slang index d8cb687c5..3b5faa111 100644 --- a/tests/render/cross-compile-entry-point.slang +++ b/tests/render/cross-compile-entry-point.slang @@ -50,6 +50,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -76,6 +77,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/cross-compile0.hlsl b/tests/render/cross-compile0.hlsl index 1d33b68bf..1820a17f0 100644 --- a/tests/render/cross-compile0.hlsl +++ b/tests/render/cross-compile0.hlsl @@ -45,6 +45,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -71,6 +72,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/imported-parameters.hlsl b/tests/render/imported-parameters.hlsl index 495ff8da2..1ed27bfa0 100644 --- a/tests/render/imported-parameters.hlsl +++ b/tests/render/imported-parameters.hlsl @@ -38,6 +38,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -64,6 +65,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/multiple-stage-io-locations-without-user-semantics.slang b/tests/render/multiple-stage-io-locations-without-user-semantics.slang index af0e3e39f..585b8e34e 100644 --- a/tests/render/multiple-stage-io-locations-without-user-semantics.slang +++ b/tests/render/multiple-stage-io-locations-without-user-semantics.slang @@ -31,6 +31,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -58,6 +59,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/multiple-stage-io-locations.slang b/tests/render/multiple-stage-io-locations.slang index 9f74d1398..5e27a9cf1 100644 --- a/tests/render/multiple-stage-io-locations.slang +++ b/tests/render/multiple-stage-io-locations.slang @@ -32,6 +32,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -59,6 +60,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/nointerpolation.hlsl b/tests/render/nointerpolation.hlsl index d514379d0..145bd3bed 100644 --- a/tests/render/nointerpolation.hlsl +++ b/tests/render/nointerpolation.hlsl @@ -41,6 +41,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -66,6 +67,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; diff --git a/tests/render/render0.hlsl b/tests/render/render0.hlsl index 90ca42430..9fd169b06 100644 --- a/tests/render/render0.hlsl +++ b/tests/render/render0.hlsl @@ -38,6 +38,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -63,6 +64,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { FragmentStageOutput output; |
