summaryrefslogtreecommitdiffstats
path: root/tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl')
-rw-r--r--tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl56
1 files changed, 0 insertions, 56 deletions
diff --git a/tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl b/tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl
deleted file mode 100644
index a0fb3c9ce..000000000
--- a/tests/hlsl/dxsdk/BasicHLSL11/BasicHLSL11_VS.hlsl
+++ /dev/null
@@ -1,56 +0,0 @@
-//TEST:COMPARE_HLSL: -profile vs_4_0 -entry VSMain
-
-#ifndef __SLANG__
-#define cbPerObject cbPerObject_0
-#define g_mWorldViewProjection g_mWorldViewProjection_0
-#define g_mWorld g_mWorld_0
-#endif
-
-//--------------------------------------------------------------------------------------
-// File: BasicHLSL11_VS.hlsl
-//
-// The vertex shader file for the BasicHLSL11 sample.
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//--------------------------------------------------------------------------------------
-
-//--------------------------------------------------------------------------------------
-// Globals
-//--------------------------------------------------------------------------------------
-cbuffer cbPerObject : register( b0 )
-{
- matrix g_mWorldViewProjection ;//SLANG: : packoffset( c0 );
- matrix g_mWorld ;//SLANG: : packoffset( c4 );
-};
-
-//--------------------------------------------------------------------------------------
-// Input / Output structures
-//--------------------------------------------------------------------------------------
-struct VS_INPUT
-{
- float4 vPosition : POSITION;
- float3 vNormal : NORMAL;
- float2 vTexcoord : TEXCOORD0;
-};
-
-struct VS_OUTPUT
-{
- float3 vNormal : NORMAL;
- float2 vTexcoord : TEXCOORD0;
- float4 vPosition : SV_POSITION;
-};
-
-//--------------------------------------------------------------------------------------
-// Vertex Shader
-//--------------------------------------------------------------------------------------
-VS_OUTPUT VSMain( VS_INPUT Input )
-{
- VS_OUTPUT Output;
-
- Output.vPosition = mul( Input.vPosition, g_mWorldViewProjection );
- Output.vNormal = mul( Input.vNormal, (float3x3)g_mWorld );
- Output.vTexcoord = Input.vTexcoord;
-
- return Output;
-}
-