diff options
| author | Narendra Umate <[email protected]> | 2013-12-08 01:27:41 -0800 |
|---|---|---|
| committer | Narendra Umate <[email protected]> | 2013-12-08 01:27:41 -0800 |
| commit | 4fa56874ba1557274c10077bf8386ece4c61dbd6 (patch) | |
| tree | e2d336604e960b548e996d2e7dcfc5a1e1401b9e /mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc | |
| parent | Added DS_Store to .gitignore. (diff) | |
| parent | Make libSDL2.so/dylib into symlinks. (diff) | |
| download | source-sdk-2013-4fa56874ba1557274c10077bf8386ece4c61dbd6.tar.xz source-sdk-2013-4fa56874ba1557274c10077bf8386ece4c61dbd6.zip | |
Merge remote-tracking branch 'upstream/master'
Reverted .gitattributes xcode_ccache_wrapper change. Fixed line endings
for .gitignore and .gitattributes.
Diffstat (limited to 'mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc')
| -rw-r--r-- | mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc b/mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc index 9faf9ecd..aa434b4e 100644 --- a/mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc +++ b/mp/src/materialsystem/stdshaders/SDK_bloomadd_ps2x.fxc @@ -1,23 +1,23 @@ -//======= Copyright � 1996-2006, Valve Corporation, All rights reserved. ======
-#define CONVERT_TO_SRGB 0
-
-#include "common_ps_fxc.h"
-
-sampler TexSampler : register( s0 );
-
-struct PS_INPUT
-{
- HALF2 baseTexCoord : TEXCOORD0; // Base texture coordinate
-
-#if defined( _X360 ) //matching pixel shader inputs to vertex shader outputs to avoid shader patches
- float2 ZeroTexCoord : TEXCOORD1;
- float2 bloomTexCoord : TEXCOORD2;
-#endif
-};
-
-float4 main( PS_INPUT i ) : COLOR
-{
- float4 result = tex2D( TexSampler, i.baseTexCoord );
- result.a = 1.0f;
- return result; //FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
-}
+//======= Copyright � 1996-2006, Valve Corporation, All rights reserved. ====== +#define CONVERT_TO_SRGB 0 + +#include "common_ps_fxc.h" + +sampler TexSampler : register( s0 ); + +struct PS_INPUT +{ + HALF2 baseTexCoord : TEXCOORD0; // Base texture coordinate + +#if defined( _X360 ) //matching pixel shader inputs to vertex shader outputs to avoid shader patches + float2 ZeroTexCoord : TEXCOORD1; + float2 bloomTexCoord : TEXCOORD2; +#endif +}; + +float4 main( PS_INPUT i ) : COLOR +{ + float4 result = tex2D( TexSampler, i.baseTexCoord ); + result.a = 1.0f; + return result; //FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE ); +} |