Searched refs:FormatComponentType (Results 1 – 11 of 11) sorted by relevance
/external/deqp-deps/amber/src/ |
D | type_parser_test.cc | 31 FormatComponentType type; in TEST_F() 41 {FormatComponentType::kA, FormatMode::kUNorm, 1}, in TEST_F() 42 {FormatComponentType::kR, FormatMode::kUNorm, 5}, in TEST_F() 43 {FormatComponentType::kG, FormatMode::kUNorm, 5}, in TEST_F() 44 {FormatComponentType::kB, FormatMode::kUNorm, 5}, in TEST_F() 51 {FormatComponentType::kA, FormatMode::kSInt, 2}, in TEST_F() 52 {FormatComponentType::kB, FormatMode::kSInt, 10}, in TEST_F() 53 {FormatComponentType::kG, FormatMode::kSInt, 10}, in TEST_F() 54 {FormatComponentType::kR, FormatMode::kSInt, 10}, in TEST_F() 61 {FormatComponentType::kA, FormatMode::kSNorm, 2}, in TEST_F() [all …]
|
D | type_parser.cc | 57 pieces_[0].type == FormatComponentType::kR) { in Parse() 75 void TypeParser::AddPiece(FormatComponentType type, in AddPiece() 124 AddPiece(FormatComponentType::kS, mode_, 8); in ProcessChunk() 133 FormatComponentType type = FormatComponentType::kA; in ProcessChunk() 136 type = FormatComponentType::kX; in ProcessChunk() 139 type = FormatComponentType::kD; in ProcessChunk() 142 type = FormatComponentType::kR; in ProcessChunk() 145 type = FormatComponentType::kG; in ProcessChunk() 148 type = FormatComponentType::kB; in ProcessChunk() 151 type = FormatComponentType::kA; in ProcessChunk()
|
D | type_parser.h | 45 void AddPiece(FormatComponentType type, FormatMode mode, uint8_t bits); 49 Pieces(FormatComponentType t, FormatMode m, uint8_t bits) in Pieces() 52 FormatComponentType type;
|
D | format.h | 48 Segment(FormatComponentType name, FormatMode mode, uint32_t num_bits) in Segment() 54 FormatComponentType GetName() const { return name_; } in GetName() 70 FormatComponentType name_ = FormatComponentType::kR; 231 std::vector<FormatComponentType> type_names_;
|
D | verifier.cc | 347 if (seg.GetName() != FormatComponentType::kA) in ScaleTexelValuesIfNeeded() 378 case FormatComponentType::kA: in IsTexelEqualToExpected() 386 case FormatComponentType::kR: in IsTexelEqualToExpected() 391 case FormatComponentType::kG: in IsTexelEqualToExpected() 396 case FormatComponentType::kB: in IsTexelEqualToExpected() 423 case FormatComponentType::kR: in GetTexelInRGBA() 426 case FormatComponentType::kG: in GetTexelInRGBA() 429 case FormatComponentType::kB: in GetTexelInRGBA() 432 case FormatComponentType::kA: in GetTexelInRGBA()
|
D | type.h | 175 Member(FormatComponentType t, FormatMode m, uint32_t b) in Member() 180 FormatComponentType name = FormatComponentType::kR; 216 void AddMember(FormatComponentType name, FormatMode mode, uint32_t num_bits) { in AddMember()
|
D | type_test.cc | 141 l1.AddMember(FormatComponentType::kR, FormatMode::kSFloat, 32); in TEST_F() 142 l2.AddMember(FormatComponentType::kR, FormatMode::kSFloat, 32); in TEST_F() 149 l3.AddMember(FormatComponentType::kR, FormatMode::kSFloat, 16); in TEST_F() 153 l4.AddMember(FormatComponentType::kR, FormatMode::kSInt, 16); in TEST_F() 157 l5.AddMember(FormatComponentType::kG, FormatMode::kSFloat, 32); in TEST_F() 161 l6.AddMember(FormatComponentType::kR, FormatMode::kSFloat, 32); in TEST_F() 162 l6.AddMember(FormatComponentType::kG, FormatMode::kSFloat, 32); in TEST_F()
|
D | verifier_test.cc | 486 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 16); in TEST_F() 487 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 11); in TEST_F() 488 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 528 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 11); in TEST_F() 529 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 16); in TEST_F() 530 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 570 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 10); in TEST_F() 571 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 11); in TEST_F() 572 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 16); in TEST_F()
|
D | format_data.h | 18 enum class FormatComponentType { enum
|
D | format.cc | 240 if (AddSegment(Segment(FormatComponentType::kR, FormatMode::kUInt, in AddSegmentsForType() 342 if (AddSegment(Segment{static_cast<FormatComponentType>(i), in AddSegmentsForType()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_buffer_test.cc | 573 EXPECT_EQ(segs[i].GetName(), static_cast<FormatComponentType>(i)); in TEST_F()
|