Lines Matching refs:Modes

1135 static constexpr Mode Modes[] = {  variable
1148 static_assert(Modes[0].NumColors() == 6, "BC7 static assertion failed");
1149 static_assert(Modes[0].Partition() == Bitfield{ 1, 4 }, "BC7 static assertion failed");
1150 static_assert(Modes[0].Red(0) == Bitfield{ 5, 4 }, "BC7 static assertion failed");
1151 static_assert(Modes[0].Red(5) == Bitfield{ 25, 4 }, "BC7 static assertion failed");
1152 static_assert(Modes[0].Green(0) == Bitfield{ 29, 4 }, "BC7 static assertion failed");
1153 static_assert(Modes[0].Green(5) == Bitfield{ 49, 4 }, "BC7 static assertion failed");
1154 static_assert(Modes[0].Blue(0) == Bitfield{ 53, 4 }, "BC7 static assertion failed");
1155 static_assert(Modes[0].Blue(5) == Bitfield{ 73, 4 }, "BC7 static assertion failed");
1156 static_assert(Modes[0].EndpointPBit(0) == Bitfield{ 77, 1 }, "BC7 static assertion failed");
1157 static_assert(Modes[0].EndpointPBit(5) == Bitfield{ 82, 1 }, "BC7 static assertion failed");
1158 static_assert(Modes[0].PrimaryIndex(0, 2) == Bitfield{ 83, 2 }, "BC7 static asassertionsert failed"…
1159 static_assert(Modes[0].PrimaryIndex(43, 1) == Bitfield{ 126, 1 }, "BC7 static assertion failed");
1388 if((low & 0b00000001) != 0) { return Modes[0]; } in mode()
1389 if((low & 0b00000010) != 0) { return Modes[1]; } in mode()
1390 if((low & 0b00000100) != 0) { return Modes[2]; } in mode()
1391 if((low & 0b00001000) != 0) { return Modes[3]; } in mode()
1392 if((low & 0b00010000) != 0) { return Modes[4]; } in mode()
1393 if((low & 0b00100000) != 0) { return Modes[5]; } in mode()
1394 if((low & 0b01000000) != 0) { return Modes[6]; } in mode()
1395 if((low & 0b10000000) != 0) { return Modes[7]; } in mode()
1396 return Modes[8]; // Invalid mode in mode()