Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
1.4 KiB

// ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// defined $LIGHTING_PREVIEW && defined $FASTPATH && $LIGHTING_PREVIEW && $FASTPATH
#include "shaderlib/cshader.h"
class ssao_vs20_Static_Index
{
private:
int m_nFINAL;
#ifdef _DEBUG
bool m_bFINAL;
#endif
public:
void SetFINAL( int i )
{
Assert( i >= 0 && i <= 1 );
m_nFINAL = i;
#ifdef _DEBUG
m_bFINAL = true;
#endif
}
void SetFINAL( bool i )
{
m_nFINAL = i ? 1 : 0;
#ifdef _DEBUG
m_bFINAL = true;
#endif
}
public:
// CONSTRUCTOR
ssao_vs20_Static_Index( IShaderShadow *pShaderShadow, IMaterialVar **params )
{
#ifdef _DEBUG
m_bFINAL = false;
#endif // _DEBUG
m_nFINAL = 0;
}
int GetIndex()
{
// Asserts to make sure that we aren't using any skipped combinations.
// Asserts to make sure that we are setting all of the combination vars.
#ifdef _DEBUG
bool bAllStaticVarsDefined = m_bFINAL;
Assert( bAllStaticVarsDefined );
#endif // _DEBUG
return ( 1 * m_nFINAL ) + 0;
}
};
#define shaderStaticTest_ssao_vs20 vsh_forgot_to_set_static_FINAL + 0
class ssao_vs20_Dynamic_Index
{
public:
// CONSTRUCTOR
ssao_vs20_Dynamic_Index( IShaderDynamicAPI *pShaderAPI )
{
}
int GetIndex()
{
// Asserts to make sure that we aren't using any skipped combinations.
// Asserts to make sure that we are setting all of the combination vars.
#ifdef _DEBUG
#endif // _DEBUG
return 0;
}
};
#define shaderDynamicTest_ssao_vs20 0