diff options
Diffstat (limited to 'tests/compute/constexpr.slang')
| -rw-r--r-- | tests/compute/constexpr.slang | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/compute/constexpr.slang b/tests/compute/constexpr.slang index f1cd76841..5370de733 100644 --- a/tests/compute/constexpr.slang +++ b/tests/compute/constexpr.slang @@ -52,6 +52,7 @@ struct VertexStageOutput float4 sv_position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -77,6 +78,7 @@ struct FragmentStageOutput Fragment fragment : SV_Target; }; +[shader("fragment")] FragmentStageOutput fragmentMain(FragmentStageInput input) { // The texel offset argument to `Texture2D.Sample` is |
