Searched refs:FormatComponentType (Results 1 – 11 of 11) sorted by relevance
/third_party/vk-gl-cts/external/amber/src/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 | 61 pieces_[0].type == FormatComponentType::kR) { in Parse() 79 void TypeParser::AddPiece(FormatComponentType type, in AddPiece() 129 AddPiece(FormatComponentType::kS, mode_, 8); in ProcessChunk() 138 FormatComponentType type = FormatComponentType::kA; in ProcessChunk() 141 type = FormatComponentType::kX; in ProcessChunk() 144 type = FormatComponentType::kD; in ProcessChunk() 147 type = FormatComponentType::kR; in ProcessChunk() 150 type = FormatComponentType::kG; in ProcessChunk() 153 type = FormatComponentType::kB; in ProcessChunk() 156 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; 239 std::vector<FormatComponentType> type_names_;
|
D | verifier.cc | 298 if (seg.GetName() != FormatComponentType::kA) in ScaleTexelValuesIfNeeded() 329 case FormatComponentType::kA: in IsTexelEqualToExpected() 337 case FormatComponentType::kR: in IsTexelEqualToExpected() 342 case FormatComponentType::kG: in IsTexelEqualToExpected() 347 case FormatComponentType::kB: in IsTexelEqualToExpected() 374 case FormatComponentType::kR: in GetTexelInRGBA() 377 case FormatComponentType::kG: in GetTexelInRGBA() 380 case FormatComponentType::kB: in GetTexelInRGBA() 383 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 | 488 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 16); in TEST_F() 489 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 11); in TEST_F() 490 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 530 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 11); in TEST_F() 531 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 16); in TEST_F() 532 list->AddMember(FormatComponentType::kB, FormatMode::kSFloat, 10); in TEST_F() 572 list->AddMember(FormatComponentType::kR, FormatMode::kSFloat, 10); in TEST_F() 573 list->AddMember(FormatComponentType::kG, FormatMode::kSFloat, 11); in TEST_F() 574 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()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
D | parser_buffer_test.cc | 667 EXPECT_EQ(segs[i].GetName(), static_cast<FormatComponentType>(i)); in TEST_F()
|