Home
last modified time | relevance | path

Searched refs:fog_mode (Results 1 - 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/program/
H A Dprogramopt.c237 * \param fog_mode Fog mode. One of \c GL_EXP, \c GL_EXP2, or \c GL_LINEAR.
248 GLenum fog_mode, GLboolean saturate) in _mesa_append_fog_code()
261 if (fog_mode == GL_NONE) { in _mesa_append_fog_code()
263 " with fog_mode == GL_NONE"); in _mesa_append_fog_code()
316 if (fog_mode == GL_LINEAR) { in _mesa_append_fog_code()
335 assert(fog_mode == GL_EXP || fog_mode == GL_EXP2); in _mesa_append_fog_code()
346 = (fog_mode == GL_EXP) ? SWIZZLE_ZZZZ : SWIZZLE_WWWW; in _mesa_append_fog_code()
351 if (fog_mode == GL_EXP2) { in _mesa_append_fog_code()
247 _mesa_append_fog_code(struct gl_context *ctx, struct gl_program *fprog, GLenum fog_mode, GLboolean saturate) _mesa_append_fog_code() argument
H A Dprogramopt.h45 GLenum fog_mode, GLboolean saturate);
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_ff.c54 uint32_t fog_mode : 2; member
113 uint32_t fog_mode : 2; member
342 boolean need_aVtx = key->lighting || key->fog_mode || key->pointscale || key->ucp; in nine_ff_build_vs()
971 if (key->fog_mode) { in nine_ff_build_vs()
983 if (key->fog_mode == D3DFOG_EXP) { in nine_ff_build_vs()
988 if (key->fog_mode == D3DFOG_EXP2) { in nine_ff_build_vs()
994 if (key->fog_mode == D3DFOG_LINEAR) { in nine_ff_build_vs()
1512 if (key->fog_mode) { in nine_ff_build_ps()
1539 if (key->fog_mode == D3DFOG_EXP) { in nine_ff_build_ps()
1544 if (key->fog_mode in nine_ff_build_ps()
[all...]
H A Dnine_shader.h71 uint8_t fog_mode; member
H A Dpixelshader9.c213 info.fog_mode = device->context.rs[D3DRS_FOGTABLEMODE]; in NinePixelShader9_GetVariant()
H A Dnine_shader.c3747 if (tx->info->fog_mode != D3DFOG_NONE) { in shader_add_ps_fog_stage()
3758 if (tx->info->fog_mode == D3DFOG_LINEAR) { in shader_add_ps_fog_stage()
3763 } else if (tx->info->fog_mode == D3DFOG_EXP) { in shader_add_ps_fog_stage()
3768 } else if (tx->info->fog_mode == D3DFOG_EXP2) { in shader_add_ps_fog_stage()
/third_party/mesa3d/src/mesa/main/
H A Dff_fragment_shader.cpp88 GLuint fog_mode:2; /**< FOG_x */ member
312 key->fog_mode = ctx->Fog._PackedEnabledMode; in make_state_key()
922 switch (key->fog_mode) { in emit_fog_instructions()
1018 if (key->fog_mode) { in emit_instructions()

Completed in 14 milliseconds