Home
last modified time | relevance | path

Searched refs:sh2 (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_partition_tables.cpp167 int sh1, sh2, sh3; in select_partition() local
171 sh2 = (partitioncount == 3 ? 6 : 5); in select_partition()
176 sh2 = (seed & 2 ? 4 : 5); in select_partition()
178 sh3 = (seed & 0x10) ? sh1 : sh2; in select_partition()
181 seed2 >>= sh2; in select_partition() local
183 seed4 >>= sh2; in select_partition() local
185 seed6 >>= sh2; in select_partition() local
187 seed8 >>= sh2; in select_partition() local
/third_party/astc-encoder/Source/
H A Dastcenc_partition_tables.cpp189 int sh1, sh2; in select_partition() local
193 sh2 = (partition_count == 3 ? 6 : 5); in select_partition()
198 sh2 = (seed & 2 ? 4 : 5); in select_partition()
201 int sh3 = (seed & 0x10) ? sh1 : sh2; in select_partition()
204 seed2 >>= sh2; in select_partition() local
206 seed4 >>= sh2; in select_partition() local
208 seed6 >>= sh2; in select_partition() local
210 seed8 >>= sh2; in select_partition() local
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dstringutil_test.cc195 StringHolder sh2(s); in TEST()
196 EXPECT_EQ(cstring, sh2.GetString()); in TEST()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_astc.cpp309 int sh1, sh2, sh3; in select_partition() local
312 sh2 = (partitioncount == 3 ? 6 : 5); in select_partition()
315 sh2 = (seed & 2 ? 4 : 5); in select_partition()
317 sh3 = (seed & 0x10) ? sh1 : sh2; in select_partition()
320 seed2 >>= sh2; in select_partition() local
322 seed4 >>= sh2; in select_partition() local
324 seed6 >>= sh2; in select_partition() local
326 seed8 >>= sh2; in select_partition() local
/third_party/vk-gl-cts/framework/common/
H A DtcuAstcUtil.cpp1381 const int sh2 = (seed & 1) != 0 ? shB : shA;
1382 const int sh3 = (seed & 0x10) != 0 ? sh1 : sh2;
1385 seed2 = (deUint8)(seed2 >> sh2);
1387 seed4 = (deUint8)(seed4 >> sh2);
1389 seed6 = (deUint8)(seed6 >> sh2);
1391 seed8 = (deUint8)(seed8 >> sh2);
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cProgramInterfaceQueryTests.cpp3651 GLuint sh2 = glCreateShader(GL_FRAGMENT_SHADER); in Run() local
3652 glAttachShader(program, sh2); in Run()
3653 glDeleteShader(sh2); in Run()
3654 glShaderSource(sh2, 1, &src_fs, NULL); in Run()
3655 glCompileShader(sh2); in Run()
H A Des31cComputeShaderTests.cpp2478 const GLuint sh2 = glCreateShader(GL_COMPUTE_SHADER); in Run() local
2479 glShaderSource(sh2, 1, &cs2, NULL); in Run()
2480 glCompileShader(sh2); in Run()
2488 glAttachShader(p, sh2); in Run()
2508 glDeleteShader(sh2); in Run()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cProgramInterfaceQueryTests.cpp5017 GLuint sh2 = glCreateShader(GL_FRAGMENT_SHADER); in Run() local
5018 glAttachShader(program, sh2); in Run()
5019 glDeleteShader(sh2); in Run()
5020 glShaderSource(sh2, 1, &src_fs, NULL); in Run()
5021 glCompileShader(sh2); in Run()
H A Dgl4cComputeShaderTests.cpp2496 const GLuint sh2 = glCreateShader(GL_COMPUTE_SHADER); in Run() local
2497 glShaderSource(sh2, 1, &cs2, NULL); in Run()
2498 glCompileShader(sh2); in Run()
2506 glAttachShader(p, sh2); in Run()
2511 glDeleteShader(sh2); in Run()

Completed in 38 milliseconds