From: divverent Date: Wed, 2 Nov 2011 09:01:54 +0000 (+0000) Subject: mark 5 permutation bits eligible for moving to static parms X-Git-Tag: xonotic-v0.6.0~163^2~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e82424916b8c07d48098b074dc49bc76b1d0a59e;p=xonotic%2Fdarkplaces.git mark 5 permutation bits eligible for moving to static parms git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11518 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 1142ef25..65f9a840 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -643,17 +643,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"}, {"#define USEDEPTHRGB\n", " depthrgb"}, };