/*---------------------------------------------------------------------------

    NN Library for LINDBERGH Standard Shader

    Copyright (C) 2004 - 2006 SEGA Corporation Creative Center Graphics Sect.
    All Rights Reserved.

    Module  : NN Standard Shader
    File    : 
    Create  : 2006/05/15
    Modify  : 
    Version : 1.13.04
    Note    : 

---------------------------------------------------------------------------*/

#if (NNGLD_OPT_TEX_NORMAL == 0)
	#define NNGLD_BINDTEX_NORMAL			: register(s0)
#endif
#if (NNGLD_OPT_TEX_BASE == 0)
	#define NNGLD_BINDTEX_BASE				: register(s0)
#elif (NNGLD_OPT_TEX_BASE == 1)
	#define NNGLD_BINDTEX_BASE				: register(s1)
#endif
#if (NNGLD_OPT_TEX_DECAL == 0)
	#define NNGLD_BINDTEX_DECAL				: register(s0)
#elif (NNGLD_OPT_TEX_DECAL == 1)
	#define NNGLD_BINDTEX_DECAL				: register(s1)
#elif (NNGLD_OPT_TEX_DECAL == 2)
	#define NNGLD_BINDTEX_DECAL				: register(s2)
#endif
#if (NNGLD_OPT_TEX_DECAL2 == 0)
	#define NNGLD_BINDTEX_DECAL2			: register(s0)
#elif (NNGLD_OPT_TEX_DECAL2 == 1)
	#define NNGLD_BINDTEX_DECAL2			: register(s1)
#elif (NNGLD_OPT_TEX_DECAL2 == 2)
	#define NNGLD_BINDTEX_DECAL2			: register(s2)
#elif (NNGLD_OPT_TEX_DECAL2 == 3)
	#define NNGLD_BINDTEX_DECAL2			: register(s3)
#endif
#if (NNGLD_OPT_TEX_DECAL3 == 0)
	#define NNGLD_BINDTEX_DECAL3			: register(s0)
#elif (NNGLD_OPT_TEX_DECAL3 == 1)
	#define NNGLD_BINDTEX_DECAL3			: register(s1)
#elif (NNGLD_OPT_TEX_DECAL3 == 2)
	#define NNGLD_BINDTEX_DECAL3			: register(s2)
#elif (NNGLD_OPT_TEX_DECAL3 == 3)
	#define NNGLD_BINDTEX_DECAL3			: register(s3)
#elif (NNGLD_OPT_TEX_DECAL3 == 4)
	#define NNGLD_BINDTEX_DECAL3			: register(s4)
#endif
#if (NNGLD_OPT_TEX_SPECULAR == 0)
	#define NNGLD_BINDTEX_SPECULAR			: register(s0)
#elif (NNGLD_OPT_TEX_SPECULAR == 1)
	#define NNGLD_BINDTEX_SPECULAR			: register(s1)
#elif (NNGLD_OPT_TEX_SPECULAR == 2)
	#define NNGLD_BINDTEX_SPECULAR			: register(s2)
#elif (NNGLD_OPT_TEX_SPECULAR == 3)
	#define NNGLD_BINDTEX_SPECULAR			: register(s3)
#elif (NNGLD_OPT_TEX_SPECULAR == 4)
	#define NNGLD_BINDTEX_SPECULAR			: register(s4)
#elif (NNGLD_OPT_TEX_SPECULAR == 5)
	#define NNGLD_BINDTEX_SPECULAR			: register(s5)
#endif
#if (NNGLD_OPT_TEX_SHININESS == 0)
	#define NNGLD_BINDTEX_SHININESS			: register(s0)
#elif (NNGLD_OPT_TEX_SHININESS == 1)
	#define NNGLD_BINDTEX_SHININESS			: register(s1)
#elif (NNGLD_OPT_TEX_SHININESS == 2)
	#define NNGLD_BINDTEX_SHININESS			: register(s2)
#elif (NNGLD_OPT_TEX_SHININESS == 3)
	#define NNGLD_BINDTEX_SHININESS			: register(s3)
#elif (NNGLD_OPT_TEX_SHININESS == 4)
	#define NNGLD_BINDTEX_SHININESS			: register(s4)
#elif (NNGLD_OPT_TEX_SHININESS == 5)
	#define NNGLD_BINDTEX_SHININESS			: register(s5)
#elif (NNGLD_OPT_TEX_SHININESS == 6)
	#define NNGLD_BINDTEX_SHININESS			: register(s6)
