Searched refs:zero_u8 (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/spirv-tools/test/util/ |
D | bitutils_test.cpp | 53 const uint8_t zero_u8 = 0; in TEST() local 57 EXPECT_EQ(MutateBits(zero_u8, 7, 0, true), zero_u8); in TEST() 58 EXPECT_EQ(MutateBits(zero_u8, 7, 1, true), uint8_t(128)); in TEST() 67 const uint8_t zero_u8 = 0; in TEST() local 70 EXPECT_EQ(MutateBits(zero_u8, 1, 2, true), uint8_t(6)); in TEST() 73 EXPECT_EQ(MutateBits(zero_u8, 2, 3, true), uint8_t(0x1C)); in TEST() 126 const uint8_t zero_u8 = 0; in TEST() local 128 EXPECT_FALSE(IsBitAtPositionSet(zero_u8, i)); in TEST()
|
/third_party/spirv-tools/test/util/ |
D | bitutils_test.cpp | 53 const uint8_t zero_u8 = 0; in TEST() local 57 EXPECT_EQ(MutateBits(zero_u8, 7, 0, true), zero_u8); in TEST() 58 EXPECT_EQ(MutateBits(zero_u8, 7, 1, true), uint8_t(128)); in TEST() 67 const uint8_t zero_u8 = 0; in TEST() local 70 EXPECT_EQ(MutateBits(zero_u8, 1, 2, true), uint8_t(6)); in TEST() 73 EXPECT_EQ(MutateBits(zero_u8, 2, 3, true), uint8_t(0x1C)); in TEST() 126 const uint8_t zero_u8 = 0; in TEST() local 128 EXPECT_FALSE(IsBitAtPositionSet(zero_u8, i)); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/ |
D | bitutils_test.cpp | 53 const uint8_t zero_u8 = 0; in TEST() local 57 EXPECT_EQ(MutateBits(zero_u8, 7, 0, true), zero_u8); in TEST() 58 EXPECT_EQ(MutateBits(zero_u8, 7, 1, true), uint8_t(128)); in TEST() 67 const uint8_t zero_u8 = 0; in TEST() local 70 EXPECT_EQ(MutateBits(zero_u8, 1, 2, true), uint8_t(6)); in TEST() 73 EXPECT_EQ(MutateBits(zero_u8, 2, 3, true), uint8_t(0x1C)); in TEST() 126 const uint8_t zero_u8 = 0; in TEST() local 128 EXPECT_FALSE(IsBitAtPositionSet(zero_u8, i)); in TEST()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 1609 nir_ssa_def *zero_u8 = nir_imm_zero(b, 1, 8); in ngg_gs_clear_primflags() local 1622 nir_store_shared(b, zero_u8, emit_vtx_addr, .base = s->lds_offs_primflags + stream); in ngg_gs_clear_primflags()
|