Searched refs:tolerances (Results 1 - 7 of 7) sorted by relevance
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
H A D | parser_expect_test.cc | 880 auto& tolerances = probe->GetTolerances(); in TEST_F() local 881 ASSERT_EQ(1U, tolerances.size()); in TEST_F() 882 EXPECT_FALSE(tolerances[0].is_percent); in TEST_F() 883 EXPECT_FLOAT_EQ(1.f, static_cast<float>(tolerances[0].value)); in TEST_F() 910 auto& tolerances = probe->GetTolerances(); in TEST_F() local 911 ASSERT_EQ(1U, tolerances.size()); in TEST_F() 912 EXPECT_TRUE(tolerances[0].is_percent); in TEST_F() 913 EXPECT_FLOAT_EQ(1.f, static_cast<float>(tolerances[0].value)); in TEST_F() 940 auto& tolerances = probe->GetTolerances(); in TEST_F() local 941 ASSERT_EQ(4U, tolerances in TEST_F() 1009 auto& tolerances = probe->GetTolerances(); TEST_F() local 1036 auto& tolerances = probe->GetTolerances(); TEST_F() local 1095 auto& tolerances = probe->GetTolerances(); TEST_F() local 1122 auto& tolerances = probe->GetTolerances(); TEST_F() local [all...] |
H A D | parser.cc | 3142 std::vector<Probe::Tolerance> tolerances; in ParseExpect() local 3144 Result r = ParseTolerances(&tolerances); in ParseExpect() 3149 if (tolerances.empty()) in ParseExpect() 3150 return Result("TOLERANCE specified but no tolerances provided"); in ParseExpect() 3152 if (!probe->IsRGBA() && tolerances.size() > 3) { in ParseExpect() 3157 if (tolerances.size() > 4) { in ParseExpect() 3162 probe->SetTolerances(std::move(tolerances)); in ParseExpect() 3180 std::vector<Probe::Tolerance> tolerances; in ParseExpect() local 3182 Result r = ParseTolerances(&tolerances); in ParseExpect() 3187 if (tolerances in ParseExpect() 3715 ParseTolerances(std::vector<Probe::Tolerance>* tolerances) ParseTolerances() argument [all...] |
H A D | parser.h | 97 Result ParseTolerances(std::vector<Probe::Tolerance>* tolerances);
|
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrStrokeTessellationShader.cpp | 363 skgpu::StrokeTolerances tolerances; in setData() local 365 tolerances = skgpu::StrokeTolerances::MakeNonHairline(shader.viewMatrix().getMaxScale(), in setData() 368 // In the hairline case we transform prior to tessellation. Set up tolerances for an in setData() 370 tolerances = skgpu::StrokeTolerances::MakeNonHairline(1, 1); in setData() 374 tolerances.fParametricPrecision, // PARAMETRIC_PRECISION in setData() 375 tolerances.fNumRadialSegmentsPerRadian, // NUM_RADIAL_SEGMENTS_PER_RADIAN in setData()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | command_parser_test.cc | 3617 auto& tolerances = cp.TolerancesForTesting(); in TEST_F() local 3618 ASSERT_EQ(1U, tolerances.size()); in TEST_F() 3619 EXPECT_FALSE(tolerances[0].is_percent); in TEST_F() 3620 EXPECT_DOUBLE_EQ(0.5, tolerances[0].value); in TEST_F() 3632 auto& tolerances = cp.TolerancesForTesting(); in TEST_F() local 3633 ASSERT_EQ(1U, tolerances.size()); in TEST_F() 3634 EXPECT_TRUE(tolerances[0].is_percent); in TEST_F() 3635 EXPECT_DOUBLE_EQ(0.5, tolerances[0].value); in TEST_F() 3647 auto& tolerances = cp.TolerancesForTesting(); in TEST_F() local 3648 ASSERT_EQ(1U, tolerances in TEST_F() 3662 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3677 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3695 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3717 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3735 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3856 auto& tolerances = cp.TolerancesForTesting(); TEST_F() local 3884 auto& tolerances = cmd->GetTolerances(); TEST_F() local 3914 auto& tolerances = cmd->GetTolerances(); TEST_F() local [all...] |
/third_party/skia/tests/ |
H A D | TransferPixelsTest.cpp | 51 void determine_tolerances(GrColorType a, GrColorType b, float tolerances[4]) { in determine_tolerances() argument 52 std::fill_n(tolerances, 4, 0); in determine_tolerances() 63 tolerances[i] = 1.f / (m - 1); in determine_tolerances() 70 float tolerances[4]) { in read_pixels_from_texture() 81 std::fill_n(tolerances, 4, 0); in read_pixels_from_texture() 95 determine_tolerances(tmpInfo.colorType(), dstInfo.colorType(), tolerances); in read_pixels_from_texture() 69 read_pixels_from_texture(GrTexture* texture, GrColorType colorType, char* dst, float tolerances[4]) read_pixels_from_texture() argument
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | verifier_test.cc | 1047 std::vector<Probe::Tolerance> tolerances; in TEST_F() local 1048 tolerances.emplace_back(false, 0.1); in TEST_F() 1049 probe_ssbo.SetTolerances(tolerances); in TEST_F() 1084 std::vector<Probe::Tolerance> tolerances; in TEST_F() local 1085 tolerances.emplace_back(false, 0.1); in TEST_F() 1086 probe_ssbo.SetTolerances(tolerances); in TEST_F() 1118 std::vector<Probe::Tolerance> tolerances; in TEST_F() local 1119 tolerances.emplace_back(true, 0.1); in TEST_F() 1120 probe_ssbo.SetTolerances(tolerances); in TEST_F() 1155 std::vector<Probe::Tolerance> tolerances; in TEST_F() local [all...] |
Completed in 15 milliseconds