Searched defs:texcoord (Results 1 - 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/tnl/
H A Dt_vb_texmat.c49 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texmat_stage_data
71 (void) TransformRaw( &store->texcoord[i],
75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i];
98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 );
111 if (store->texcoord[i].data)
112 _mesa_vector4f_free( &store->texcoord[i] );
H A Dt_rasterpos.c256 * \param texcoord incoming texcoord and resulting texcoord
260 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4])
281 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
284 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
287 texcoord[0] = rx * mInv + 0.5F;
290 texcoord[0] = rx;
293 texcoord[0] = normal[0];
304 texcoord[
259 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) argument
[all...]
H A Dt_vb_program.c195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
203 1, (const GLfloat (*)[4]) texcoord,
H A Dt_vb_texgen.c76 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texgen_stage_data
172 * (f). This allows us to pass in either a texcoord vector4f, or a
257 GLvector4f *out = &store->texcoord[unit];
279 GLvector4f *out = &store->texcoord[unit];
281 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start;
287 texcoord[i][0] = norm[0];
288 texcoord[i][1] = norm[1];
289 texcoord[i][2] = norm[2];
307 GLvector4f *out = &store->texcoord[unit];
308 GLfloat (*texcoord)[
[all...]
/external/mesa3d/src/mesa/main/
H A Dfeedback.c123 const GLfloat texcoord[4])
140 _mesa_feedback_token( ctx, texcoord[0] );
141 _mesa_feedback_token( ctx, texcoord[1] );
142 _mesa_feedback_token( ctx, texcoord[2] );
143 _mesa_feedback_token( ctx, texcoord[3] );
120 _mesa_feedback_vertex(struct gl_context *ctx, const GLfloat win[4], const GLfloat color[4], const GLfloat texcoord[4]) argument
H A Deval.c1015 static GLfloat texcoord[4] = { 0.0, 0.0, 0.0, 1.0 }; local
1023 init_1d_map( &ctx->EvalMap.Map1Texture1, 1, texcoord );
1024 init_1d_map( &ctx->EvalMap.Map1Texture2, 2, texcoord );
1025 init_1d_map( &ctx->EvalMap.Map1Texture3, 3, texcoord );
1026 init_1d_map( &ctx->EvalMap.Map1Texture4, 4, texcoord );
1035 init_2d_map( &ctx->EvalMap.Map2Texture1, 1, texcoord );
1036 init_2d_map( &ctx->EvalMap.Map2Texture2, 2, texcoord );
1037 init_2d_map( &ctx->EvalMap.Map2Texture3, 3, texcoord );
1038 init_2d_map( &ctx->EvalMap.Map2Texture4, 4, texcoord );
H A Dff_fragment_shader.cpp532 /* Reg containing texcoord for a texture unit,
920 ir_rvalue *texcoord; local
923 texcoord = get_current_attrib(p, VERT_ATTRIB_TEX0 + unit);
925 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]);
929 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array);
931 texcoord = new(p->mem_ctx) ir_dereference_array(texcoord, index);
1025 tex->coordinate = new(p->mem_ctx) ir_swizzle(texcoord, 0, 1, 2, 3, coords);
1028 texcoord = texcoord
1097 ir_rvalue *texcoord; local
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_feedback.c88 const GLfloat *color, *texcoord; local
99 * color and texcoord attribs to use here.
110 texcoord = v->data[slot];
112 texcoord = ctx->Current.Attrib[VERT_ATTRIB_TEX0];
114 _mesa_feedback_vertex(ctx, win, color, texcoord);
/external/mesa3d/src/mesa/swrast/
H A Ds_fragprog.c79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, argument
92 1, (const GLfloat (*)[4]) texcoord,
110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], argument
133 texcoord[0], texcoord[1], texcoord[3],
134 1.0F / texcoord[3]);
141 1, (const GLfloat (*)[4]) texcoord,
H A Ds_atifragshader.c47 fetch_texel(struct gl_context * ctx, const GLfloat texcoord[4], GLfloat lambda, argument
55 1, (const GLfloat(*)[4]) texcoord,
H A Ds_texfilter.c152 * s = texcoord in [0,1]
505 const GLfloat texcoord[4],
515 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width);
516 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height);
520 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
525 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
526 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]);
530 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
531 *j = tex_array_slice(texcoord[1], height);
535 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[
502 nearest_texcoord(const struct gl_sampler_object *samp, const struct gl_texture_object *texObj, GLuint level, const GLfloat texcoord[4], GLint *i, GLint *j, GLint *k) argument
551 linear_texcoord(const struct gl_sampler_object *samp, const struct gl_texture_object *texObj, GLuint level, const GLfloat texcoord[4], GLint *i0, GLint *i1, GLint *j0, GLint *j1, GLint *slice, GLfloat *wi, GLfloat *wj) argument
847 sample_1d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
872 sample_1d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
914 sample_1d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
930 sample_1d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
946 sample_1d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
972 sample_1d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1113 sample_2d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1147 sample_2d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1212 sample_2d_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1245 sample_2d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1260 sample_2d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1276 sample_2d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1302 sample_2d_linear_mipmap_linear( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
1328 sample_2d_linear_mipmap_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1641 sample_2d_ewa(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
1768 sample_2d_footprint(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
2013 sample_3d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2046 sample_3d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2141 sample_3d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
2156 sample_3d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2172 sample_3d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2198 sample_3d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2340 choose_cube_face(const struct gl_texture_object *texObj, const GLfloat texcoord[4], GLfloat newCoord[4]) argument
2463 sample_cube_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2498 sample_cube_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2523 sample_cube_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2558 sample_cube_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2818 sample_2d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2852 sample_2d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2923 sample_2d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2939 sample_2d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2956 sample_2d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2984 sample_2d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3137 sample_1d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3168 sample_1d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3218 sample_1d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3234 sample_1d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3251 sample_1d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3277 sample_1d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state.h85 uint16_t texcoord[10]; member in struct:nv30_vertprog
117 uint16_t texcoord[10]; member in struct:nv30_fragprog
/external/mesa3d/src/gallium/tests/graw/
H A Dfs-test.c56 float texcoord[4]; member in struct:vertex
210 ve[2].src_offset = Offset(struct vertex, texcoord);
H A Dgs-test.c58 float texcoord[4]; member in struct:vertex
243 ve[2].src_offset = Offset(struct vertex, texcoord);
/external/mesa3d/src/mesa/program/
H A Dprog_execute.c390 const GLfloat texcoord[4], GLfloat lodBias,
402 machine->FetchTexelDeriv(ctx, texcoord,
408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color);
1651 GLfloat texcoord[4], color[4]; local
1652 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1654 /* For TEX, texcoord.Q should not be used and its value should not
1657 * which is effectively what happens when the texcoord swizzle
1660 texcoord[3] = 1.0f;
1662 fetch_texel(ctx, machine, inst, texcoord, 0.0, color);
1668 texcoord[
387 fetch_texel(struct gl_context *ctx, const struct gl_program_machine *machine, const struct prog_instruction *inst, const GLfloat texcoord[4], GLfloat lodBias, GLfloat color[4]) argument
1676 GLfloat texcoord[4], color[4], lodBias; local
1703 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; local
1716 GLfloat texcoord[4], color[4], lod; local
1732 GLfloat texcoord[4], color[4]; local
1755 GLfloat texcoord[4], color[4]; local
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_insn.c1451 struct src_register texcoord; local
1477 texcoord = translate_src_register( emit, &insn->Src[0] );
1489 SVGA3dShaderGetRegType(texcoord.base.value) == SVGA3DREG_TEMP) {
1492 /* MOV tmp, texcoord */
1496 texcoord ))
1506 texcoord = src( tmp );
1517 tmp, texcoord, wh ))
1520 texcoord = src( tmp );
1523 return submit_op2( emit, inst, dst, texcoord, sampler );
1536 struct src_register texcoord; local
[all...]

Completed in 536 milliseconds