/external/mesa3d/src/compiler/nir/ |
D | nir_lower_bitmap.c | 58 nir_variable *texcoord = in get_texcoord() local 62 if (texcoord == NULL) { in get_texcoord() 63 texcoord = nir_variable_create(shader, in get_texcoord() 67 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord() 70 return texcoord; in get_texcoord() 77 nir_ssa_def *texcoord; in lower_bitmap() local 82 texcoord = nir_load_var(b, get_texcoord(shader)); in lower_bitmap() 106 nir_src_for_ssa(nir_channels(b, texcoord, in lower_bitmap()
|
D | nir_lower_drawpixels.c | 38 nir_variable *texcoord, *texcoord_const, *scale, *bias, *tex, *pixelmap; 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() 119 nir_ssa_def *texcoord; in lower_color() local [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_texgen.c | 75 GLvector4f texcoord[MAX_TEXTURE_COORD_UNITS]; member 256 GLvector4f *out = &store->texcoord[unit]; in texgen_reflection_map_nv() 278 GLvector4f *out = &store->texcoord[unit]; in texgen_normal_map_nv() 280 GLfloat (*texcoord)[4] = (GLfloat (*)[4])out->start; in texgen_normal_map_nv() local 286 texcoord[i][0] = norm[0]; in texgen_normal_map_nv() 287 texcoord[i][1] = norm[1]; in texgen_normal_map_nv() 288 texcoord[i][2] = norm[2]; in texgen_normal_map_nv() 306 GLvector4f *out = &store->texcoord[unit]; in texgen_sphere_map() 307 GLfloat (*texcoord)[4] = (GLfloat (*)[4]) out->start; in texgen_sphere_map() local 321 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/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 | 487 GLfloat (*texcoord)[4] = span->array->attribs[attr]; in interpolate_texcoords() local 535 texcoord[i][0] = s * invW; in interpolate_texcoords() 536 texcoord[i][1] = t * invW; in interpolate_texcoords() 537 texcoord[i][2] = r * invW; in interpolate_texcoords() 538 texcoord[i][3] = q * invW; in interpolate_texcoords() 552 texcoord[i][0] = s * invQ; in interpolate_texcoords() 553 texcoord[i][1] = t * invQ; in interpolate_texcoords() 554 texcoord[i][2] = r * invQ; in interpolate_texcoords() 555 texcoord[i][3] = q; in interpolate_texcoords() 576 texcoord[i][0] = s * invW; in interpolate_texcoords() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | prog_execute.c | 296 const GLfloat texcoord[4], GLfloat lodBias, in fetch_texel() 308 machine->FetchTexelDeriv(ctx, texcoord, in fetch_texel() 314 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); in fetch_texel() 1069 GLfloat texcoord[4], color[4]; in _mesa_execute_program() local 1070 fetch_vector4(&inst->SrcReg[0], machine, texcoord); in _mesa_execute_program() 1078 texcoord[3] = 1.0f; in _mesa_execute_program() 1080 fetch_texel(ctx, machine, inst, texcoord, 0.0, color); in _mesa_execute_program() 1086 texcoord[0], texcoord[1], texcoord[2], texcoord[3]); in _mesa_execute_program() 1094 GLfloat texcoord[4], color[4], lodBias; in _mesa_execute_program() local 1096 fetch_vector4(&inst->SrcReg[0], machine, texcoord); in _mesa_execute_program() [all …]
|
D | prog_execute.h | 34 typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], 37 typedef void (*FetchTexelDerivFunc)(struct gl_context *ctx, const GLfloat texcoord[4],
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCShader.mm | 32 VERTEX_SHADER_IN " vec2 texcoord;\n" 36 " v_texcoord = texcoord;\n" 105 // Set vertex shader variables 'position' and 'texcoord' in program. 107 GLint texcoord = glGetAttribLocation(program, "texcoord"); 108 if (position < 0 || texcoord < 0) { 118 // Read texcoord attribute with size of 2 and stride of 4 beginning at the first texcoord in the 121 texcoord, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(GLfloat), (void *)(2 * sizeof(GLfloat))); 122 glEnableVertexAttribArray(texcoord);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | workaround1209_test.cpp | 43 OpName %texcoord "texcoord" in TEST_F() 135 OpName %3 "texcoord" in TEST_F() 235 OpName %3 "texcoord" in TEST_F() 349 OpName %texcoord "texcoord" in TEST_F()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | workaround1209_test.cpp | 43 OpName %texcoord "texcoord" in TEST_F() 135 OpName %3 "texcoord" in TEST_F() 235 OpName %3 "texcoord" in TEST_F() 349 OpName %texcoord "texcoord" in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | workaround1209_test.cpp | 43 OpName %texcoord "texcoord" in TEST_F() 135 OpName %3 "texcoord" in TEST_F() 235 OpName %3 "texcoord" in TEST_F() 349 OpName %texcoord "texcoord" in TEST_F()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 157 GrGLSLVarying texcoord(kFloat3_GrSLType); in onEmitCode() local 159 varyingHandler->addVarying("texcoord", &texcoord); in onEmitCode() 209 v->codeAppendf("%s.xy = atlascoord * %s;", texcoord.vsOut(), atlasAdjust); in onEmitCode() 213 texcoord.vsOut(), atlasAdjust, atlasAdjust); in onEmitCode() 217 v->codeAppendf("%s.z = sign(devbounds.z - devbounds.x) * .5;", texcoord.vsOut()); in onEmitCode() 227 f->appendTextureLookup(args.fTexSamplers[0], SkStringPrintf("%s.xy", texcoord.fsIn()).c_str(), in onEmitCode() 233 f->codeAppendf("coverage = min(abs(coverage) * %s.z, .5);", texcoord.fsIn()); in onEmitCode()
|
/external/webrtc/sdk/objc/components/renderer/metal/ |
D | RTCMTLI420Renderer.mm | 28 packed_float2 texcoord; 33 float2 texcoord; 41 out.texcoord = v.texcoord; 59 y = textureY.sample(s, in.texcoord).r; 60 u = textureU.sample(s, in.texcoord).r; 61 v = textureV.sample(s, in.texcoord).r;
|
D | RTCMTLNV12Renderer.mm | 29 packed_float2 texcoord; 34 float2 texcoord; 42 out.texcoord = v.texcoord; 54 y = textureY.sample(s, in.texcoord).r; 55 uv = textureCbCr.sample(s, in.texcoord).rg - float2(0.5, 0.5);
|
D | RTCMTLRGBRenderer.mm | 29 packed_float2 texcoord; 34 float2 texcoord; 42 out.texcoord = v.texcoord; 51 half4 out = texture.sample(s, in.texcoord);
|
/external/mesa3d/src/mesa/main/ |
D | rastpos.c | 285 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) in compute_texgen() 307 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane); in compute_texgen() 310 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane); in compute_texgen() 313 texcoord[0] = rx * mInv + 0.5F; in compute_texgen() 316 texcoord[0] = rx; in compute_texgen() 319 texcoord[0] = normal[0]; in compute_texgen() 330 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); in compute_texgen() 333 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); in compute_texgen() 336 texcoord[1] = ry * mInv + 0.5F; in compute_texgen() 339 texcoord[1] = ry; in compute_texgen() [all …]
|
D | feedback.c | 115 const GLfloat texcoord[4]) in _mesa_feedback_vertex() 132 _mesa_feedback_token( ctx, texcoord[0] ); in _mesa_feedback_vertex() 133 _mesa_feedback_token( ctx, texcoord[1] ); in _mesa_feedback_vertex() 134 _mesa_feedback_token( ctx, texcoord[2] ); in _mesa_feedback_vertex() 135 _mesa_feedback_token( ctx, texcoord[3] ); in _mesa_feedback_vertex()
|
/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()
|
/external/skia/resources/sksl/glsl/ |
D | ShortIntPrecision.sksl | 4 in float2 texcoord; 9 sk_FragColor = sample(tex, texcoord + float2(offset * scalar));
|
D | IncompleteShortIntPrecision.sksl | 4 in float2 texcoord; 9 sk_FragColor = sample(tex, texcoord + float2(offset * scalar));
|
/external/skia/tests/sksl/glsl/ |
D | ShortIntPrecision.glsl | 6 in highp vec2 texcoord; 10 sk_FragColor = texture(tex, texcoord + vec2(offset * scalar));
|
D | IncompleteShortIntPrecision.glsl | 6 in highp vec2 texcoord; 10 sk_FragColor = texture(tex, texcoord + vec2(offset * scalar));
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_feedback.c | 89 const GLfloat *color, *texcoord; in feedback_vertex() local 113 texcoord = v->data[slot]; in feedback_vertex() 115 texcoord = ctx->Current.Attrib[VERT_ATTRIB_TEX0]; in feedback_vertex() 117 _mesa_feedback_vertex(ctx, win, color, texcoord); in feedback_vertex()
|