Home
last modified time | relevance | path

Searched refs:fog (Results 1 – 25 of 62) sorted by relevance

123

/external/swiftshader/src/Renderer/
DPixelProcessor.cpp870 fog.color4[0][0] = fogR; in setFogColor()
871 fog.color4[0][1] = fogR; in setFogColor()
872 fog.color4[0][2] = fogR; in setFogColor()
873 fog.color4[0][3] = fogR; in setFogColor()
875 fog.color4[1][0] = fogG; in setFogColor()
876 fog.color4[1][1] = fogG; in setFogColor()
877 fog.color4[1][2] = fogG; in setFogColor()
878 fog.color4[1][3] = fogG; in setFogColor()
880 fog.color4[2][0] = fogB; in setFogColor()
881 fog.color4[2][1] = fogB; in setFogColor()
[all …]
DSetupProcessor.cpp117 state.fog.attribute = Unused; in update()
118 state.fog.flat = false; in update()
119 state.fog.wrap = false; in update()
217 state.fog.attribute = Fog; in update()
218 state.fog.flat = point; in update()
DSetupProcessor.hpp70 Gradient fog; member
DPixelProcessor.hpp105 Interpolant fog; member
317 Fog fog; member in sw::PixelProcessor
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h45 GLfloat (*fog)[4]; in TAG() local
146 fog = VB->AttribPtr[_TNL_ATTRIB_FOG]->data; in TAG()
149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG]; in TAG()
170 STRIDE_4F(fog, start * fog_stride); in TAG()
211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0])); in TAG()
212 STRIDE_4F(fog, fog_stride); in TAG()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_derived.c61 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local
66 colors[0] = colors[1] = fog = needW = face = FALSE; in calculate_vertex_layout()
94 fog = TRUE; in calculate_vertex_layout()
137 if (fog) { in calculate_vertex_layout()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_shader_semantics.h43 int fog; member
57 info->fog = ATTR_UNUSED; in r300_shader_semantics_reset()
Dr300_vs.c80 vs_outputs->fog = i; in r300_shader_read_vs_outputs()
165 if (outputs->fog != ATTR_UNUSED) { in set_vertex_inputs_outputs()
166 c->code->outputs[outputs->fog] = reg++; in set_vertex_inputs_outputs()
Dr300_state_derived.c112 if (gen_count < 8 && vs_outputs->fog != ATTR_UNUSED) { in r300_draw_emit_all_attribs()
113 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->fog); in r300_draw_emit_all_attribs()
439 vs_outputs->num_generic + (vs_outputs->fog != ATTR_UNUSED) + in r300_update_rs_block()
542 if (vs_outputs->fog != ATTR_UNUSED && tex_count < 8) { in r300_update_rs_block()
552 if (fs_inputs->fog != ATTR_UNUSED) { in r300_update_rs_block()
565 if (fs_inputs->fog != ATTR_UNUSED) { in r300_update_rs_block()
Dr300_fs.c68 fs_inputs->fog = i; in r300_shader_read_fs_inputs()
137 if (inputs->fog != ATTR_UNUSED) { in allocate_hardware_inputs()
138 allocate(mydata, inputs->fog, reg++); in allocate_hardware_inputs()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp75 fog(NULL), in varying_info_visitor()
196 this->fog = var; in visit()
260 ir_variable *fog; member in __anon23bf5bd70111::varying_info_visitor
341 info->fog) { in replace_varyings_visitor()
420 if (var == this->info->fog && this->new_fog) { in visit()
482 if (var == this->info->fog && this->new_fog) { in handle_rvalue()
/external/icu/icu4c/source/data/locales/
Dmgo.txt187 "iməg fog",
215 "iməg fog",
231 "iməg fog",
259 "iməg fog",
/external/swiftshader/src/Shader/
DPixelRoutine.hpp48 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
54 void fogBlend(Vector4f &c0, Float4 &fog);
DPixelPipeline.hpp33 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
59 void fogBlend(Vector4s &current, Float4 &fog);
DPixelRoutine.cpp194 if(state.fog.component) in quad()
196 …f = interpolate(xxxx, Df, rhw, primitive + OFFSET(Primitive,f), state.fog.flat & 0x01, state.persp… in quad()
594 void PixelRoutine::fogBlend(Vector4f &c0, Float4 &fog) in fogBlend() argument
603 pixelFog(fog); in fogBlend()
605 fog = Min(fog, Float4(1.0f)); in fogBlend()
606 fog = Max(fog, Float4(0.0f)); in fogBlend()
609 c0.x -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); in fogBlend()
610 c0.y -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])); in fogBlend()
611 c0.z -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[2])); in fogBlend()
613 c0.x *= fog; in fogBlend()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.h48 uint32_t fog; member
Dnv04_render.c109 PUSH_DATA (push, nv04->fog); in swtnl_restart_ttri()
138 PUSH_DATA (push, nv04->fog); in swtnl_restart_mtri()
/external/mesa3d/docs/
DARB_color_buffer_float.txt3 - For fragment programs with ARB_fog_* options, colors are clamped before fog application regardles…
/external/llvm/test/FileCheck/
Dcheck-multiple-prefixes-nomatch-2.txt5 fog
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c386 c.i = rmesa->hw.fog.cmd[FOG_C]; in r200Fogfv()
387 d.i = rmesa->hw.fog.cmd[FOG_D]; in r200Fogfv()
456 GLuint fog = rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR]; in r200Fogfv() local
458 fog &= ~R200_FOG_USE_MASK; in r200Fogfv()
460 fog |= R200_FOG_USE_VTX_FOG; in r200Fogfv()
464 fog |= R200_FOG_USE_SPEC_ALPHA; in r200Fogfv()
468 if ( fog != rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR] ) { in r200Fogfv()
470 rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR] = fog; in r200Fogfv()
484 if (c.i != rmesa->hw.fog.cmd[FOG_C] || d.i != rmesa->hw.fog.cmd[FOG_D]) { in r200Fogfv()
485 R200_STATECHANGE( rmesa, fog ); in r200Fogfv()
[all …]
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c1301 struct ureg fog = register_output(p, VARYING_SLOT_FOGC); in build_fog() local
1309 emit_op2(p, OPCODE_DP3, fog, WRITEMASK_X, input, input); in build_fog()
1310 emit_op1(p, OPCODE_RSQ, fog, WRITEMASK_X, fog); in build_fog()
1311 emit_op1(p, OPCODE_RCP, fog, WRITEMASK_X, fog); in build_fog()
1315 emit_op1(p, OPCODE_MOV, fog, WRITEMASK_X, input); in build_fog()
1319 emit_op1(p, OPCODE_ABS, fog, WRITEMASK_X, input); in build_fog()
1329 emit_op1(p, OPCODE_ABS, fog, WRITEMASK_X, input); in build_fog()
1332 emit_op1(p, OPCODE_MOV, fog, WRITEMASK_YZW, get_identity_param(p)); in build_fog()
Dattrib.c1116 const struct gl_fog_attrib *fog; in _mesa_PopAttrib() local
1117 fog = (const struct gl_fog_attrib *) attr->data; in _mesa_PopAttrib()
1118 _mesa_set_enable(ctx, GL_FOG, fog->Enabled); in _mesa_PopAttrib()
1119 _mesa_Fogfv(GL_FOG_COLOR, fog->Color); in _mesa_PopAttrib()
1120 _mesa_Fogf(GL_FOG_DENSITY, fog->Density); in _mesa_PopAttrib()
1121 _mesa_Fogf(GL_FOG_START, fog->Start); in _mesa_PopAttrib()
1122 _mesa_Fogf(GL_FOG_END, fog->End); in _mesa_PopAttrib()
1123 _mesa_Fogf(GL_FOG_INDEX, fog->Index); in _mesa_PopAttrib()
1124 _mesa_Fogi(GL_FOG_MODE, fog->Mode); in _mesa_PopAttrib()
/external/mesa3d/src/mesa/tnl/
DNOTES51 instance fog where per-pixel hardware fog is available),
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_tgsi.c674 if (ctx->key->fog) { in transform_instr()
691 } else if (ctx->key->fog && current_inst->Instruction.Opcode == TGSI_OPCODE_MOV && in transform_instr()
712 if (ctx->key->fog == 1) { in transform_instr()
728 } else if (ctx->key->fog == 2) { in transform_instr()
754 } else if (ctx->key->fog == 3) { in transform_instr()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_nopfuncs.c95 nop_glFogCoordhNV(GLhalfNV fog) in nop_glFogCoordhNV() argument
101 nop_glFogCoordhvNV(const GLhalfNV *fog) in nop_glFogCoordhvNV() argument

123