/external/mesa3d/src/compiler/nir/ |
nir_lower_bitmap.c | 58 nir_variable *texcoord = NULL; local 63 texcoord = var; 69 if (texcoord == NULL) { 70 texcoord = nir_variable_create(shader, 74 texcoord->data.location = VARYING_SLOT_TEX0; 77 return texcoord; 84 nir_ssa_def *texcoord; local 89 texcoord = nir_load_var(b, get_texcoord(shader)); 99 tex->src[0].src = nir_src_for_ssa(texcoord);
|
nir_lower_drawpixels.c | 38 nir_variable *texcoord, *scale, *bias; member in struct:__anon29321 44 if (state->texcoord == NULL) { 45 nir_variable *texcoord = NULL; local 50 texcoord = var; 56 if (texcoord == NULL) { 57 texcoord = nir_variable_create(state->shader, 61 texcoord->data.location = VARYING_SLOT_TEX0; 64 state->texcoord = texcoord; 66 return nir_load_var(&state->b, state->texcoord); 117 nir_ssa_def *texcoord; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_texmat.c | 48 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texmat_stage_data 70 (void) TransformRaw( &store->texcoord[i], 74 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; 97 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); 110 if (store->texcoord[i].data) 111 _mesa_vector4f_free( &store->texcoord[i] );
|
t_vb_texgen.c | 74 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member in struct:texgen_stage_data 170 * (f). This allows us to pass in either a texcoord vector4f, or a 255 GLvector4f *out = &store->texcoord[unit]; 277 GLvector4f *out = &store->texcoord[unit]; 279 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start; 285 texcoord[i][0] = norm[0]; 286 texcoord[i][1] = norm[1]; 287 texcoord[i][2] = norm[2]; 305 GLvector4f *out = &store->texcoord[unit]; 306 GLfloat (*texcoord)[4] = (GLfloat (*)[4]) out->start [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_feedback.c | 86 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);
|
st_cb_drawpixels.c | 123 struct ureg_src texcoord, color; local 165 texcoord = ureg_DECL_fs_input(ureg, 173 TGSI_TEXTURE_2D, texcoord, depth_sampler); 179 TGSI_TEXTURE_2D, texcoord, stencil_sampler); 192 * vertex position and texcoord (and optionally, color). 643 /* vertex shader state: position + texcoord pass-through */ [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-test.c | 54 float texcoord[4]; member in struct:vertex 166 ve[2].src_offset = Offset(struct vertex, texcoord);
|
gs-test.c | 58 float texcoord[4]; member in struct:vertex 225 ve[2].src_offset = Offset(struct vertex, texcoord);
|
/external/mesa3d/src/mesa/main/ |
eval.c | 917 static GLfloat texcoord[4] = { 0.0, 0.0, 0.0, 1.0 }; local 924 init_1d_map( &ctx->EvalMap.Map1Texture1, 1, texcoord ); 925 init_1d_map( &ctx->EvalMap.Map1Texture2, 2, texcoord ); 926 init_1d_map( &ctx->EvalMap.Map1Texture3, 3, texcoord ); 927 init_1d_map( &ctx->EvalMap.Map1Texture4, 4, texcoord ); 934 init_2d_map( &ctx->EvalMap.Map2Texture1, 1, texcoord ); 935 init_2d_map( &ctx->EvalMap.Map2Texture2, 2, texcoord ); 936 init_2d_map( &ctx->EvalMap.Map2Texture3, 3, texcoord ); 937 init_2d_map( &ctx->EvalMap.Map2Texture4, 4, texcoord );
|
ff_fragment_shader.cpp | 502 /* Texcoord override from bumpmapping. */ 505 /* Reg containing texcoord for a texture unit, 886 ir_rvalue *texcoord; local 889 texcoord = get_current_attrib(p, VERT_ATTRIB_TEX0 + unit); 891 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]); 895 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); 897 texcoord = new(p->mem_ctx) ir_dereference_array(texcoord, index); 989 tex->coordinate = new(p->mem_ctx) ir_swizzle(texcoord, 0, 1, 2, 3, coords); 992 texcoord = texcoord->clone(p->mem_ctx, NULL) [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.c | 293 const GLfloat texcoord[4], GLfloat lodBias, 305 machine->FetchTexelDeriv(ctx, texcoord, 311 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); 1068 GLfloat texcoord[4], color[4]; local 1093 GLfloat texcoord[4], color[4], lodBias; local 1120 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; local 1133 GLfloat texcoord[4], color[4], lod; local 1149 GLfloat texcoord[4], color[4]; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_state.h | 87 uint16_t texcoord[10]; member in struct:nv30_vertprog 119 uint16_t texcoord[10]; member in struct:nv30_fragprog
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi_insn.c | 1675 struct src_register texcoord; local 1760 struct src_register texcoord; local [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_shader.c | 489 struct ureg_src vT[8]; /* PS texcoord in */ 2381 struct ureg_dst tmp, tmp2, texcoord; local [all...] |