/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | blit.metal | 44 float2 texCoords [[user(locn1)]]; 51 output.texCoords = options.srcTexCoords[vid]; 68 static uint2 getImageCoords(SrcTexture2d srcTexture, float2 texCoords) 71 uint2 coords = uint2(texCoords * float2(dimens)); 77 static inline vec<T, 4> blitSampleTextureMS(texture2d_ms<T> srcTexture, float2 texCoords) 79 uint2 coords = getImageCoords(srcTexture, texCoords); 86 float2 texCoords, 92 return srcTexture.sample(textureSampler, float3(texCoords, zCoord), level(options.srcLevel)); 120 output = srcTexture2d.sample(textureSampler, input.texCoords, level(options.srcLevel)); 123 output = srcTexture2dArray.sample(textureSampler, input.texCoords, options.srcLayer, [all …]
|
D | gen_mipmap.metal | 66 float3 texCoords = (float3(gIndices) + float3(0.5, 0.5, 0.5)) / float3(mipSize); 67 texel1 = srcTexture.sample(textureSampler, texCoords, level(options.srcLevel)); 246 float2 texCoords = (float2(gIndices) + float2(0.5, 0.5)) / float2(mipSize); 247 texel1 = srcTexture.sample(textureSampler, texCoords, level(options.srcLevel)); 484 float2 texCoords = (float2(gIndices.xy) + float2(0.5, 0.5)) / float2(mip1Size); 485 mip1Texel = srcTexture.sample(textureSampler, cubeTexcoords(texCoords, int(gIndices.z)), 532 float2 texCoords = (float2(gIndices.xy) + float2(0.5, 0.5)) / float2(mip1Size); 534 srcTexture.sample(textureSampler, texCoords, gIndices.z, level(options.srcLevel));
|
/external/skqp/tests/ |
D | VerticesTest.cpp | 25 if (!!v0->texCoords() != !!v1->texCoords()) { in equal() 36 if (v0->texCoords()) { in equal() 37 if (v0->texCoords()[i] != v1->texCoords()[i]) { in equal() 70 if (builder.texCoords()) { in DEF_TEST() 71 builder.texCoords()[i].set(x, 2); in DEF_TEST()
|
/external/skia/tests/ |
D | VerticesTest.cpp | 31 if (!!v0.texCoords() != !!v1.texCoords()) { in equal() 42 if (v0.texCoords()) { in equal() 43 if (v0.texCoords()[i] != v1.texCoords()[i]) { in equal() 94 if (builder.texCoords()) { in DEF_TEST() 95 builder.texCoords()[i].set(x, 2); in DEF_TEST()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 61 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local 65 memset(texCoords, 0, sizeof(texCoords)); in calculate_vertex_layout() 77 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 89 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 146 if (texCoords[i]) { in calculate_vertex_layout()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 481 const tcu::Vec2 texCoords[4] = in shadeFragments() local 494 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(), in shadeFragments() 495 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(), in shadeFragments() 496 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(), in shadeFragments() 497 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(), in shadeFragments() 510 m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f), in shadeFragments() 511 m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f), in shadeFragments() 512 m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f), in shadeFragments() 513 m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f), in shadeFragments()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | inline_opaque_test.cpp | 48 OpName %texCoords "texCoords" in TEST_F() 152 OpName %texCoords "texCoords" in TEST_F() 253 OpName %texCoords "texCoords" in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | inline_opaque_test.cpp | 48 OpName %texCoords "texCoords" in TEST_F() 152 OpName %texCoords "texCoords" in TEST_F() 253 OpName %texCoords "texCoords" in TEST_F()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | inline_opaque_test.cpp | 48 OpName %texCoords "texCoords" in TEST_F() 152 OpName %texCoords "texCoords" in TEST_F() 253 OpName %texCoords "texCoords" in TEST_F()
|
/external/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 279 SkRect texCoords; in onPrepareDraws() local 281 coords.store(&texCoords); in onPrepareDraws() 285 GrVertexWriter::TriStripFromRect(texCoords), in onPrepareDraws() 297 SkPoint::Make(texCoords.fLeft, texCoords.fTop), in onPrepareDraws() 301 SkPoint::Make(texCoords.fLeft, texCoords.fBottom), in onPrepareDraws() 305 SkPoint::Make(texCoords.fRight, texCoords.fTop), in onPrepareDraws() 309 SkPoint::Make(texCoords.fRight, texCoords.fBottom), in onPrepareDraws()
|
D | GrDrawVerticesOp.cpp | 450 const SkPoint* localCoords = info.texCoords() ? info.texCoords() : positions; in onPrepareDraws() 659 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument 665 texCoords->push_back(random_point(random, min, max)); in randomize_params() 691 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local 704 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE() 709 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE() 719 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()
|
/external/skia/docs/examples/ |
D | Canvas_drawPatch_2_b.cpp | 14 SkPoint texCoords[] = { { 0, 0 }, { 0, 62}, { 62, 62}, { 62, 0 } }; in draw() local 17 canvas->drawPatch(cubics, nullptr, texCoords, paint); in draw()
|
D | Canvas_drawPatch.cpp | 15 SkPoint texCoords[] = { { -30, -30 }, { 162, -30}, { 162, 162}, { -30, 162} }; in draw() local 19 canvas->drawPatch(cubics, colors, texCoords, blend, paint); in draw()
|
D | draw_patch.cpp | 18 const SkPoint texCoords[] = { in draw() local 20 canvas->drawPatch(cubics, nullptr, texCoords, SkBlendMode::kSrcOver, p); in draw()
|
/external/skqp/src/gpu/ops/ |
D | GrDrawVerticesOp.cpp | 380 const SkPoint* localCoords = mesh.fVertices->texCoords(); in fillBuffers() 589 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument 595 texCoords->push_back(random_point(random, min, max)); in randomize_params() 618 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local 631 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE() 636 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE() 646 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/include/core/ |
D | SkVertices.h | 187 SkPoint* texCoords(); // returns null if there are no texCoords 215 bool hasTexCoords() const { return SkToBool(this->texCoords()); } in hasTexCoords() 221 const SkPoint* texCoords() const { return fTexs; } in texCoords() function
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 376 tcu::Vec2 texCoords[4]; in shadeFragments() local 385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 400 tex->sample4(tmpColors, texCoords); in shadeFragments() 530 tcu::Vec3 texCoords[4]; in shadeFragments() local 540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z()); in shadeFragments() 543 tex->sample4(colors, texCoords); in shadeFragments() 638 tcu::Vec3 texCoords[4]; in shadeFragments() local 648 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), float(layer)); in shadeFragments() 651 tex->sample4(colors, texCoords); in shadeFragments() 746 tcu::Vec3 texCoords[4]; in shadeFragments() local [all …]
|
D | es3fTextureUnitTests.cpp | 637 const tcu::Vec2 texCoords[4] = in shadeFragments() local 648 (m_transformations[unitNdx] * Vec4(texCoords[0].x(), texCoords[0].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 649 (m_transformations[unitNdx] * Vec4(texCoords[1].x(), texCoords[1].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 650 (m_transformations[unitNdx] * Vec4(texCoords[2].x(), texCoords[2].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 651 (m_transformations[unitNdx] * Vec4(texCoords[3].x(), texCoords[3].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
|
/external/skqp/src/core/ |
D | SkVertices.cpp | 185 SkPoint* SkVertices::Builder::texCoords() { in texCoords() function in SkVertices::Builder 186 return fVertices ? const_cast<SkPoint*>(fVertices->texCoords()) : nullptr; in texCoords() 231 this->texCoords(), in applyBones() 298 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy() 409 reader.read(builder.texCoords(), sizes.fTSize); in Decode()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 504 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument 506 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs() 509 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs() 592 const TexCoordT (&texCoords)[4], in verifyGatherOffsets() 616 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets() 672 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare() 694 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare() 1480 const TexCoordT (&texCoords)[4], in verify() 1530 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify() 1543 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|
D | es31fFboTestUtil.cpp | 219 tcu::Vec2 texCoords[4]; in shadeFragments() local 228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 243 tex->sample4(tmpColors, texCoords); in shadeFragments() 390 tcu::Vec4 texCoords[4]; in shadeFragments() local 400 texCoords[fragNdx] = tcu::Vec4(coord.x(), coord.y(), coord.z(), (float)m_layer); in shadeFragments() 403 tex->sample4(colors, texCoords); in shadeFragments()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 535 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument 537 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs() 540 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs() 623 const TexCoordT (&texCoords)[4], in verifyGatherOffsets() 647 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets() 703 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare() 725 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare() 1423 const TexCoordT (&texCoords)[4], in verify() 1458 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify() 1471 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|
/external/skqp/src/utils/ |
D | SkPatchUtils.h | 53 const SkPoint texCoords[4], int lodX, int lodY,
|
/external/skia/src/utils/ |
D | SkPatchUtils.h | 53 const SkPoint texCoords[4], int lodX, int lodY,
|
/external/skia/src/core/ |
D | SkVertices.cpp | 179 SkPoint* SkVertices::Builder::texCoords() { in texCoords() function in SkVertices::Builder 212 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy() 313 buffer.readByteArray(builder.texCoords(), sizes.fTSize); in Decode()
|