#endif
#if (NNGLD_OPT_TEX_DUALPARABOLOID == 0)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s0)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 1)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s1)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 2)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s2)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 3)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s3)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 4)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s4)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 5)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s5)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 6)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s6)
#elif (NNGLD_OPT_TEX_DUALPARABOLOID == 7)
	#define NNGLD_BINDTEX_DUALPARABOLOID	: register(s7)
#endif
#if (NNGLD_OPT_TEX_ENVMASK == 0)
	#define NNGLD_BINDTEX_ENVMASK			: register(s0)
#elif (NNGLD_OPT_TEX_ENVMASK == 1)
	#define NNGLD_BINDTEX_ENVMASK			: register(s1)
#elif (NNGLD_OPT_TEX_ENVMASK == 2)
	#define NNGLD_BINDTEX_ENVMASK			: register(s2)
#elif (NNGLD_OPT_TEX_ENVMASK == 3)
	#define NNGLD_BINDTEX_ENVMASK			: register(s3)
#elif (NNGLD_OPT_TEX_ENVMASK == 4)
	#define NNGLD_BINDTEX_ENVMASK			: register(s4)
#elif (NNGLD_OPT_TEX_ENVMASK == 5)
	#define NNGLD_BINDTEX_ENVMASK			: register(s5)
#elif (NNGLD_OPT_TEX_ENVMASK == 6)
	#define NNGLD_BINDTEX_ENVMASK			: register(s6)
#elif (NNGLD_OPT_TEX_ENVMASK == 7)
	#define NNGLD_BINDTEX_ENVMASK			: register(s7)
#endif
#if (NNGLD_OPT_TEX_MODULATE == 0)
	#define NNGLD_BINDTEX_MODULATE			: register(s0)
#elif (NNGLD_OPT_TEX_MODULATE == 1)
	#define NNGLD_BINDTEX_MODULATE			: register(s1)
#elif (NNGLD_OPT_TEX_MODULATE == 2)
	#define NNGLD_BINDTEX_MODULATE			: register(s2)
#elif (NNGLD_OPT_TEX_MODULATE == 3)
	#define NNGLD_BINDTEX_MODULATE			: register(s3)
#elif (NNGLD_OPT_TEX_MODULATE == 4)
	#define NNGLD_BINDTEX_MODULATE			: register(s4)
#elif (NNGLD_OPT_TEX_MODULATE == 5)
	#define NNGLD_BINDTEX_MODULATE			: register(s5)
#elif (NNGLD_OPT_TEX_MODULATE == 6)
	#define NNGLD_BINDTEX_MODULATE			: register(s6)
#elif (NNGLD_OPT_TEX_MODULATE == 7)
	#define NNGLD_BINDTEX_MODULATE			: register(s7)
#endif
#if (NNGLD_OPT_TEX_ADD == 0)
	#define NNGLD_BINDTEX_ADD				: register(s0)
#elif (NNGLD_OPT_TEX_ADD == 1)
	#define NNGLD_BINDTEX_ADD				: register(s1)
#elif (NNGLD_OPT_TEX_ADD == 2)
	#define NNGLD_BINDTEX_ADD				: register(s2)
#elif (NNGLD_OPT_TEX_ADD == 3)
	#define NNGLD_BINDTEX_ADD				: register(s3)
#elif (NNGLD_OPT_TEX_ADD == 4)
	#define NNGLD_BINDTEX_ADD				: register(s4)
#elif (NNGLD_OPT_TEX_ADD == 5)
	#define NNGLD_BINDTEX_ADD				: register(s5)
#elif (NNGLD_OPT_TEX_ADD == 6)
	#define NNGLD_BINDTEX_ADD				: register(s6)
#elif (NNGLD_OPT_TEX_ADD == 7)
	#define NNGLD_BINDTEX_ADD				: register(s7)
#endif
#if (NNGLD_OPT_TEX_OPACITY == 0)
	#define NNGLD_BINDTEX_OPACITY			: register(s0)
#elif (NNGLD_OPT_TEX_OPACITY == 1)
	#define NNGLD_BINDTEX_OPACITY			: register(s1)
#elif (NNGLD_OPT_TEX_OPACITY == 2)
	#define NNGLD_BINDTEX_OPACITY			: register(s2)
#elif (NNGLD_OPT_TEX_OPACITY == 3)
	#define NNGLD_BINDTEX_OPACITY			: register(s3)
#elif (NNGLD_OPT_TEX_OPACITY == 4)
	#define NNGLD_BINDTEX_OPACITY			: register(s4)
#elif (NNGLD_OPT_TEX_OPACITY == 5)
	#define NNGLD_BINDTEX_OPACITY			: register(s5)
