From b5dc4a85433a908d38d453e98d7d45e22e2a5fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20P=2E=20Tjern=C3=B8?= Date: Tue, 3 Dec 2013 10:39:23 -0800 Subject: Line-ending fixes for most of the remaining files. Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst, proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj, vcxproj, sln, in, java, la, manifest, am, and rad. Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and gitignore. Finally, fixes executable bits. --- .../stdshaders/SDK_screenspaceeffect_vs20.fxc | 94 +++++++++++----------- 1 file changed, 47 insertions(+), 47 deletions(-) (limited to 'mp/src/materialsystem/stdshaders/SDK_screenspaceeffect_vs20.fxc') diff --git a/mp/src/materialsystem/stdshaders/SDK_screenspaceeffect_vs20.fxc b/mp/src/materialsystem/stdshaders/SDK_screenspaceeffect_vs20.fxc index eec88ba2..96cb8990 100644 --- a/mp/src/materialsystem/stdshaders/SDK_screenspaceeffect_vs20.fxc +++ b/mp/src/materialsystem/stdshaders/SDK_screenspaceeffect_vs20.fxc @@ -1,47 +1,47 @@ -//========= Copyright © 1996-2006, Valve Corporation, All rights reserved. ============// - -// STATIC: "X360APPCHOOSER" "0..1" [= 0] - -#include "common_vs_fxc.h" - -struct VS_INPUT -{ - float3 vPos : POSITION; - float2 vBaseTexCoord : TEXCOORD0; - - #if X360APPCHOOSER - float4 vColor : COLOR0; - #endif -}; - -struct VS_OUTPUT -{ - float4 projPos : POSITION; - float2 baseTexCoord : TEXCOORD0; - float2 ZeroTexCoord : TEXCOORD1; - float2 bloomTexCoord : TEXCOORD2; - - #if X360APPCHOOSER - float4 vColor : TEXCOORD3; - #endif -}; - -float4 Texel_Sizes : register (SHADER_SPECIFIC_CONST_0); - -VS_OUTPUT main( const VS_INPUT v ) -{ - VS_OUTPUT o = ( VS_OUTPUT )0; - - o.projPos = float4( v.vPos, 1.0f ); - o.baseTexCoord = v.vBaseTexCoord; - o.ZeroTexCoord=float2(0,0); - o.bloomTexCoord.x=v.vBaseTexCoord.x+Texel_Sizes.z; - o.bloomTexCoord.y=v.vBaseTexCoord.y+Texel_Sizes.w; - - #if X360APPCHOOSER - o.vColor.rgba = v.vColor.rgba; - o.projPos.xyzw = mul( float4( v.vPos.xyz, 1.0f ), cModelViewProj ); - #endif - - return o; -} +//========= Copyright © 1996-2006, Valve Corporation, All rights reserved. ============// + +// STATIC: "X360APPCHOOSER" "0..1" [= 0] + +#include "common_vs_fxc.h" + +struct VS_INPUT +{ + float3 vPos : POSITION; + float2 vBaseTexCoord : TEXCOORD0; + + #if X360APPCHOOSER + float4 vColor : COLOR0; + #endif +}; + +struct VS_OUTPUT +{ + float4 projPos : POSITION; + float2 baseTexCoord : TEXCOORD0; + float2 ZeroTexCoord : TEXCOORD1; + float2 bloomTexCoord : TEXCOORD2; + + #if X360APPCHOOSER + float4 vColor : TEXCOORD3; + #endif +}; + +float4 Texel_Sizes : register (SHADER_SPECIFIC_CONST_0); + +VS_OUTPUT main( const VS_INPUT v ) +{ + VS_OUTPUT o = ( VS_OUTPUT )0; + + o.projPos = float4( v.vPos, 1.0f ); + o.baseTexCoord = v.vBaseTexCoord; + o.ZeroTexCoord=float2(0,0); + o.bloomTexCoord.x=v.vBaseTexCoord.x+Texel_Sizes.z; + o.bloomTexCoord.y=v.vBaseTexCoord.y+Texel_Sizes.w; + + #if X360APPCHOOSER + o.vColor.rgba = v.vColor.rgba; + o.projPos.xyzw = mul( float4( v.vPos.xyz, 1.0f ), cModelViewProj ); + #endif + + return o; +} -- cgit v1.2.3