mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-07 19:32:09 +03:00
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.
24 lines
651 B
Plaintext
24 lines
651 B
Plaintext
//======= 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 );
|
|
}
|