/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.hlsl | 35 float2 texcoord : TEXCOORD;
41 float2 texcoord : TEXCOORD;
49 result.texcoord = input.texcoord * 8;
50 result.factors.xy = input.texcoord;
51 result.factors.zw = 1 - input.texcoord;
57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
[all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 33 float2 texcoord : TEXCOORD;
39 float2 texcoord : TEXCOORD;
46 result.texcoord = input.texcoord;
52 return tex.Sample(samp, input.texcoord);
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_texmat.c | 49 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] );
|
t_vb_texgen.c | 76 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)[4] = (GLfloat (*)[4]) out->start [all...] |
t_rasterpos.c | 256 * \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[1] = DOT4(vObj, texUnit->GenT.ObjectPlane) [all...] |
t_vb_program.c | 195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, 203 1, (const GLfloat (*)[4]) texcoord,
|
/external/mesa3d/src/mesa/main/ |
feedback.h | 43 const GLfloat texcoord[4] ); 71 const GLfloat texcoord[4] )
|
ff_fragment_shader.cpp | 529 /* Texcoord override from bumpmapping. */ 532 /* 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->clone(p->mem_ctx, NULL) 1097 ir_rvalue *texcoord; local [all...] |
feedback.c | 123 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] );
|
eval.c | 1015 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 );
|
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 152 * 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[0]) [all...] |
s_fragprog.c | 79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, 92 1, (const GLfloat (*)[4]) texcoord, 110 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], 133 texcoord[0], texcoord[1], texcoord[3], 134 1.0F / texcoord[3]); 141 1, (const GLfloat (*)[4]) texcoord,
|
s_span.c | 465 * really doing two things: perspective correction and texcoord 466 * projection. Remember, for texcoord (s,t,r,q) we need to index 483 GLfloat (*texcoord)[4] = span->array->attribs[attr]; 531 texcoord[i][0] = s * invW; 532 texcoord[i][1] = t * invW; 533 texcoord[i][2] = r * invW; 534 texcoord[i][3] = q * invW; 548 texcoord[i][0] = s * invQ; 549 texcoord[i][1] = t * invQ; 550 texcoord[i][2] = r * invQ [all...] |
s_atifragshader.c | 47 fetch_texel(struct gl_context * ctx, const GLfloat texcoord[4], GLfloat lambda, 55 1, (const GLfloat(*)[4]) texcoord,
|
/external/mesa3d/src/mesa/program/ |
prog_execute.h | 32 typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 35 typedef void (*FetchTexelDerivFunc)(struct gl_context *ctx, const GLfloat texcoord[4],
|
prog_execute.c | 390 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 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/nv30/ |
nv30_state.h | 85 uint16_t texcoord[10]; member in struct:nv30_vertprog 117 uint16_t texcoord[10]; member in struct:nv30_fragprog
|
nv30_vertprog.c | 64 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) { 67 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord));
|
nvfx_fragprog.c | 934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index; [all...] |
nv30_draw.c | 231 if (fp->texcoord[result] == *idx) {
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_feedback.c | 88 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/gallium/tests/graw/ |
fs-test.c | 56 float texcoord[4]; member in struct:vertex 210 ve[2].src_offset = Offset(struct vertex, texcoord);
|
gs-test.c | 58 float texcoord[4]; member in struct:vertex 243 ve[2].src_offset = Offset(struct vertex, texcoord);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi_insn.c | 1451 struct src_register texcoord; local 1536 struct src_register texcoord; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9tex.h | 87 typedef VOID (WINAPI *LPD3DXFILL2D)(D3DXVECTOR4 *out, CONST D3DXVECTOR2 *texcoord, CONST D3DXVECTOR2 *texelsize, LPVOID data); 88 typedef VOID (WINAPI *LPD3DXFILL3D)(D3DXVECTOR4 *out, CONST D3DXVECTOR3 *texcoord, CONST D3DXVECTOR3 *texelsize, LPVOID data);
|