/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_limits_test.cpp | 147 std::ostringstream spirv; in TEST_F() local 148 spirv << header << R"( in TEST_F() 152 spirv << " %1"; in TEST_F() 154 CompileSuccessfully(spirv.str()); in TEST_F() 159 std::ostringstream spirv; in TEST_F() local 160 spirv << header << R"( in TEST_F() 164 spirv << " %1"; in TEST_F() 166 CompileSuccessfully(spirv.str()); in TEST_F() 174 std::ostringstream spirv; in TEST_F() local 175 spirv << header << R"( in TEST_F() [all …]
|
D | val_id_test.cpp | 183 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 188 CompileSuccessfully(spirv.c_str()); in TEST_F() 193 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 197 CompileSuccessfully(spirv.c_str()); in TEST_F() 201 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 204 CompileSuccessfully(spirv.c_str()); in TEST_F() 211 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 215 CompileSuccessfully(spirv.c_str()); in TEST_F() 224 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 230 CompileSuccessfully(spirv.c_str()); in TEST_F() [all …]
|
D | val_decoration_test.cpp | 49 std::string spirv = R"( in TEST_F() local 60 CompileSuccessfully(spirv); in TEST_F() 70 std::string spirv = R"( in TEST_F() local 84 CompileSuccessfully(spirv); in TEST_F() 103 std::string spirv = R"( in TEST_F() local 118 CompileSuccessfully(spirv); in TEST_F() 127 std::string spirv = R"( in TEST_F() local 149 CompileSuccessfully(spirv); in TEST_F() 167 std::string spirv = R"( in TEST_F() local 190 CompileSuccessfully(spirv); in TEST_F() [all …]
|
D | val_memory_test.cpp | 37 std::string spirv = R"( in TEST_F() local 52 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 66 std::string spirv = R"( in TEST_F() local 83 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 88 std::string spirv = R"( in TEST_F() local 106 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 120 std::string spirv = R"( in TEST_F() local 140 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 145 std::string spirv = R"( in TEST_F() local 166 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() [all …]
|
D | val_modes_test.cpp | 45 const std::string spirv = R"( in TEST_F() local 51 CompileSuccessfully(spirv); in TEST_F() 56 const std::string spirv = R"( in TEST_F() local 63 CompileSuccessfully(spirv, env); in TEST_F() 73 const std::string spirv = R"( in TEST_F() local 85 CompileSuccessfully(spirv, env); in TEST_F() 90 const std::string spirv = R"( in TEST_F() local 98 CompileSuccessfully(spirv, env); in TEST_F() 103 const std::string spirv = R"( in TEST_F() local 111 CompileSuccessfully(spirv, env); in TEST_F() [all …]
|
D | val_function_test.cpp | 37 std::string spirv = R"( in GenerateShader() local 55 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShader() 58 spirv += R"( in GenerateShader() 64 spirv += "%var = OpVariable %ptr Function"; in GenerateShader() 67 spirv += R"( in GenerateShader() 78 return spirv; in GenerateShader() 84 std::string spirv = R"( in GenerateShaderParameter() local 111 return spirv; in GenerateShaderParameter() 117 std::string spirv = R"( in GenerateShaderAccessChain() local 140 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShaderAccessChain() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_limits_test.cpp | 147 std::ostringstream spirv; in TEST_F() local 148 spirv << header << R"( in TEST_F() 152 spirv << " %1"; in TEST_F() 154 CompileSuccessfully(spirv.str()); in TEST_F() 159 std::ostringstream spirv; in TEST_F() local 160 spirv << header << R"( in TEST_F() 164 spirv << " %1"; in TEST_F() 166 CompileSuccessfully(spirv.str()); in TEST_F() 174 std::ostringstream spirv; in TEST_F() local 175 spirv << header << R"( in TEST_F() [all …]
|
D | val_id_test.cpp | 183 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 188 CompileSuccessfully(spirv.c_str()); in TEST_F() 193 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 197 CompileSuccessfully(spirv.c_str()); in TEST_F() 201 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 204 CompileSuccessfully(spirv.c_str()); in TEST_F() 211 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 215 CompileSuccessfully(spirv.c_str()); in TEST_F() 224 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 230 CompileSuccessfully(spirv.c_str()); in TEST_F() [all …]
|
D | val_decoration_test.cpp | 49 std::string spirv = R"( in TEST_F() local 60 CompileSuccessfully(spirv); in TEST_F() 70 std::string spirv = R"( in TEST_F() local 84 CompileSuccessfully(spirv); in TEST_F() 103 std::string spirv = R"( in TEST_F() local 118 CompileSuccessfully(spirv); in TEST_F() 127 std::string spirv = R"( in TEST_F() local 149 CompileSuccessfully(spirv); in TEST_F() 167 std::string spirv = R"( in TEST_F() local 190 CompileSuccessfully(spirv); in TEST_F() [all …]
|
D | val_memory_test.cpp | 37 std::string spirv = R"( in TEST_F() local 52 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 65 std::string spirv = R"( in TEST_F() local 82 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 87 std::string spirv = R"( in TEST_F() local 105 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 118 std::string spirv = R"( in TEST_F() local 138 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 143 std::string spirv = R"( in TEST_F() local 164 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() [all …]
|
D | val_modes_test.cpp | 45 const std::string spirv = R"( in TEST_F() local 51 CompileSuccessfully(spirv); in TEST_F() 56 const std::string spirv = R"( in TEST_F() local 63 CompileSuccessfully(spirv, env); in TEST_F() 73 const std::string spirv = R"( in TEST_F() local 85 CompileSuccessfully(spirv, env); in TEST_F() 90 const std::string spirv = R"( in TEST_F() local 98 CompileSuccessfully(spirv, env); in TEST_F() 103 const std::string spirv = R"( in TEST_F() local 111 CompileSuccessfully(spirv, env); in TEST_F() [all …]
|
D | val_function_test.cpp | 37 std::string spirv = R"( in GenerateShader() local 55 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShader() 58 spirv += R"( in GenerateShader() 64 spirv += "%var = OpVariable %ptr Function"; in GenerateShader() 67 spirv += R"( in GenerateShader() 78 return spirv; in GenerateShader() 84 std::string spirv = R"( in GenerateShaderParameter() local 111 return spirv; in GenerateShaderParameter() 117 std::string spirv = R"( in GenerateShaderAccessChain() local 140 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShaderAccessChain() [all …]
|
/external/angle/third_party/spirv-tools/src/test/val/ |
D | val_limits_test.cpp | 147 std::ostringstream spirv; in TEST_F() local 148 spirv << header << R"( in TEST_F() 152 spirv << " %1"; in TEST_F() 154 CompileSuccessfully(spirv.str()); in TEST_F() 159 std::ostringstream spirv; in TEST_F() local 160 spirv << header << R"( in TEST_F() 164 spirv << " %1"; in TEST_F() 166 CompileSuccessfully(spirv.str()); in TEST_F() 174 std::ostringstream spirv; in TEST_F() local 175 spirv << header << R"( in TEST_F() [all …]
|
D | val_id_test.cpp | 183 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 188 CompileSuccessfully(spirv.c_str()); in TEST_F() 193 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 197 CompileSuccessfully(spirv.c_str()); in TEST_F() 201 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 204 CompileSuccessfully(spirv.c_str()); in TEST_F() 211 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 215 CompileSuccessfully(spirv.c_str()); in TEST_F() 224 std::string spirv = kGLSL450MemoryModel + R"( in TEST_F() local 230 CompileSuccessfully(spirv.c_str()); in TEST_F() [all …]
|
D | val_decoration_test.cpp | 49 std::string spirv = R"( in TEST_F() local 60 CompileSuccessfully(spirv); in TEST_F() 70 std::string spirv = R"( in TEST_F() local 84 CompileSuccessfully(spirv); in TEST_F() 103 std::string spirv = R"( in TEST_F() local 118 CompileSuccessfully(spirv); in TEST_F() 127 std::string spirv = R"( in TEST_F() local 149 CompileSuccessfully(spirv); in TEST_F() 167 std::string spirv = R"( in TEST_F() local 190 CompileSuccessfully(spirv); in TEST_F() [all …]
|
D | val_memory_test.cpp | 37 std::string spirv = R"( in TEST_F() local 52 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 66 std::string spirv = R"( in TEST_F() local 83 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 88 std::string spirv = R"( in TEST_F() local 106 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 120 std::string spirv = R"( in TEST_F() local 140 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() 145 std::string spirv = R"( in TEST_F() local 166 CompileSuccessfully(spirv.c_str(), SPV_ENV_VULKAN_1_1); in TEST_F() [all …]
|
D | val_modes_test.cpp | 45 const std::string spirv = R"( in TEST_F() local 51 CompileSuccessfully(spirv); in TEST_F() 56 const std::string spirv = R"( in TEST_F() local 63 CompileSuccessfully(spirv, env); in TEST_F() 73 const std::string spirv = R"( in TEST_F() local 85 CompileSuccessfully(spirv, env); in TEST_F() 90 const std::string spirv = R"( in TEST_F() local 98 CompileSuccessfully(spirv, env); in TEST_F() 103 const std::string spirv = R"( in TEST_F() local 111 CompileSuccessfully(spirv, env); in TEST_F() [all …]
|
D | val_function_test.cpp | 37 std::string spirv = R"( in GenerateShader() local 55 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShader() 58 spirv += R"( in GenerateShader() 64 spirv += "%var = OpVariable %ptr Function"; in GenerateShader() 67 spirv += R"( in GenerateShader() 78 return spirv; in GenerateShader() 84 std::string spirv = R"( in GenerateShaderParameter() local 111 return spirv; in GenerateShaderParameter() 117 std::string spirv = R"( in GenerateShaderAccessChain() local 140 spirv += "%var = OpVariable %ptr " + storage_class; in GenerateShaderAccessChain() [all …]
|
/external/skqp/third_party/spirv-tools/ |
D | BUILD.gn | 6 script = "../externals/spirv-tools/utils/generate_grammar_tables.py" 8 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 11 "$root_out_dir/spirv-tools/core.insts-$version.inc", 12 "$root_out_dir/spirv-tools/operand.kinds-$version.inc", 15 "--spirv-core-grammar=" + rebase_path( 16 "../externals/spirv-headers/include/spirv/$version/spirv.core.grammar.json", 19 rebase_path("$root_out_dir/spirv-tools/core.insts-$version.inc", 22 rebase_path("$root_out_dir/spirv-tools/operand.kinds-$version.inc", 41 script = "../externals/spirv-tools/utils/generate_grammar_tables.py" 43 "../externals/spirv-headers/include/spirv/1.0/extinst.glsl.std.450.grammar.json", [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | text_to_binary.memory_test.cpp | 104 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 108 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() 113 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 114 std::string err = CompileFailure(spirv, SPV_ENV_UNIVERSAL_1_3); in TEST_F() 121 std::string spirv = "%2 = OpPtrNotEqual %1 %3 %4\n"; in TEST_F() local 122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 125 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_to_binary.memory_test.cpp | 104 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 108 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() 113 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 114 std::string err = CompileFailure(spirv, SPV_ENV_UNIVERSAL_1_3); in TEST_F() 121 std::string spirv = "%2 = OpPtrNotEqual %1 %3 %4\n"; in TEST_F() local 122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 125 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() [all …]
|
/external/angle/third_party/spirv-tools/src/test/ |
D | text_to_binary.memory_test.cpp | 104 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 108 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() 113 std::string spirv = "%2 = OpPtrEqual %1 %3 %4\n"; in TEST_F() local 114 std::string err = CompileFailure(spirv, SPV_ENV_UNIVERSAL_1_3); in TEST_F() 121 std::string spirv = "%2 = OpPtrNotEqual %1 %3 %4\n"; in TEST_F() local 122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F() 125 spirv, SPV_BINARY_TO_TEXT_OPTION_NONE, SPV_ENV_UNIVERSAL_1_4); in TEST_F() 126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F() [all …]
|
/external/angle/third_party/spirv-headers/src/ |
D | BUILD.bazel | 11 srcs = ["include/spirv/1.0/spirv.core.grammar.json"], 16 srcs = ["include/spirv/1.0/extinst.glsl.std.450.grammar.json"], 21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"], 26 srcs = ["include/spirv/1.1/spirv.core.grammar.json"], 31 srcs = ["include/spirv/1.1/extinst.glsl.std.450.grammar.json"], 36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"], 41 srcs = ["include/spirv/1.2/spirv.core.grammar.json"], 46 srcs = ["include/spirv/1.2/extinst.glsl.std.450.grammar.json"], 51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"], 56 srcs = ["include/spirv/unified1/spirv.core.grammar.json"], [all …]
|
/external/deqp-deps/SPIRV-Headers/ |
D | BUILD.bazel | 11 srcs = ["include/spirv/1.0/spirv.core.grammar.json"], 16 srcs = ["include/spirv/1.0/extinst.glsl.std.450.grammar.json"], 21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"], 26 srcs = ["include/spirv/1.1/spirv.core.grammar.json"], 31 srcs = ["include/spirv/1.1/extinst.glsl.std.450.grammar.json"], 36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"], 41 srcs = ["include/spirv/1.2/spirv.core.grammar.json"], 46 srcs = ["include/spirv/1.2/extinst.glsl.std.450.grammar.json"], 51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"], 56 srcs = ["include/spirv/unified1/spirv.core.grammar.json"], [all …]
|
/external/swiftshader/third_party/SPIRV-Headers/ |
D | BUILD.bazel | 11 srcs = ["include/spirv/1.0/spirv.core.grammar.json"], 16 srcs = ["include/spirv/1.0/extinst.glsl.std.450.grammar.json"], 21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"], 26 srcs = ["include/spirv/1.1/spirv.core.grammar.json"], 31 srcs = ["include/spirv/1.1/extinst.glsl.std.450.grammar.json"], 36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"], 41 srcs = ["include/spirv/1.2/spirv.core.grammar.json"], 46 srcs = ["include/spirv/1.2/extinst.glsl.std.450.grammar.json"], 51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"], 56 srcs = ["include/spirv/unified1/spirv.core.grammar.json"], [all …]
|