]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
mark 5 permutation bits eligible for moving to static parms
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 09:01:54 +0000 (09:01 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 2 Nov 2011 10:37:12 +0000 (11:37 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11518 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e82424916b8c07d48098b074dc49bc76b1d0a59e

gl_rmain.c

index 459918129b86ea9377899e72059e895fd5467435..01ecc1fc25191b569edd96bb1b3fa00f8a9e130b 100644 (file)
@@ -642,17 +642,17 @@ shaderpermutationinfo_t shaderpermutationinfo[SHADERPERMUTATION_COUNT] =
        {"#define USEOFFSETMAPPING\n", " offsetmapping"},
        {"#define USEOFFSETMAPPING_RELIEFMAPPING\n", " reliefmapping"},
        {"#define USESHADOWMAP2D\n", " shadowmap2d"},
-       {"#define USESHADOWMAPPCF 1\n", " shadowmappcf"},
-       {"#define USESHADOWMAPPCF 2\n", " shadowmappcf2"},
-       {"#define USESHADOWSAMPLER\n", " shadowsampler"},
-       {"#define USESHADOWMAPVSDCT\n", " shadowmapvsdct"},
+       {"#define USESHADOWMAPPCF 1\n", " shadowmappcf"}, // TODO make this a static parm
+       {"#define USESHADOWMAPPCF 2\n", " shadowmappcf2"}, // TODO make this a static parm
+       {"#define USESHADOWSAMPLER\n", " shadowsampler"}, // TODO make this a static parm
+       {"#define USESHADOWMAPVSDCT\n", " shadowmapvsdct"}, // TODO make this a static parm
        {"#define USESHADOWMAPORTHO\n", " shadowmaportho"},
        {"#define USEDEFERREDLIGHTMAP\n", " deferredlightmap"},
        {"#define USEALPHAKILL\n", " alphakill"},
        {"#define USEREFLECTCUBE\n", " reflectcube"},
        {"#define USENORMALMAPSCROLLBLEND\n", " normalmapscrollblend"},
        {"#define USEBOUNCEGRID\n", " bouncegrid"},
-       {"#define USEBOUNCEGRIDDIRECTIONAL\n", " bouncegriddirectional"},
+       {"#define USEBOUNCEGRIDDIRECTIONAL\n", " bouncegriddirectional"}, // TODO make this a static parm
        {"#define USETRIPPY\n", " trippy"},
 };