Searched refs:fog_mode (Results 1 – 3 of 3) sorted by relevance
250 struct gl_fragment_program *fprog, GLenum fog_mode, in _mesa_append_fog_code() argument264 if (fog_mode == GL_NONE) { in _mesa_append_fog_code()319 if (fog_mode == GL_LINEAR) { in _mesa_append_fog_code()338 ASSERT(fog_mode == GL_EXP || fog_mode == GL_EXP2); in _mesa_append_fog_code()349 = (fog_mode == GL_EXP) ? SWIZZLE_ZZZZ : SWIZZLE_WWWW; in _mesa_append_fog_code()354 if (fog_mode == GL_EXP2) { in _mesa_append_fog_code()
36 struct gl_fragment_program *fprog, GLenum fog_mode,
109 GLuint fog_mode:2; /**< FOG_x */ member492 key->fog_mode = translate_fog_mode(ctx->Fog.Mode); in make_state_key()1168 switch (key->fog_mode) { in emit_fog_instructions()