Home
last modified time | relevance | path

Searched refs:fog_mode (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprogramopt.c250 struct gl_fragment_program *fprog, GLenum fog_mode, in _mesa_append_fog_code() argument
264 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()
Dprogramopt.h36 struct gl_fragment_program *fprog, GLenum fog_mode,
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp109 GLuint fog_mode:2; /**< FOG_x */ member
492 key->fog_mode = translate_fog_mode(ctx->Fog.Mode); in make_state_key()
1168 switch (key->fog_mode) { in emit_fog_instructions()