#elif (NNGLD_OPT_TEX_OPACITY == 6)
	#define NNGLD_BINDTEX_OPACITY			: register(s6)
#elif (NNGLD_OPT_TEX_OPACITY == 7)
	#define NNGLD_BINDTEX_OPACITY			: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER1 == 0)
	#define NNGLD_BINDTEX_USER1				: register(s0)
#elif (NNGLD_OPT_TEX_USER1 == 1)
	#define NNGLD_BINDTEX_USER1				: register(s1)
#elif (NNGLD_OPT_TEX_USER1 == 2)
	#define NNGLD_BINDTEX_USER1				: register(s2)
#elif (NNGLD_OPT_TEX_USER1 == 3)
	#define NNGLD_BINDTEX_USER1				: register(s3)
#elif (NNGLD_OPT_TEX_USER1 == 4)
	#define NNGLD_BINDTEX_USER1				: register(s4)
#elif (NNGLD_OPT_TEX_USER1 == 5)
	#define NNGLD_BINDTEX_USER1				: register(s5)
#elif (NNGLD_OPT_TEX_USER1 == 6)
	#define NNGLD_BINDTEX_USER1				: register(s6)
#elif (NNGLD_OPT_TEX_USER1 == 7)
	#define NNGLD_BINDTEX_USER1				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER2 == 0)
	#define NNGLD_BINDTEX_USER2				: register(s0)
#elif (NNGLD_OPT_TEX_USER2 == 1)
	#define NNGLD_BINDTEX_USER2				: register(s1)
#elif (NNGLD_OPT_TEX_USER2 == 2)
	#define NNGLD_BINDTEX_USER2				: register(s2)
#elif (NNGLD_OPT_TEX_USER2 == 3)
	#define NNGLD_BINDTEX_USER2				: register(s3)
#elif (NNGLD_OPT_TEX_USER2 == 4)
	#define NNGLD_BINDTEX_USER2				: register(s4)
#elif (NNGLD_OPT_TEX_USER2 == 5)
	#define NNGLD_BINDTEX_USER2				: register(s5)
#elif (NNGLD_OPT_TEX_USER2 == 6)
	#define NNGLD_BINDTEX_USER2				: register(s6)
#elif (NNGLD_OPT_TEX_USER2 == 7)
	#define NNGLD_BINDTEX_USER2				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER3 == 0)
	#define NNGLD_BINDTEX_USER3				: register(s0)
#elif (NNGLD_OPT_TEX_USER3 == 1)
	#define NNGLD_BINDTEX_USER3				: register(s1)
#elif (NNGLD_OPT_TEX_USER3 == 2)
	#define NNGLD_BINDTEX_USER3				: register(s2)
#elif (NNGLD_OPT_TEX_USER3 == 3)
	#define NNGLD_BINDTEX_USER3				: register(s3)
#elif (NNGLD_OPT_TEX_USER3 == 4)
	#define NNGLD_BINDTEX_USER3				: register(s4)
#elif (NNGLD_OPT_TEX_USER3 == 5)
	#define NNGLD_BINDTEX_USER3				: register(s5)
#elif (NNGLD_OPT_TEX_USER3 == 6)
	#define NNGLD_BINDTEX_USER3				: register(s6)
#elif (NNGLD_OPT_TEX_USER3 == 7)
	#define NNGLD_BINDTEX_USER3				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER4 == 0)
	#define NNGLD_BINDTEX_USER4				: register(s0)
#elif (NNGLD_OPT_TEX_USER4 == 1)
	#define NNGLD_BINDTEX_USER4				: register(s1)
#elif (NNGLD_OPT_TEX_USER4 == 2)
	#define NNGLD_BINDTEX_USER4				: register(s2)
#elif (NNGLD_OPT_TEX_USER4 == 3)
	#define NNGLD_BINDTEX_USER4				: register(s3)
#elif (NNGLD_OPT_TEX_USER4 == 4)
	#define NNGLD_BINDTEX_USER4				: register(s4)
#elif (NNGLD_OPT_TEX_USER4 == 5)
	#define NNGLD_BINDTEX_USER4				: register(s5)
#elif (NNGLD_OPT_TEX_USER4 == 6)
	#define NNGLD_BINDTEX_USER4				: register(s6)
#elif (NNGLD_OPT_TEX_USER4 == 7)
	#define NNGLD_BINDTEX_USER4				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER5 == 0)
	#define NNGLD_BINDTEX_USER5				: register(s0)
#elif (NNGLD_OPT_TEX_USER5 == 1)
	#define NNGLD_BINDTEX_USER5				: register(s1)
