Home
last modified time | relevance | path

Searched refs:GetFormatMode (Results 1 – 14 of 14) sorted by relevance

/external/deqp-deps/amber/src/
Dformat_test.cc271 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
285 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
287 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
301 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
303 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
305 EXPECT_EQ(FormatMode::kUInt, segs[2].GetFormatMode()); in TEST_F()
321 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
323 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
325 EXPECT_EQ(FormatMode::kUInt, segs[2].GetFormatMode()); in TEST_F()
342 EXPECT_EQ(FormatMode::kSFloat, segs[0].GetFormatMode()); in TEST_F()
[all …]
Dformat.h55 FormatMode GetFormatMode() const { return mode_; } in GetFormatMode() function
134 if (type_->IsNumber() && IsNormalized(type_->AsNumber()->GetFormatMode())) in IsNormalized()
156 type::Type::IsInt8(type_->AsNumber()->GetFormatMode(), in IsInt8()
162 type::Type::IsInt16(type_->AsNumber()->GetFormatMode(), in IsInt16()
168 type::Type::IsInt32(type_->AsNumber()->GetFormatMode(), in IsInt32()
174 type::Type::IsInt64(type_->AsNumber()->GetFormatMode(), in IsInt64()
180 type::Type::IsUint8(type_->AsNumber()->GetFormatMode(), in IsUint8()
186 type::Type::IsUint16(type_->AsNumber()->GetFormatMode(), in IsUint16()
192 type::Type::IsUint32(type_->AsNumber()->GetFormatMode(), in IsUint32()
198 type::Type::IsUint64(type_->AsNumber()->GetFormatMode(), in IsUint64()
[all …]
Dverifier.cc229 FormatMode mode = seg.GetFormatMode(); in GetActualValuesFromTexel()
292 if (seg.GetFormatMode() == FormatMode::kUNorm) { in ScaleTexelValuesIfNeeded()
294 } else if (seg.GetFormatMode() == FormatMode::kSNorm) { in ScaleTexelValuesIfNeeded()
296 } else if (seg.GetFormatMode() == FormatMode::kSRGB) { in ScaleTexelValuesIfNeeded()
300 } else if (seg.GetFormatMode() == FormatMode::kSScaled || in ScaleTexelValuesIfNeeded()
301 seg.GetFormatMode() == FormatMode::kUScaled) { in ScaleTexelValuesIfNeeded()
568 FormatMode mode = segment.GetFormatMode(); in ProbeSSBO()
Dbuffer.cc41 FormatMode mode = seg->GetFormatMode(); in CalculateDiff()
196 assert(type::Type::IsUint8(seg.GetFormatMode(), seg.GetNumBits())); in GetHistogramForChannel()
216 if (!type::Type::IsUint8(segment.GetFormatMode(), segment.GetNumBits()) || in CompareHistogramEMD()
330 ptr += WriteValueFromComponent(v, seg.GetFormatMode(), seg.GetNumBits(), in SetDataWithOffset()
Dformat.cc343 n->GetFormatMode(), n->NumBits()})) { in AddSegmentsForType()
406 name += "_" + FormatModeToName(type_->AsNumber()->GetFormatMode()); in GenerateName()
Dtype.h164 FormatMode GetFormatMode() const { return format_mode_; } in GetFormatMode() function
Dtype_parser_test.cc1204 EXPECT_EQ(data.components[i].mode, segs[i].GetFormatMode()); in TEST_F()
1243 type::Type::IsFloat32(segs[i].GetFormatMode(), segs[i].GetNumBits())); in TEST_F()
/external/deqp-deps/amber/src/vkscript/
Dparser_test.cc375 EXPECT_EQ(FormatMode::kSFloat, segs1[0].GetFormatMode()); in TEST_F()
376 EXPECT_EQ(FormatMode::kSFloat, segs1[1].GetFormatMode()); in TEST_F()
384 EXPECT_EQ(FormatMode::kSInt, segs2[0].GetFormatMode()); in TEST_F()
385 EXPECT_EQ(FormatMode::kSInt, segs2[1].GetFormatMode()); in TEST_F()
386 EXPECT_EQ(FormatMode::kSInt, segs2[2].GetFormatMode()); in TEST_F()
Dparser.cc414 if (seg.GetFormatMode() == FormatMode::kUFloat || in ProcessVertexDataBlock()
415 seg.GetFormatMode() == FormatMode::kSFloat) { in ProcessVertexDataBlock()
Dcommand_parser_test.cc3092 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3139 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3175 EXPECT_TRUE(type::Type::IsInt16(n->GetFormatMode(), n->NumBits())); in TEST_F()
3211 EXPECT_TRUE(type::Type::IsInt16(n->GetFormatMode(), n->NumBits())); in TEST_F()
3346 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3390 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3470 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3528 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3949 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
3987 EXPECT_TRUE(type::Type::IsFloat32(n->GetFormatMode(), n->NumBits())); in TEST_F()
[all …]
Ddatum_type_parser_test.cc30 if (seg.GetFormatMode() != mode) in AllCompsAreType()
/external/deqp-deps/amber/src/amberscript/
Dparser_struct_test.cc53 EXPECT_TRUE(type::Type::IsUint8(m[0].type->AsNumber()->GetFormatMode(), in TEST_F()
55 EXPECT_TRUE(type::Type::IsUint32(m[1].type->AsNumber()->GetFormatMode(), in TEST_F()
60 EXPECT_TRUE(type::Type::IsFloat32(m[2].type->AsNumber()->GetFormatMode(), in TEST_F()
66 EXPECT_TRUE(type::Type::IsFloat32(m[3].type->AsNumber()->GetFormatMode(), in TEST_F()
Dparser.cc229 if (type::Type::IsFloat(segs[seg_idx].GetFormatMode())) { in ParseBufferData()
747 if (type::Type::IsUint32(num->GetFormatMode(), num->NumBits()) || in ParseShaderSpecialization()
748 type::Type::IsInt32(num->GetFormatMode(), num->NumBits())) { in ParseShaderSpecialization()
750 } else if (type::Type::IsFloat32(num->GetFormatMode(), num->NumBits())) { in ParseShaderSpecialization()
2226 FormatMode mode = n->GetFormatMode(); in ParseBufferInitializerSeries()
2909 if (type::Type::IsFloat(segs[seg_idx].GetFormatMode())) { in ParseValues()
Dparser_buffer_test.cc666 EXPECT_EQ(segs[i].GetFormatMode(), FormatMode::kSInt); in TEST_F()
814 EXPECT_EQ(test_data.type, seg.GetFormatMode()); in TEST_P()