/external/mesa3d/src/gallium/drivers/r300/ |
r300_shader_semantics.h | 43 int fog; member in struct:r300_shader_semantics 57 info->fog = ATTR_UNUSED;
|
r300_vs.c | 80 vs_outputs->fog = i; 164 /* Fog coordinates. */ 165 if (outputs->fog != ATTR_UNUSED) { 166 c->code->outputs[outputs->fog] = reg++;
|
r300_state_derived.c | 111 /* Fog coordinates. */ 112 if (gen_count < 8 && vs_outputs->fog != ATTR_UNUSED) { 113 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->fog); 436 * (number of generic varyings + fog + wpos > 8) */ 439 vs_outputs->num_generic + (vs_outputs->fog != ATTR_UNUSED) + 541 /* Rasterize fog coordinates. */ 542 if (vs_outputs->fog != ATTR_UNUSED && tex_count < 8) { 543 /* Set up the fog coordinates in VAP. */ 552 if (fs_inputs->fog != ATTR_UNUSED) { 556 DBG(r300, DBG_RS, "r300: Rasterized fog written to FS.\n") [all...] |
r300_fs.c | 68 fs_inputs->fog = i; 137 if (inputs->fog != ATTR_UNUSED) { 138 allocate(mydata, inputs->fog, reg++);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_context.h | 48 uint32_t fog; member in struct:nv04_context
|
nv04_state_raster.c | 223 /* Fog. */ 224 if (ctx->Fog.Enabled) { 226 nv04->fog = pack_rgba_f(MESA_FORMAT_B8G8R8A8_UNORM, ctx->Fog.Color);
|
nv04_render.c | 109 PUSH_DATA (push, nv04->fog); 138 PUSH_DATA (push, nv04->fog);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_derived.c | 61 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; local 66 colors[0] = colors[1] = fog = needW = face = FALSE; 94 fog = TRUE; 136 /* fog coord, not fog blend factor */ 137 if (fog) {
|
/external/swiftshader/src/Renderer/ |
SetupProcessor.cpp | 117 state.fog.attribute = Unused; 118 state.fog.flat = false; 119 state.fog.wrap = false; 217 state.fog.attribute = Fog; 218 state.fog.flat = point;
|
PixelProcessor.cpp | 892 fog.color4[0][0] = fogR; 893 fog.color4[0][1] = fogR; 894 fog.color4[0][2] = fogR; 895 fog.color4[0][3] = fogR; 897 fog.color4[1][0] = fogG; 898 fog.color4[1][1] = fogG; 899 fog.color4[1][2] = fogG; 900 fog.color4[1][3] = fogG; 902 fog.color4[2][0] = fogB; 903 fog.color4[2][1] = fogB [all...] |
SetupProcessor.hpp | 70 Gradient fog; member in struct:sw::SetupProcessor::States::__anon40246::__anon40247
|
PixelProcessor.hpp | 107 Interpolant fog; member in struct:sw::PixelProcessor::States::__anon40237::__anon40238 165 struct Fog 321 Fog fog; member in class:sw::PixelProcessor
|
QuadRasterizer.cpp | 257 if(state.fog.component) 261 if(!state.fog.flat)
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_vbtmp.h | 45 GLfloat (*fog)[4]; 146 fog = VB->AttribPtr[_TNL_ATTRIB_FOG]->data; 149 fog = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_FOG]; 170 STRIDE_4F(fog, start * fog_stride); 211 UNCLAMPED_FLOAT_TO_UBYTE(v[0].rgba.alpha, radeonComputeFogBlendFactor(ctx, fog[0][0])); 212 STRIDE_4F(fog, fog_stride);
|
/external/mesa3d/src/compiler/glsl/ |
opt_dead_builtin_varyings.cpp | 30 * The varyings handled here are the primary and secondary color, the fog, 75 fog(NULL), 177 /* Handle colors and fog. */ 196 this->fog = var; 260 ir_variable *fog; member in class:__anon33050::varying_info_visitor 316 * fog outputs. 341 info->fog) { 409 /* Replace set-but-unused color and fog outputs with dummy variables. */ 420 if (var == this->info->fog && this->new_fog) { 463 /* Replace set-but-unused color and fog outputs with dummy variables. * [all...] |
/external/swiftshader/src/Shader/ |
PixelRoutine.hpp | 48 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) = 0; 54 void fogBlend(Vector4f &c0, Float4 &fog);
|
PixelPipeline.hpp | 33 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]); 59 void fogBlend(Vector4s ¤t, Float4 &fog);
|
PixelRoutine.cpp | 186 if(state.fog.component) 188 f = interpolate(xxxx, Df, rhw, primitive + OFFSET(Primitive,f), state.fog.flat & 0x01, state.perspective, false); 586 void PixelRoutine::fogBlend(Vector4f &c0, Float4 &fog) 595 pixelFog(fog); 597 fog = Min(fog, Float4(1.0f)); 598 fog = Max(fog, Float4(0.0f)); 601 c0.x -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[0])); 602 c0.y -= *Pointer<Float4>(data + OFFSET(DrawData,fog.colorF[1])) [all...] |
/external/swiftshader/src/Pipeline/ |
PixelRoutine.hpp | 48 virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4]) = 0;
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_nopfuncs.c | 95 nop_glFogCoordhNV(GLhalfNV fog) 101 nop_glFogCoordhvNV(const GLhalfNV *fog)
|
/external/mesa3d/src/mesa/main/ |
ffvertex_prog.c | 223 if (ctx->Fog.FogCoordinateSource == GL_FRAGMENT_DEPTH_EXT) { 225 key->fog_distance_mode = translate_fog_distance_mode(ctx->Fog.FogDistanceMode); 1301 struct ureg fog = register_output(p, VARYING_SLOT_FOGC); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.c | 375 * Fog 386 c.i = rmesa->hw.fog.cmd[FOG_C]; 387 d.i = rmesa->hw.fog.cmd[FOG_D]; 391 if (!ctx->Fog.Enabled) 395 switch (ctx->Fog.Mode) { 398 if (ctx->Fog.Start == ctx->Fog.End) { 403 c.f = ctx->Fog.End/(ctx->Fog.End-ctx->Fog.Start) 456 GLuint fog = rmesa->hw.ctx.cmd[CTX_PP_FOG_COLOR]; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atifs_to_tgsi.c | 598 /* we may need fog */ 601 /* we always have the ATI_fs constants, and the fog params */ 673 if (ctx->key->fog) { 674 /* add a new temp for the fog factor */ 686 } else if (ctx->key->fog && current_inst->Instruction.Opcode == TGSI_OPCODE_MOV && 701 /* should never be reached, because fog coord input is always declared */ 706 /* compute the 1 component fog factor f */ 707 if (ctx->key->fog == FOG_LINEAR) { 723 } else if (ctx->key->fog == FOG_EXP) { 749 } else if (ctx->key->fog == FOG_EXP2) [all...] |
/external/swiftshader/src/Device/ |
QuadRasterizer.cpp | 257 if(state.fog.component) 261 if(!state.fog.flat)
|
/external/mesa3d/src/mapi/glapi/gen/ |
gl_genexec.py | 82 #include "main/fog.h"
|