• Home
  • Raw
  • Download

Lines Matching refs:Vec2

68 using tcu::Vec2;
442 std::vector<Vec2> ndcTransformEachSampleInPixel (const UVec2& framebufferSize, const deUint32 numSa… in ndcTransformEachSampleInPixel()
444 std::vector<Vec2> locations; in ndcTransformEachSampleInPixel()
450 const Vec2& sp = access(x, y, sampleNdx); in ndcTransformEachSampleInPixel()
455 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), in ndcTransformEachSampleInPixel()
465 AccessStandardSampleLocationsArray (const Vec2* ptr) : m_pData (ptr) {} in AccessStandardSampleLocationsArray()
467 const Vec2& operator ()(const deUint32 x, const deUint32 y, const deUint32 sampleNdx) const in operator ()()
475 const Vec2* m_pData;
483 Vec2 operator ()(const deUint32 x, const deUint32 y, const deUint32 sampleNdx) const in operator ()()
486 return Vec2(sp.x, sp.y); in operator ()()
495 std::vector<Vec2> genFramebufferStandardSampleLocations (const VkSampleCountFlagBits numSamples, co… in genFramebufferStandardSampleLocations()
497 static const Vec2 s_location_samples_1[] = in genFramebufferStandardSampleLocations()
499 Vec2(0.5f, 0.5f), in genFramebufferStandardSampleLocations()
501 static const Vec2 s_location_samples_2[] = in genFramebufferStandardSampleLocations()
503 Vec2(0.75f, 0.75f), in genFramebufferStandardSampleLocations()
504 Vec2(0.25f, 0.25f), in genFramebufferStandardSampleLocations()
506 static const Vec2 s_location_samples_4[] = in genFramebufferStandardSampleLocations()
508 Vec2(0.375f, 0.125f), in genFramebufferStandardSampleLocations()
509 Vec2(0.875f, 0.375f), in genFramebufferStandardSampleLocations()
510 Vec2(0.125f, 0.625f), in genFramebufferStandardSampleLocations()
511 Vec2(0.625f, 0.875f), in genFramebufferStandardSampleLocations()
513 static const Vec2 s_location_samples_8[] = in genFramebufferStandardSampleLocations()
515 Vec2(0.5625f, 0.3125f), in genFramebufferStandardSampleLocations()
516 Vec2(0.4375f, 0.6875f), in genFramebufferStandardSampleLocations()
517 Vec2(0.8125f, 0.5625f), in genFramebufferStandardSampleLocations()
518 Vec2(0.3125f, 0.1875f), in genFramebufferStandardSampleLocations()
519 Vec2(0.1875f, 0.8125f), in genFramebufferStandardSampleLocations()
520 Vec2(0.0625f, 0.4375f), in genFramebufferStandardSampleLocations()
521 Vec2(0.6875f, 0.9375f), in genFramebufferStandardSampleLocations()
522 Vec2(0.9375f, 0.0625f), in genFramebufferStandardSampleLocations()
524 static const Vec2 s_location_samples_16[] = in genFramebufferStandardSampleLocations()
526 Vec2(0.5625f, 0.5625f), in genFramebufferStandardSampleLocations()
527 Vec2(0.4375f, 0.3125f), in genFramebufferStandardSampleLocations()
528 Vec2(0.3125f, 0.6250f), in genFramebufferStandardSampleLocations()
529 Vec2(0.7500f, 0.4375f), in genFramebufferStandardSampleLocations()
530 Vec2(0.1875f, 0.3750f), in genFramebufferStandardSampleLocations()
531 Vec2(0.6250f, 0.8125f), in genFramebufferStandardSampleLocations()
532 Vec2(0.8125f, 0.6875f), in genFramebufferStandardSampleLocations()
533 Vec2(0.6875f, 0.1875f), in genFramebufferStandardSampleLocations()
534 Vec2(0.3750f, 0.8750f), in genFramebufferStandardSampleLocations()
535 Vec2(0.5000f, 0.0625f), in genFramebufferStandardSampleLocations()
536 Vec2(0.2500f, 0.1250f), in genFramebufferStandardSampleLocations()
537 Vec2(0.1250f, 0.7500f), in genFramebufferStandardSampleLocations()
538 Vec2(0.0000f, 0.5000f), in genFramebufferStandardSampleLocations()
539 Vec2(0.9375f, 0.2500f), in genFramebufferStandardSampleLocations()
540 Vec2(0.8750f, 0.9375f), in genFramebufferStandardSampleLocations()
541 Vec2(0.0625f, 0.0000f), in genFramebufferStandardSampleLocations()
544 const Vec2* pSampleLocation = DE_NULL; in genFramebufferStandardSampleLocations()
556 return std::vector<Vec2>(); in genFramebufferStandardSampleLocations()
563 std::vector<Vec2> getSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& framebuff… in getSampleLocations()
580 const std::vector<Vec2>& sampleLocations) in generateSubpixelTriangles()
586 const Vec2 pixelSize = Vec2(2.0f) / renderSize.cast<float>(); in generateSubpixelTriangles()
587 const Vec2 offset = pixelSize / 16.0f; // 4 bits precision in generateSubpixelTriangles()
598 const Vec2& loc = sampleLocations[globalSampleNdx]; in generateSubpixelTriangles()
1340 …const std::vector<Vec2> locations = genFramebufferStandardSampleLocations(samples.numCoverageSampl… in createPerSubpassData()