#elif (NNGLD_OPT_TEX_USER5 == 2)
	#define NNGLD_BINDTEX_USER5				: register(s2)
#elif (NNGLD_OPT_TEX_USER5 == 3)
	#define NNGLD_BINDTEX_USER5				: register(s3)
#elif (NNGLD_OPT_TEX_USER5 == 4)
	#define NNGLD_BINDTEX_USER5				: register(s4)
#elif (NNGLD_OPT_TEX_USER5 == 5)
	#define NNGLD_BINDTEX_USER5				: register(s5)
#elif (NNGLD_OPT_TEX_USER5 == 6)
	#define NNGLD_BINDTEX_USER5				: register(s6)
#elif (NNGLD_OPT_TEX_USER5 == 7)
	#define NNGLD_BINDTEX_USER5				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER6 == 0)
	#define NNGLD_BINDTEX_USER6				: register(s0)
#elif (NNGLD_OPT_TEX_USER6 == 1)
	#define NNGLD_BINDTEX_USER6				: register(s1)
#elif (NNGLD_OPT_TEX_USER6 == 2)
	#define NNGLD_BINDTEX_USER6				: register(s2)
#elif (NNGLD_OPT_TEX_USER6 == 3)
	#define NNGLD_BINDTEX_USER6				: register(s3)
#elif (NNGLD_OPT_TEX_USER6 == 4)
	#define NNGLD_BINDTEX_USER6				: register(s4)
#elif (NNGLD_OPT_TEX_USER6 == 5)
	#define NNGLD_BINDTEX_USER6				: register(s5)
#elif (NNGLD_OPT_TEX_USER6 == 6)
	#define NNGLD_BINDTEX_USER6				: register(s6)
#elif (NNGLD_OPT_TEX_USER6 == 7)
	#define NNGLD_BINDTEX_USER6				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER7 == 0)
	#define NNGLD_BINDTEX_USER7				: register(s0)
#elif (NNGLD_OPT_TEX_USER7 == 1)
	#define NNGLD_BINDTEX_USER7				: register(s1)
#elif (NNGLD_OPT_TEX_USER7 == 2)
	#define NNGLD_BINDTEX_USER7				: register(s2)
#elif (NNGLD_OPT_TEX_USER7 == 3)
	#define NNGLD_BINDTEX_USER7				: register(s3)
#elif (NNGLD_OPT_TEX_USER7 == 4)
	#define NNGLD_BINDTEX_USER7				: register(s4)
#elif (NNGLD_OPT_TEX_USER7 == 5)
	#define NNGLD_BINDTEX_USER7				: register(s5)
#elif (NNGLD_OPT_TEX_USER7 == 6)
	#define NNGLD_BINDTEX_USER7				: register(s6)
#elif (NNGLD_OPT_TEX_USER7 == 7)
	#define NNGLD_BINDTEX_USER7				: register(s7)
#endif
#if (NNGLD_OPT_TEX_USER8 == 0)
	#define NNGLD_BINDTEX_USER8				: register(s0)
#elif (NNGLD_OPT_TEX_USER8 == 1)
	#define NNGLD_BINDTEX_USER8				: register(s1)
#elif (NNGLD_OPT_TEX_USER8 == 2)
	#define NNGLD_BINDTEX_USER8				: register(s2)
#elif (NNGLD_OPT_TEX_USER8 == 3)
	#define NNGLD_BINDTEX_USER8				: register(s3)
#elif (NNGLD_OPT_TEX_USER8 == 4)
	#define NNGLD_BINDTEX_USER8				: register(s4)
#elif (NNGLD_OPT_TEX_USER8 == 5)
	#define NNGLD_BINDTEX_USER8				: register(s5)
#elif (NNGLD_OPT_TEX_USER8 == 6)
	#define NNGLD_BINDTEX_USER8				: register(s6)
#elif (NNGLD_OPT_TEX_USER8 == 7)
	#define NNGLD_BINDTEX_USER8				: register(s7)
#endif
															// ここまでは最大８枚
#if (NNGLD_OPT_TEX_SHADOW == 0)
	#define NNGLD_BINDTEX_SHADOW			: register(s0)
#elif (NNGLD_OPT_TEX_SHADOW == 1)
	#define NNGLD_BINDTEX_SHADOW			: register(s1)
#elif (NNGLD_OPT_TEX_SHADOW == 2)
	#define NNGLD_BINDTEX_SHADOW			: register(s2)
#elif (NNGLD_OPT_TEX_SHADOW == 3)
	#define NNGLD_BINDTEX_SHADOW			: register(s3)
