Home
last modified time | relevance | path

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

1234

/external/swiftshader/src/Renderer/
DPixelProcessor.cpp892 fog.color4[0][0] = fogR; in setFogColor()
893 fog.color4[0][1] = fogR; in setFogColor()
894 fog.color4[0][2] = fogR; in setFogColor()
895 fog.color4[0][3] = fogR; in setFogColor()
897 fog.color4[1][0] = fogG; in setFogColor()
898 fog.color4[1][1] = fogG; in setFogColor()
899 fog.color4[1][2] = fogG; in setFogColor()
900 fog.color4[1][3] = fogG; in setFogColor()
902 fog.color4[2][0] = fogB; in setFogColor()
903 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.hpp107 Interpolant fog; member
321 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/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 __anon252751e10111::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/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()
/external/icu/icu4c/source/data/locales/
Dmgo.txt188 "iməg fog",
216 "iməg fog",
232 "iməg fog",
260 "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.cpp186 if(state.fog.component) in quad()
188 …f = interpolate(xxxx, Df, rhw, primitive + OFFSET(Primitive,f), state.fog.flat & 0x01, state.persp… in quad()
586 void PixelRoutine::fogBlend(Vector4f &c0, Float4 &fog) in fogBlend() argument
595 pixelFog(fog); in fogBlend()
597 fog = Min(fog, Float4(1.0f)); in fogBlend()
598 fog = Max(fog, Float4(0.0f)); in fogBlend()
601 c0.x -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); in fogBlend()
602 c0.y -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])); in fogBlend()
603 c0.z -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[2])); in fogBlend()
605 c0.x *= fog; in fogBlend()
[all …]
/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/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/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.c1130 const struct gl_fog_attrib *fog; in _mesa_PopAttrib() local
1131 fog = (const struct gl_fog_attrib *) attr->data; in _mesa_PopAttrib()
1132 _mesa_set_enable(ctx, GL_FOG, fog->Enabled); in _mesa_PopAttrib()
1133 _mesa_Fogfv(GL_FOG_COLOR, fog->Color); in _mesa_PopAttrib()
1134 _mesa_Fogf(GL_FOG_DENSITY, fog->Density); in _mesa_PopAttrib()
1135 _mesa_Fogf(GL_FOG_START, fog->Start); in _mesa_PopAttrib()
1136 _mesa_Fogf(GL_FOG_END, fog->End); in _mesa_PopAttrib()
1137 _mesa_Fogf(GL_FOG_INDEX, fog->Index); in _mesa_PopAttrib()
1138 _mesa_Fogi(GL_FOG_MODE, fog->Mode); in _mesa_PopAttrib()
/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/swiftshader/third_party/llvm-7.0/llvm/test/FileCheck/
Dcheck-multiple-prefixes-nomatch-2.txt5 fog
/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.c673 if (ctx->key->fog) { in transform_instr()
686 } else if (ctx->key->fog && current_inst->Instruction.Opcode == TGSI_OPCODE_MOV && in transform_instr()
707 if (ctx->key->fog == FOG_LINEAR) { in transform_instr()
723 } else if (ctx->key->fog == FOG_EXP) { in transform_instr()
749 } else if (ctx->key->fog == FOG_EXP2) { 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

1234