/external/mesa3d/src/compiler/nir/ |
D | nir_lower_bitmap.c | 58 nir_variable *texcoord = NULL; in get_texcoord() local 63 texcoord = var; in get_texcoord() 69 if (texcoord == NULL) { in get_texcoord() 70 texcoord = nir_variable_create(shader, in get_texcoord() 74 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord() 77 return texcoord; in get_texcoord() 84 nir_ssa_def *texcoord; in lower_bitmap() local 89 texcoord = nir_load_var(b, get_texcoord(shader)); in lower_bitmap() 99 tex->src[0].src = nir_src_for_ssa(texcoord); in lower_bitmap()
|
D | nir_lower_drawpixels.c | 38 nir_variable *texcoord, *scale, *bias; member 44 if (state->texcoord == NULL) { in get_texcoord() 45 nir_variable *texcoord = NULL; in get_texcoord() local 50 texcoord = var; in get_texcoord() 56 if (texcoord == NULL) { in get_texcoord() 57 texcoord = nir_variable_create(state->shader, in get_texcoord() 61 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord() 64 state->texcoord = texcoord; in get_texcoord() 66 return nir_load_var(&state->b, state->texcoord); in get_texcoord() 117 nir_ssa_def *texcoord; in lower_color() local [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 508 const GLfloat texcoord[4], in nearest_texcoord() 518 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width); in nearest_texcoord() 519 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height); in nearest_texcoord() 523 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); in nearest_texcoord() 528 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); in nearest_texcoord() 529 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]); in nearest_texcoord() 533 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); in nearest_texcoord() 534 *j = tex_array_slice(texcoord[1], height); in nearest_texcoord() 538 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]); in nearest_texcoord() 539 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]); in nearest_texcoord() [all …]
|
D | s_fragprog.c | 80 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, in fetch_texel_lod() 93 1, (const GLfloat (*)[4]) texcoord, in fetch_texel_lod() 111 fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4], in fetch_texel_deriv() 133 texcoord[0], texcoord[1], texcoord[3], in fetch_texel_deriv() 134 1.0F / texcoord[3]); in fetch_texel_deriv() 141 1, (const GLfloat (*)[4]) texcoord, in fetch_texel_deriv()
|
D | s_span.c | 484 GLfloat (*texcoord)[4] = span->array->attribs[attr]; in interpolate_texcoords() local 532 texcoord[i][0] = s * invW; in interpolate_texcoords() 533 texcoord[i][1] = t * invW; in interpolate_texcoords() 534 texcoord[i][2] = r * invW; in interpolate_texcoords() 535 texcoord[i][3] = q * invW; in interpolate_texcoords() 549 texcoord[i][0] = s * invQ; in interpolate_texcoords() 550 texcoord[i][1] = t * invQ; in interpolate_texcoords() 551 texcoord[i][2] = r * invQ; in interpolate_texcoords() 552 texcoord[i][3] = q; in interpolate_texcoords() 573 texcoord[i][0] = s * invW; in interpolate_texcoords() [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texgen.c | 74 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member 255 GLvector4f *out = &store->texcoord[unit]; in texgen_reflection_map_nv() 277 GLvector4f *out = &store->texcoord[unit]; in texgen_normal_map_nv() 279 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start; in texgen_normal_map_nv() local 285 texcoord[i][0] = norm[0]; in texgen_normal_map_nv() 286 texcoord[i][1] = norm[1]; in texgen_normal_map_nv() 287 texcoord[i][2] = norm[2]; in texgen_normal_map_nv() 305 GLvector4f *out = &store->texcoord[unit]; in texgen_sphere_map() 306 GLfloat (*texcoord)[4] = (GLfloat (*)[4]) out->start; in texgen_sphere_map() local 320 texcoord[i][0] = f[i][0] * m[i] + 0.5F; in texgen_sphere_map() [all …]
|
D | t_vb_texmat.c | 48 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member 70 (void) TransformRaw( &store->texcoord[i], in run_texmat_stage() 74 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; in run_texmat_stage() 97 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); in alloc_texmat_data() 110 if (store->texcoord[i].data) in free_texmat_data() 111 _mesa_vector4f_free( &store->texcoord[i] ); in free_texmat_data()
|
/external/mesa3d/src/mesa/program/ |
D | prog_execute.c | 293 const GLfloat texcoord[4], GLfloat lodBias, in fetch_texel() 305 machine->FetchTexelDeriv(ctx, texcoord, in fetch_texel() 311 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); in fetch_texel() 1068 GLfloat texcoord[4], color[4]; in _mesa_execute_program() local 1069 fetch_vector4(&inst->SrcReg[0], machine, texcoord); in _mesa_execute_program() 1077 texcoord[3] = 1.0f; in _mesa_execute_program() 1079 fetch_texel(ctx, machine, inst, texcoord, 0.0, color); in _mesa_execute_program() 1085 texcoord[0], texcoord[1], texcoord[2], texcoord[3]); in _mesa_execute_program() 1093 GLfloat texcoord[4], color[4], lodBias; in _mesa_execute_program() local 1095 fetch_vector4(&inst->SrcReg[0], machine, texcoord); in _mesa_execute_program() [all …]
|
D | 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],
|
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 267 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) in compute_texgen() 288 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane); in compute_texgen() 291 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane); in compute_texgen() 294 texcoord[0] = rx * mInv + 0.5F; in compute_texgen() 297 texcoord[0] = rx; in compute_texgen() 300 texcoord[0] = normal[0]; in compute_texgen() 311 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); in compute_texgen() 314 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); in compute_texgen() 317 texcoord[1] = ry * mInv + 0.5F; in compute_texgen() 320 texcoord[1] = ry; in compute_texgen() [all …]
|
D | feedback.c | 116 const GLfloat texcoord[4]) in _mesa_feedback_vertex() 133 _mesa_feedback_token( ctx, texcoord[0] ); in _mesa_feedback_vertex() 134 _mesa_feedback_token( ctx, texcoord[1] ); in _mesa_feedback_vertex() 135 _mesa_feedback_token( ctx, texcoord[2] ); in _mesa_feedback_vertex() 136 _mesa_feedback_token( ctx, texcoord[3] ); in _mesa_feedback_vertex()
|
D | ff_fragment_shader.cpp | 886 ir_rvalue *texcoord; in load_texture() local 889 texcoord = get_current_attrib(p, VERT_ATTRIB_TEX0 + unit); in load_texture() 891 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]); in load_texture() 895 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); in load_texture() 897 texcoord = new(p->mem_ctx) ir_dereference_array(texcoord, index); in load_texture() 989 tex->coordinate = new(p->mem_ctx) ir_swizzle(texcoord, 0, 1, 2, 3, coords); in load_texture() 992 texcoord = texcoord->clone(p->mem_ctx, NULL); in load_texture() 993 tex->shadow_comparator = new(p->mem_ctx) ir_swizzle(texcoord, in load_texture() 999 texcoord = texcoord->clone(p->mem_ctx, NULL); in load_texture() 1000 tex->projector = swizzle_w(texcoord); in load_texture()
|
D | eval.c | 917 static GLfloat texcoord[4] = { 0.0, 0.0, 0.0, 1.0 }; in _mesa_init_eval() local 924 init_1d_map( &ctx->EvalMap.Map1Texture1, 1, texcoord ); in _mesa_init_eval() 925 init_1d_map( &ctx->EvalMap.Map1Texture2, 2, texcoord ); in _mesa_init_eval() 926 init_1d_map( &ctx->EvalMap.Map1Texture3, 3, texcoord ); in _mesa_init_eval() 927 init_1d_map( &ctx->EvalMap.Map1Texture4, 4, texcoord ); in _mesa_init_eval() 934 init_2d_map( &ctx->EvalMap.Map2Texture1, 1, texcoord ); in _mesa_init_eval() 935 init_2d_map( &ctx->EvalMap.Map2Texture2, 2, texcoord ); in _mesa_init_eval() 936 init_2d_map( &ctx->EvalMap.Map2Texture3, 3, texcoord ); in _mesa_init_eval() 937 init_2d_map( &ctx->EvalMap.Map2Texture4, 4, texcoord ); in _mesa_init_eval()
|
D | feedback.h | 54 const GLfloat texcoord[4] );
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vertprog.c | 66 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) { in nv30_vertprog_validate() 69 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord)); in nv30_vertprog_validate()
|
D | nv30_state.h | 87 uint16_t texcoord[10]; member 119 uint16_t texcoord[10]; member
|
/external/vulkan-validation-layers/demos/android/include/ |
D | cube.frag.h | 30 Decorate 16(texcoord) Location 0 42 16(texcoord): 15(ptr) Variable Input 47 18: 7(fvec4) Load 16(texcoord)
|
D | cube.vert.h | 33 Decorate 9(texcoord) Location 0 52 9(texcoord): 8(ptr) Variable Output 82 Store 9(texcoord) 25
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 160 GrGLSLVarying texcoord(kFloat2_GrSLType); in onEmitCode() local 162 varyingHandler->addVarying("texcoord", &texcoord); in onEmitCode() 202 v->codeAppendf("%s = atlascoord * %s;", texcoord.vsOut(), atlasAdjust); in onEmitCode() 206 texcoord.vsOut(), atlasAdjust, atlasAdjust); in onEmitCode() 223 f->appendTextureLookup(args.fTexSamplers[0], texcoord.fsIn(), kFloat2_GrSLType); in onEmitCode()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 162 GrGLSLVarying texcoord(kFloat2_GrSLType); in onEmitCode() local 164 varyingHandler->addVarying("texcoord", &texcoord); in onEmitCode() 204 v->codeAppendf("%s = atlascoord * %s;", texcoord.vsOut(), atlasAdjust); in onEmitCode() 208 texcoord.vsOut(), atlasAdjust, atlasAdjust); in onEmitCode() 225 f->appendTextureLookup(args.fTexSamplers[0], texcoord.fsIn(), kFloat2_GrSLType); in onEmitCode()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_feedback.c | 86 const GLfloat *color, *texcoord; in feedback_vertex() local 110 texcoord = v->data[slot]; in feedback_vertex() 112 texcoord = ctx->Current.Attrib[VERT_ATTRIB_TEX0]; in feedback_vertex() 114 _mesa_feedback_vertex(ctx, win, color, texcoord); in feedback_vertex()
|
/external/vulkan-validation-layers/demos/ |
D | cube.frag | 26 layout (location = 0) in vec4 texcoord; 29 uFragColor = texture(tex, texcoord.xy);
|
D | cube.vert | 30 layout (location = 0) out vec4 texcoord; 34 texcoord = ubuf.attr[gl_VertexIndex];
|
/external/webrtc/webrtc/api/objc/ |
D | RTCOpenGLVideoRenderer.mm | 52 VERTEX_SHADER_IN " vec2 texcoord;\n" 56 " v_texcoord = texcoord;\n" 284 _texcoord = glGetAttribLocation(_program, "texcoord"); 471 // Read texcoord attribute from |gVertices| with size of 2 and stride of 4 472 // beginning at the first texcoord in the array. The last argument indicates
|
/external/webrtc/talk/app/webrtc/objc/ |
D | RTCOpenGLVideoRenderer.mm | 73 VERTEX_SHADER_IN " vec2 texcoord;\n" 77 " v_texcoord = texcoord;\n" 303 _texcoord = glGetAttribLocation(_program, "texcoord"); 489 // Read texcoord attribute from |gVertices| with size of 2 and stride of 4 490 // beginning at the first texcoord in the array. The last argument indicates
|