#elif (NNGLD_OPT_TEX_SHADOW == 4)
	#define NNGLD_BINDTEX_SHADOW			: register(s4)
#elif (NNGLD_OPT_TEX_SHADOW == 5)
	#define NNGLD_BINDTEX_SHADOW			: register(s5)
#elif (NNGLD_OPT_TEX_SHADOW == 6)
	#define NNGLD_BINDTEX_SHADOW			: register(s6)
#elif (NNGLD_OPT_TEX_SHADOW == 7)
	#define NNGLD_BINDTEX_SHADOW			: register(s7)
#elif (NNGLD_OPT_TEX_SHADOW == 8)
	#define NNGLD_BINDTEX_SHADOW			: register(s8)
#endif
#if (NNGLD_OPT_TEX_SHADOW2 == 0)
	#define NNGLD_BINDTEX_SHADOW2			: register(s0)
#elif (NNGLD_OPT_TEX_SHADOW2 == 1)
	#define NNGLD_BINDTEX_SHADOW2			: register(s1)
#elif (NNGLD_OPT_TEX_SHADOW2 == 2)
	#define NNGLD_BINDTEX_SHADOW2			: register(s2)
#elif (NNGLD_OPT_TEX_SHADOW2 == 3)
	#define NNGLD_BINDTEX_SHADOW2			: register(s3)
#elif (NNGLD_OPT_TEX_SHADOW2 == 4)
	#define NNGLD_BINDTEX_SHADOW2			: register(s4)
#elif (NNGLD_OPT_TEX_SHADOW2 == 5)
	#define NNGLD_BINDTEX_SHADOW2			: register(s5)
#elif (NNGLD_OPT_TEX_SHADOW2 == 6)
	#define NNGLD_BINDTEX_SHADOW2			: register(s6)
#elif (NNGLD_OPT_TEX_SHADOW2 == 7)
	#define NNGLD_BINDTEX_SHADOW2			: register(s7)
#elif (NNGLD_OPT_TEX_SHADOW2 == 8)
	#define NNGLD_BINDTEX_SHADOW2			: register(s8)
#elif (NNGLD_OPT_TEX_SHADOW2 == 9)
	#define NNGLD_BINDTEX_SHADOW2			: register(s9)
#endif
#if (NNGLD_OPT_TEX_SAMPLER2D1 == 0)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 1)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 2)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 3)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 4)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 5)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 6)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 7)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 8)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 9)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLER2D1 == 10)
	#define NNGLD_BINDTEX_SAMPLER2D1		: register(s10)
#endif
#if (NNGLD_OPT_TEX_SAMPLER2D2 == 0)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 1)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 2)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 3)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 4)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 5)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 6)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 7)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 8)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 9)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 10)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s10)
#elif (NNGLD_OPT_TEX_SAMPLER2D2 == 11)
	#define NNGLD_BINDTEX_SAMPLER2D2		: register(s11)
#endif
#if (NNGLD_OPT_TEX_SAMPLER3D1 == 0)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 1)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 2)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 3)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 4)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 5)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 6)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 7)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 8)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 9)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 10)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s10)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 11)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s11)
#elif (NNGLD_OPT_TEX_SAMPLER3D1 == 12)
	#define NNGLD_BINDTEX_SAMPLER3D1		: register(s12)
#endif
#if (NNGLD_OPT_TEX_SAMPLER3D2 == 0)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 1)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 2)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 3)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 4)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 5)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 6)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 7)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 8)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 9)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 10)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s10)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 11)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s11)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 12)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s12)
#elif (NNGLD_OPT_TEX_SAMPLER3D2 == 13)
	#define NNGLD_BINDTEX_SAMPLER3D2		: register(s13)
#endif
#if (NNGLD_OPT_TEX_SAMPLERCUBE1 == 0)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 1)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 2)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 3)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 4)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 5)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 6)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 7)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 8)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 9)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 10)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s10)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 11)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s11)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 12)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s12)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 13)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s13)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE1 == 14)
	#define NNGLD_BINDTEX_SAMPLERCUBE1		: register(s14)
#endif
#if (NNGLD_OPT_TEX_SAMPLERCUBE2 == 0)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s0)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 1)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s1)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 2)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s2)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 3)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s3)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 4)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s4)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 5)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s5)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 6)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s6)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 7)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s7)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 8)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s8)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 9)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s9)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 10)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s10)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 11)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s11)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 12)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s12)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 13)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s13)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 14)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s14)
#elif (NNGLD_OPT_TEX_SAMPLERCUBE2 == 15)
	#define NNGLD_BINDTEX_SAMPLERCUBE2		: register(s15)
#endif

/* End of file */
