/external/deqp-deps/amber/src/ |
D | format_test.cc | 271 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 …]
|
D | format.h | 55 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 …]
|
D | verifier.cc | 229 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()
|
D | buffer.cc | 41 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()
|
D | format.cc | 343 n->GetFormatMode(), n->NumBits()})) { in AddSegmentsForType() 406 name += "_" + FormatModeToName(type_->AsNumber()->GetFormatMode()); in GenerateName()
|
D | type.h | 164 FormatMode GetFormatMode() const { return format_mode_; } in GetFormatMode() function
|
D | type_parser_test.cc | 1204 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/ |
D | parser_test.cc | 375 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()
|
D | parser.cc | 414 if (seg.GetFormatMode() == FormatMode::kUFloat || in ProcessVertexDataBlock() 415 seg.GetFormatMode() == FormatMode::kSFloat) { in ProcessVertexDataBlock()
|
D | command_parser_test.cc | 3092 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 …]
|
D | datum_type_parser_test.cc | 30 if (seg.GetFormatMode() != mode) in AllCompsAreType()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_struct_test.cc | 53 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()
|
D | parser.cc | 229 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()
|
D | parser_buffer_test.cc | 666 EXPECT_EQ(segs[i].GetFormatMode(), FormatMode::kSInt); in TEST_F() 814 EXPECT_EQ(test_data.type, seg.GetFormatMode()); in TEST_P()
|