Home
last modified time | relevance | path

Searched refs:expected_binary (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dreduce_test_util.cpp48 const std::vector<uint32_t>& expected_binary, in CheckEqual() argument
50 if (expected_binary != actual_binary) { in CheckEqual()
54 ASSERT_TRUE(t.Disassemble(expected_binary, &expected_disassembled, in CheckEqual()
64 std::vector<uint32_t> expected_binary; in CheckEqual() local
67 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
68 CheckEqual(env, expected_binary, actual_binary); in CheckEqual()
Dreduce_test_util.h28 const std::vector<uint32_t>& expected_binary,
/third_party/spirv-tools/test/reduce/
Dreduce_test_util.cpp48 const std::vector<uint32_t>& expected_binary, in CheckEqual() argument
50 if (expected_binary != actual_binary) { in CheckEqual()
54 ASSERT_TRUE(t.Disassemble(expected_binary, &expected_disassembled, in CheckEqual()
64 std::vector<uint32_t> expected_binary; in CheckEqual() local
67 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
68 CheckEqual(env, expected_binary, actual_binary); in CheckEqual()
Dreduce_test_util.h28 const std::vector<uint32_t>& expected_binary,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dreduce_test_util.cpp48 const std::vector<uint32_t>& expected_binary, in CheckEqual() argument
50 if (expected_binary != actual_binary) { in CheckEqual()
54 ASSERT_TRUE(t.Disassemble(expected_binary, &expected_disassembled, in CheckEqual()
64 std::vector<uint32_t> expected_binary; in CheckEqual() local
67 t.Assemble(expected_text, &expected_binary, kReduceAssembleOption)); in CheckEqual()
68 CheckEqual(env, expected_binary, actual_binary); in CheckEqual()
Dreduce_test_util.h28 const std::vector<uint32_t>& expected_binary,
/third_party/spirv-tools/test/opt/
Ddecoration_manager_test.cpp337 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
347 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
378 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
390 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
422 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
431 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
460 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
468 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
506 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
518 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Ddecoration_manager_test.cpp337 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
347 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
378 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
390 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
422 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
431 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
460 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
468 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
506 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
518 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp337 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
347 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
378 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
390 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
422 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
431 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
460 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
468 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
506 const std::string expected_binary = R"(OpCapability Shader in TEST_F() local
518 EXPECT_THAT(ModuleToText(), expected_binary); in TEST_F()
[all …]
/third_party/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp52 const std::vector<uint32_t>& expected_binary, in IsEqual() argument
54 if (expected_binary == actual_binary) { in IsEqual()
60 if (!t.Disassemble(expected_binary, &expected_disassembled, in IsEqual()
77 std::vector<uint32_t> expected_binary; in IsEqual() local
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzz_test_util.cpp52 const std::vector<uint32_t>& expected_binary, in IsEqual() argument
54 if (expected_binary == actual_binary) { in IsEqual()
60 if (!t.Disassemble(expected_binary, &expected_disassembled, in IsEqual()
77 std::vector<uint32_t> expected_binary; in IsEqual() local
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp52 const std::vector<uint32_t>& expected_binary, in IsEqual() argument
54 if (expected_binary == actual_binary) { in IsEqual()
60 if (!t.Disassemble(expected_binary, &expected_disassembled, in IsEqual()
77 std::vector<uint32_t> expected_binary; in IsEqual() local
79 if (!t.Assemble(expected_text, &expected_binary, kFuzzAssembleOption)) { in IsEqual()
82 return IsEqual(env, expected_binary, actual_binary); in IsEqual()
Dfuzz_test_util.h33 bool IsEqual(spv_target_env env, const std::vector<uint32_t>& expected_binary,
/third_party/flutter/skia/third_party/externals/spirv-tools/test/comp/
Dmarkv_codec_test.cpp131 std::vector<uint32_t> expected_binary; in TestEncodeDecode() local
132 Compile(original_text, &expected_binary); in TestEncodeDecode()
133 ASSERT_FALSE(expected_binary.empty()); in TestEncodeDecode()
136 Disassemble(expected_binary, &expected_text); in TestEncodeDecode()
157 EXPECT_EQ(expected_binary, decoded_binary) << encoder_comments; in TestEncodeDecode()