| /xsrc/external/mit/mesa-demos/dist/src/trivial/ |
| vp-tri-cb.c | 18 "PARAM Diffuse = state.material.diffuse; \n" 19 "MOV result.color, Diffuse;\n" 23 const float Diffuse[4] = { 0.0, 1.0, 0.0, 1.0 }; 24 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| vp-tri-cb-pos.c | 24 "PARAM Diffuse = state.material.diffuse; \n" 27 "DP4 result.position.y, Diffuse, vertex.position;\n" 34 const float Diffuse[4] = { 1.0, 0.0, 0.0, 0.0 }; 38 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| vp-tri-cb-tex.c | 24 "PARAM Diffuse = state.material.diffuse; \n" 27 "DP4 result.position.y, Diffuse, vertex.position;\n" 34 const float Diffuse[4] = { 1.0, 0.0, 0.0, 0.0 }; 38 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| fplight.c | 17 static GLfloat Diffuse[4] = { 0.5, 0.5, 1.0, 1.0 }; 172 "DECLARE Diffuse; \n" 189 "MUL R3, Diffuse, R2; # diffuse attenuation\n" 195 "ADD o[COLR], R3, R5; # add diffuse and specular colors\n" 238 NAMED_PARAMETER4FV(FragProg, "Diffuse", Diffuse); 260 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| arbfplight.c | 18 static GLfloat Diffuse[4] = { 0.5, 0.5, 1.0, 1.0 }; 209 "PARAM Diffuse = state.material.diffuse; \n" 224 "MUL diffuseColor.xyz, Diffuse, dotProd.x; # diffuse attenuation\n" 230 "MOV result.color.w, Diffuse; \n" 336 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| gloss.c | 55 static GLfloat Diffuse[4] = { .3, .3, 1.0, 1.0 }; /* blue */ 98 /* First pass: diffuse lighting with base texture */ 99 glMaterialfv(GL_FRONT, GL_DIFFUSE, Diffuse);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| light.c | 117 if (TEST_EQ_4V(lu->Diffuse, params)) 120 COPY_4V( lu->Diffuse, params ); 397 COPY_4V( params, ctx->Light.LightSource[l].Diffuse ); 449 params[0] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[0]); 450 params[1] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[1]); 451 params[2] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[2]); 452 params[3] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[3]); 722 /* update material diffuse values */ 729 SCALE_3V( light->_MatDiffuse[0], lu->Diffuse, 740 SCALE_3V( light->_MatDiffuse[1], lu->Diffuse, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| light.c | 116 if (TEST_EQ_4V(light->Diffuse, params)) 119 COPY_4V( light->Diffuse, params ); 336 COPY_4V( params, ctx->Light.Light[l].Diffuse ); 388 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); 389 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); 390 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); 391 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); 656 /* update material diffuse values */ 662 SCALE_3V( light->_MatDiffuse[0], light->Diffuse, 672 SCALE_3V( light->_MatDiffuse[1], light->Diffuse, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| nine_dump.c | 244 case D3DTA_DIFFUSE: return "DIFFUSE"; 291 "Diffuse: (%f %f %f %f)\n" 302 lit->Diffuse.r,lit->Diffuse.r,lit->Diffuse.g,lit->Diffuse.a, 316 "Diffuse: (%f %f %f %f)\n" 321 mat->Diffuse.r,mat->Diffuse.r,mat->Diffuse.g,mat->Diffuse.a [all...] |
| nine_ff.c | 210 * CONST[20] MATERIAL.Diffuse 232 * CONST[33] LIGHT[0].Diffuse 774 * diffuse += light.diffuse * atten * nDotHit; 909 ureg_MAD(ureg, rD, cLColD, _X(tmp), ureg_src(rD)); /* accumulate diffuse */ 928 * material.diffuse * diffuse + 1088 struct ureg_src vC[2]; /* DIFFUSE, SPECULAR */ 1806 * that is, current is equal to diffuse (which is the case anyway, 1809 * because then if the resultarg is TEMP, then diffuse alpha is writte [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| nine_dump.c | 244 case D3DTA_DIFFUSE: return "DIFFUSE"; 291 "Diffuse: (%f %f %f %f)\n" 302 lit->Diffuse.r,lit->Diffuse.r,lit->Diffuse.g,lit->Diffuse.a, 316 "Diffuse: (%f %f %f %f)\n" 321 mat->Diffuse.r,mat->Diffuse.r,mat->Diffuse.g,mat->Diffuse.a [all...] |
| nine_ff.c | 210 * CONST[20] MATERIAL.Diffuse 232 * CONST[33] LIGHT[0].Diffuse 772 * diffuse += light.diffuse * atten * nDotHit; 907 ureg_MAD(ureg, rD, cLColD, _X(tmp), ureg_src(rD)); /* accumulate diffuse */ 926 * material.diffuse * diffuse + 1086 struct ureg_src vC[2]; /* DIFFUSE, SPECULAR */ 1804 * that is, current is equal to diffuse (which is the case anyway, 1807 * because then if the resultarg is TEMP, then diffuse alpha is writte [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/fp/ |
| fp-tri.c | 181 const float Diffuse[4] = { 1.0, 0.0, 0.0, 0.0 }; 185 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| /xsrc/external/mit/mesa-demos/dist/src/vp/ |
| vp-tris.c | 148 const float Diffuse[4] = { 1.0, 0.0, 0.0, 0.0 }; 152 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Diffuse);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/x86/ |
| gen_matypes.c | 209 OFFSET( "LIGHT_DIFFUSE ", struct gl_light, Diffuse );
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| nv10_state_tnl.c | 379 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE) ? 380 lu->Diffuse :
|
| nv20_state_tnl.c | 297 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE, side) ? 298 lu->Diffuse :
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| nv10_state_tnl.c | 376 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE) ? 377 l->Diffuse :
|
| nv20_state_tnl.c | 294 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE, side) ? 295 l->Diffuse :
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| prog_statevars.c | 109 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 192 value[i] = ctx->Light.Light[ln].Diffuse[i] * 808 append(dst, ".diffuse");
|
| /xsrc/external/mit/MesaLib/dist/include/D3D9/ |
| d3d9types.h | 1620 D3DCOLORVALUE Diffuse; 1646 D3DCOLORVALUE Diffuse;
|
| /xsrc/external/mit/MesaLib.old/dist/include/D3D9/ |
| d3d9types.h | 1620 D3DCOLORVALUE Diffuse; 1646 D3DCOLORVALUE Diffuse;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| prog_statevars.c | 175 /* We want attr to access out of bounds into the following Diffuse 181 offsetof(struct gl_light_uniforms, Diffuse)); 182 STATIC_ASSERT(offsetof(struct gl_light_uniforms, Diffuse) + 16 == 202 * Diffuse and Specular fields. This is guaranteed to work 228 * Diffuse and Specular fields. This is guaranteed to work 254 * Diffuse and Specular fields. This is guaranteed to work 1061 append(dst, "diffuse");
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| radeon_state_init.c | 833 * it after that. Errors if DIFFUSE is missing. 880 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, lu->Diffuse );
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_state_init.c | 833 * it after that. Errors if DIFFUSE is missing. 880 ctx->Driver.Lightfv( ctx, p, GL_DIFFUSE, l->Diffuse );
|