Home
last modified time | relevance | path

Searched refs:texCoord (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/glslang/Test/baseResults/
Dhlsl.scalarCast.vert.out4 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
15 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
26 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
37 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
46 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
55 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
64 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
71 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
80 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
89 … structure{ temp 4-component vector of float position, temp 2-component vector of float texCoord})
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DResolveDepthStencil.hlsl13 out float2 texCoord : TEXCOORD0)
17 texCoord = float2((corner.x + 1.0f) * 0.5f, (-corner.y + 1.0f) * 0.5f);
24 in float2 texCoord : TEXCOORD0,
30 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
35 in float2 texCoord : TEXCOORD0,
41 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
47 in float2 texCoord : TEXCOORD0,
53 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DResolveDepthStencil.hlsl13 out float2 texCoord : TEXCOORD0)
17 texCoord = float2((corner.x + 1.0f) * 0.5f, (-corner.y + 1.0f) * 0.5f);
24 in float2 texCoord : TEXCOORD0,
30 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
35 in float2 texCoord : TEXCOORD0,
41 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
47 in float2 texCoord : TEXCOORD0,
53 uint2 coord = uint2(texCoord.x * float(width), texCoord.y * float(height));
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp162 …urfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4&…
164 …cu::PixelBufferAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceP…
166 …t tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceP…
167 …tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceP…
168 …u::SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceP…
169 …t tcu::SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceP…
170 …:SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceP…
171 …t tcu::SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceP…
172 …u::SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceP…
202 const float* texCoord,
[all …]
DgluTextureTestUtil.cpp556 …cu::PixelBufferAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceP… in sampleTexture() argument
559 const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[2+0], texCoord[4+0], texCoord[6+0]); in sampleTexture()
560 const tcu::Vec4 tq = tcu::Vec4(texCoord[0+1], texCoord[2+1], texCoord[4+1], texCoord[6+1]); in sampleTexture()
568 …st tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceP… in sampleTexture() argument
571 const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[2+0], texCoord[4+0], texCoord[6+0]); in sampleTexture()
572 const tcu::Vec4 tq = tcu::Vec4(texCoord[0+1], texCoord[2+1], texCoord[4+1], texCoord[6+1]); in sampleTexture()
580 …st tcu::SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceP… in sampleTexture() argument
583 const tcu::Vec4 sq = tcu::Vec4(texCoord[0], texCoord[1], texCoord[2], texCoord[3]); in sampleTexture()
679 … tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceP… in sampleTexture() argument
682 const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[3+0], texCoord[6+0], texCoord[9+0]); in sampleTexture()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp213 float const texCoord[] = { 0.0f, 0.0f, 1.0f, 1.0f }; in getTexCoords() local
214 return std::vector<float>(texCoord, texCoord + sizeof(texCoord) / sizeof(float)); in getTexCoords()
260 float const texCoord[] = { 0.0f, 0.5f, 0.0f, 0.5f, 1.0f, 0.5f, 1.0f, 0.5f }; in getTexCoords() local
261 return std::vector<float>(texCoord, texCoord + sizeof(texCoord) / sizeof(float)); in getTexCoords()
304 float const texCoord[] = { 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f }; in getTexCoords() local
305 return std::vector<float>(texCoord, texCoord + sizeof(texCoord) / sizeof(float)); in getTexCoords()
351 …float const texCoord[] = { 0.0f, 0.0f, 0.5f, 0.0f, 1.0f, 0.5f, 1.0f, 0.0f, 0.5f, 1.0f, 1.0f, 0.5f … in getTexCoords() local
352 return std::vector<float>(texCoord, texCoord + sizeof(texCoord) / sizeof(float)); in getTexCoords()
395 …float const texCoord[] = { 0.0f, 0.0f, 0.5f, 0.0f, 1.0f, 0.5f, 1.0f, 0.0f, 0.5f, 1.0f, 1.0f, 0.5f … in getTexCoords() local
396 return std::vector<float>(texCoord, texCoord + sizeof(texCoord) / sizeof(float)); in getTexCoords()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/
Dupsample_yuy2.glsl20 vec3 upsample_YUY2(in sampler2D tex, in vec2 texCoord, in vec2 texSize, in ivec4 inReorderIdx)
23 if (mod (texCoord.x * texSize.x, 2.0) < 1.0) {
29 yuv.x = texture(tex, texCoord)[inReorderIdx[0]];
32 texel.xy = texture(tex, texCoord + vec2(dx[0], 0.0)).rg;
33 texel.zw = texture(tex, texCoord + vec2(dx[1], 0.0)).rg;
Dupsample_nv12.glsl22 vec3 upsample_NV12(in sampler2D Ytex, in sampler2D UVtex, in vec2 texCoord, in ivec4 inReorderIdx)
25 yuv.x = texture(Ytex, texCoord).x;
26 yuv.yz = texture(UVtex, texCoord).xy;
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp196 vector<float> texCoord; in iterate() local
231 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f)); in iterate()
233 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
235 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
242 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)); in iterate()
244 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
246 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
271 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange)); in iterate()
273 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
275 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp206 vector<float> texCoord; in iterate() local
241 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f)); in iterate()
243 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
245 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
252 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)); in iterate()
254 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
256 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
281 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange)); in iterate()
283 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
285 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureFilteringTests.cpp73 static void logCubeArrayTexCoords(TestLog& log, vector<float>& texCoord) in logCubeArrayTexCoords() argument
75 const size_t numVerts = texCoord.size() / 4; in logCubeArrayTexCoords()
77 DE_ASSERT(texCoord.size() % 4 == 0); in logCubeArrayTexCoords()
83 const float u = texCoord[coordNdx + 0]; in logCubeArrayTexCoords()
84 const float v = texCoord[coordNdx + 1]; in logCubeArrayTexCoords()
85 const float w = texCoord[coordNdx + 2]; in logCubeArrayTexCoords()
86 const float q = texCoord[coordNdx + 3]; in logCubeArrayTexCoords()
375 vector<float> texCoord; in iterate() local
377 …computeQuadTexCoordCubeArray(texCoord, face, curCase.bottomLeft, curCase.topRight, curCase.layerRa… in iterate()
383 logCubeArrayTexCoords(log, texCoord); in iterate()
[all …]
/third_party/skia/third_party/externals/d3d12allocator/src/Shaders/
DVS.hlsl26 float2 texCoord: TEXCOORD;
32 float2 texCoord: TEXCOORD;
44 output.texCoord = input.texCoord;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp495 vector<Vec2> texCoord; in testFormat() local
501 generateLookupCoordinates(size, &texCoord); in testFormat()
503 result.resize(texCoord.size()); in testFormat()
504 reference.resize(texCoord.size()); in testFormat()
508 const void* inputs[] = { texCoord[0].getPtr() }; in testFormat()
511 executor->execute((int)texCoord.size(), inputs, outputs, *descSet); in testFormat()
522 for (size_t ndx = 0; ndx < texCoord.size(); ++ndx) in testFormat()
524 const Vec2& coord = texCoord[ndx]; in testFormat()
530 for (size_t ndx = 0; ndx < texCoord.size(); ++ndx) in testFormat()
535 for (size_t ndx = 0; ndx < texCoord.size(); ++ndx) in testFormat()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFormatTests.cpp146 vector<float> texCoord; in iterate() local
160 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
188 m_renderer.renderQuad(0, &texCoord[0], renderParams); in iterate()
193 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate()
322 vector<float> texCoord; in testFace() local
336 computeQuadTexCoordCube(texCoord, face); in testFace()
356 m_renderer.renderQuad(0, &texCoord[0], renderParams); in testFace()
361 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace()
456 vector<float> texCoord; in iterate() local
458 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
[all …]
Des2fTextureSizeTests.cpp135 vector<float> texCoord; in iterate() local
137 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
156 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
160 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferencePara… in iterate()
283 vector<float> texCoord; in testFace() local
285 computeQuadTexCoordCube(texCoord, face); in testFace()
303 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_CUBE); in testFace()
309 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferencePara… in testFace()
Des2fTextureWrapTests.cpp180 vector<float> texCoord; in iterate() local
214 computeQuadTexCoord2D(texCoord, tcu::Vec2(-1.5f, -3.0f), tcu::Vec2(1.5f, 2.5f)); in iterate()
216 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
220 m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
227 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)); in iterate()
229 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate()
233 m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
Des2fTextureMipmapTests.cpp263 vector<float> texCoord; in iterate() local
326 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
327 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
339 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
378 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
379 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
391 refTexture, &texCoord[0], sampleParams); in iterate()
397 m_texture->getRefTexture(), &texCoord[0], sampleParams, in iterate()
596 vector<float> texCoord; in iterate() local
644 computeQuadTexCoordCube(texCoord, cubeFace); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureFormatTests.cpp186 vector<float> texCoord; in iterate() local
200 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
228 m_renderer.renderQuad(0, &texCoord[0], renderParams); in iterate()
233 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate()
381 vector<float> texCoord; in testFace() local
395 computeQuadTexCoordCube(texCoord, face); in testFace()
415 m_renderer.renderQuad(0, &texCoord[0], renderParams); in testFace()
420 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace()
548 vector<float> texCoord; in testLayer() local
557 computeQuadTexCoord2DArray(texCoord, layerNdx, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in testLayer()
[all …]
Des3fTextureMipmapTests.cpp307 vector<float> texCoord; in iterate() local
370 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
371 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
383 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
422 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
423 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
435 refTexture, &texCoord[0], sampleParams); in iterate()
441 m_texture->getRefTexture(), &texCoord[0], sampleParams, in iterate()
635 vector<float> texCoord; in iterate() local
681 computeQuadTexCoordCube(texCoord, cubeFace); in iterate()
[all …]
Des3fTextureSizeTests.cpp136 vector<float> texCoord; in iterate() local
138 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
157 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
161 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferencePara… in iterate()
284 vector<float> texCoord; in testFace() local
286 computeQuadTexCoordCube(texCoord, face); in testFace()
304 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_CUBE); in testFace()
310 …erCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferencePara… in testFace()
Des3fTextureShadowTests.cpp101 const float* texCoord, in verifyTexCompareResult() argument
126 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
127 …ff(result, reference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, co… in verifyTexCompareResult()
133 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
134 …eCompareDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, co… in verifyTexCompareResult()
333 vector<float> texCoord; in iterate() local
349 computeQuadTexCoord2D(texCoord, curCase.minCoord, curCase.maxCoord); in iterate()
360 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
377 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
388 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp267 vector<float> texCoord; in iterate() local
314 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
315 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
326 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate()
363 case COORDTYPE_BASIC: getBasicTexCoord2D (texCoord, cellNdx); break; in iterate()
364 case COORDTYPE_AFFINE: getAffineTexCoord2D (texCoord, cellNdx); break; in iterate()
376 m_texture->getTexture(), &texCoord[0], refParams); in iterate()
382 m_texture->getTexture(), &texCoord[0], refParams, in iterate()
511 vector<float> texCoord; in iterate() local
545 computeQuadTexCoordCube(texCoord, cubeFace); in iterate()
[all …]
DvktTextureSwizzleTests.cpp141 vector<float> texCoord; in iterate() local
157 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
158 m_renderer.renderQuad(rendered, 0, &texCoord[0], sampleParams); in iterate()
174 …const tcu::Vec4 sq = tcu::Vec4(texCoord[0+0], texCoord[2+0], texCoord[4+0], texCoord[6+0]… in iterate()
175 …const tcu::Vec4 tq = tcu::Vec4(texCoord[0+1], texCoord[2+1], texCoord[4+1], texCoord[6+1]… in iterate()
DvktTextureShadowTests.cpp155 const float* texCoord, in verifyTexCompareResult() argument
180 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
181 …ff(result, reference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, co… in verifyTexCompareResult()
187 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
188 …eCompareDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, co… in verifyTexCompareResult()
358 vector<float> texCoord; in iterate() local
373 computeQuadTexCoord2D(texCoord, curCase.minCoord, curCase.maxCoord); in iterate()
375 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], sampleParams); in iterate()
391 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
402 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
[all …]
DvktTextureCompressedFormatTests.cpp201 vector<float> texCoord; in iterate() local
234 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in iterate()
236 m_renderer.renderQuad(rendered, 0, &texCoord[0], sampleParams); in iterate()
242 …sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat), m_texture->getTexture(), &texCoord[… in iterate()
321 vector<float> texCoord; in iterate() local
378 …computeQuadTexCoord3D(texCoord, tcu::Vec3(0.0f, 0.0f, z), tcu::Vec3(1.0f, 1.0f, z), tcu::IVec3(0,1… in iterate()
379 m_renderer3D.renderQuad(rendered, 0, &texCoord[0], sampleParams); in iterate()
383 …SurfaceAccess(referenceFrame, pixelFormat), m_texture3D->getTexture(), &texCoord[0], sampleParams); in iterate()

1234