/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/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/vulkan-validation-layers/libs/glm/gtx/ |
wrap.inl | 18 genType const & Texcoord 21 return glm::clamp(Texcoord, genType(0), genType(1)); 27 detail::tvec2<T, P> const & Texcoord 32 Result[i] = clamp(Texcoord[i]); 39 detail::tvec3<T, P> const & Texcoord 44 Result[i] = clamp(Texcoord[i]); 51 detail::tvec4<T, P> const & Texcoord 56 Result[i] = clamp(Texcoord[i]); 66 genType const & Texcoord 69 return glm::fract(Texcoord); [all...] |
wrap.hpp | 56 GLM_FUNC_DECL genType clamp(genType const & Texcoord); 61 GLM_FUNC_DECL genType repeat(genType const & Texcoord); 66 GLM_FUNC_DECL genType mirrorRepeat(genType const & Texcoord);
|
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/ |
common.glsl | 93 #define fetchColorDiffuseTD(texCoord, defaultValue) texture2D(u_diffuseTexture, texCoord) * u_diffuseColor 95 #define fetchColorDiffuseTD(texCoord, defaultValue) texture2D(u_diffuseTexture, texCoord) 97 #define fetchColorDiffuseTD(texCoord, defaultValue) u_diffuseColor 99 #define fetchColorDiffuseTD(texCoord, defaultValue) (defaultValue) 120 #define fetchColorSpecularTD(texCoord, defaultValue) (texture2D(u_specularTexture, texCoord).rgb * u_specularColor.rgb) 122 #define fetchColorSpecularTD(texCoord, defaultValue) texture2D(u_specularTexture, texCoord).rg [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
particles.fragment.glsl | 35 vec2 texCoord = v_rotation * uv +v_uvRegionCenter; 36 gl_FragColor = texture2D(u_diffuseTexture, texCoord)* v_color;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineReferenceRenderer.hpp | 99 tcu::Vec4 texCoord; 106 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx); 109 packet->outputs[1] = texCoord; 202 static tcu::Vec4 sampleTexture (const tcu::Texture1D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) 204 return texture.sample(sampler, texCoord.x(), lod); 207 static tcu::Vec4 sampleTexture (const tcu::Texture1DArray& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) 209 return texture.sample(sampler, texCoord.x(), texCoord.y(), lod); 212 static tcu::Vec4 sampleTexture (const tcu::Texture2D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) 214 return texture.sample(sampler, texCoord.x(), texCoord.y(), lod) [all...] |
/external/mesa3d/src/mesa/tnl/ |
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_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_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...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
ImmediateModeRendererTest.java | 43 renderer.texCoord(0, 0);
46 renderer.texCoord(1, 0);
49 renderer.texCoord(0.5f, 1);
|
ShaderMultitextureTest.java | 52 0.0f, 0.0f, // TexCoord 0
54 0.0f, 1.0f, // TexCoord 1
56 1.0f, 1.0f, // TexCoord 2
58 1.0f, 0.0f // TexCoord 3
|
/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...] |
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 585 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params) 588 const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[2+0], texCoord[4+0], texCoord[6+0]); 589 const tcu::Vec4 tq = tcu::Vec4(texCoord[0+1], texCoord[2+1], texCoord[4+1], texCoord[6+1]); 597 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params [all...] |
glsTextureTestUtil.hpp | 220 void renderQuad (int texUnit, const float* texCoord, TextureType texType); 221 void renderQuad (int texUnit, const float* texCoord, const RenderParams& params); 348 void fetchTexture (const SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias); 350 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params); 351 void sampleTexture (const SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params); 352 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params); 353 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params); 354 void sampleTexture (const SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params); 355 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params); 356 void sampleTexture (const SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& params) [all...] |
/development/ndk/platforms/android-17/samples/Teapot/assets/Shaders/ |
VS_ShaderPlain.vsh | 12 varying mediump vec2 texCoord; 36 texCoord = myUV;
|
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
QuadRenderer.h | 19 : pos(x,y,z), texCoord(u, v){} 22 DirectX::XMFLOAT2 texCoord;
|
/external/vulkan-validation-layers/demos/ |
cube.frag | 33 layout (location = 0) in vec4 texcoord; 36 uFragColor = texture(tex, texcoord.xy);
|
tri.frag | 32 layout (location = 0) in vec2 texcoord; 35 uFragColor = texture(tex, texcoord);
|
tri.vert | 33 layout (location = 0) out vec2 texcoord; 35 texcoord = attr;
|
/prebuilts/misc/windows/sdl2/test/ |
testshader.c | 278 SDL_GL_LoadTexture(SDL_Surface * surface, GLfloat * texcoord) 289 texcoord[0] = 0.0f; /* Min X */ 290 texcoord[1] = 0.0f; /* Min Y */ 291 texcoord[2] = (GLfloat) surface->w / w; /* Max X */ 292 texcoord[3] = (GLfloat) surface->h / h; /* Max Y */ 356 void DrawGLScene(SDL_Window *window, GLuint texture, GLfloat * texcoord) 397 glTexCoord2f(texcoord[MINX], texcoord[MINY]); 399 glTexCoord2f(texcoord[MAXX], texcoord[MINY]) [all...] |
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
WarpRenderer.cpp | 23 0.0f, 1.0f, // TexCoord 0 25 1.0f, 1.0f, // TexCoord 1 27 0.0f, 0.0f, // TexCoord 2 29 1.0f, 0.0f // TexCoord 3
|
YVURenderer.cpp | 23 0.0f, 1.0f, // TexCoord 0 25 1.0f, 1.0f, // TexCoord 1 27 0.0f, 0.0f, // TexCoord 2 29 1.0f, 0.0f // TexCoord 3
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gles2/ |
MipMap2D.java | 50 0.0f, 0.0f, // TexCoord 0
52 0.0f, 1.0f, // TexCoord 1
54 1.0f, 1.0f, // TexCoord 2
56 1.0f, 0.0f // TexCoord 3
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
WarpRenderer.cpp | 23 0.0f, 1.0f, // TexCoord 0 25 1.0f, 1.0f, // TexCoord 1 27 0.0f, 0.0f, // TexCoord 2 29 1.0f, 0.0f // TexCoord 3
|