Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/program/
Dprogramopt.c248 GLenum fog_mode, GLboolean saturate) in _mesa_append_fog_code() argument
261 if (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()
Dprogramopt.h42 GLenum fog_mode, GLboolean saturate);
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_ff.c54 uint32_t fog_mode : 2; member
113 uint32_t fog_mode : 2; member
343 boolean need_aVtx = key->lighting || key->fog_mode || key->pointscale || key->ucp; in nine_ff_build_vs()
963 if (key->fog_mode) { in nine_ff_build_vs()
975 if (key->fog_mode == D3DFOG_EXP) { in nine_ff_build_vs()
980 if (key->fog_mode == D3DFOG_EXP2) { in nine_ff_build_vs()
986 if (key->fog_mode == D3DFOG_LINEAR) { in nine_ff_build_vs()
1500 if (key->fog_mode) { in nine_ff_build_ps()
1527 if (key->fog_mode == D3DFOG_EXP) { in nine_ff_build_ps()
1532 if (key->fog_mode == D3DFOG_EXP2) { in nine_ff_build_ps()
[all …]
Dnine_shader.h67 uint8_t fog_mode; member
Dpixelshader9.c169 info.fog_mode = device->context.rs[D3DRS_FOGTABLEMODE]; in NinePixelShader9_GetVariant()
Dnine_shader.c3445 if (tx->info->fog_mode != D3DFOG_NONE) { in shader_add_ps_fog_stage()
3454 if (tx->info->fog_mode == D3DFOG_LINEAR) { in shader_add_ps_fog_stage()
3459 } else if (tx->info->fog_mode == D3DFOG_EXP) { in shader_add_ps_fog_stage()
3464 } else if (tx->info->fog_mode == D3DFOG_EXP2) { in shader_add_ps_fog_stage()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp106 GLuint fog_mode:2; /**< FOG_x */ member
465 key->fog_mode = translate_fog_mode(ctx->Fog.Mode); in make_state_key()
1087 switch (key->fog_mode) { in emit_fog_instructions()
1183 if (key->fog_mode) { in emit_instructions()