Home
last modified time | relevance | path

Searched refs:spv_errors (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dspv_dump.cc26 std::string spv_errors; in Disassemble() local
29 auto msg_consumer = [&spv_errors](spv_message_level_t level, const char*, in Disassemble()
36 spv_errors += "error: line " + std::to_string(position.index) + ": " + in Disassemble()
40 spv_errors += "warning: line " + std::to_string(position.index) + ": " + in Disassemble()
44 spv_errors += "info: line " + std::to_string(position.index) + ": " + in Disassemble()
57 return "*** Invalid SPIR-V ***\n" + spv_errors; in Disassemble()
H A Dtest_helper.h95 std::string spv_errors; in Validate() local
96 auto msg_consumer = [&spv_errors](spv_message_level_t level, const char*, in Validate()
103 spv_errors += "error: line " + std::to_string(position.index) + ": " + in Validate()
107 spv_errors += "warning: line " + std::to_string(position.index) + in Validate()
111 spv_errors += "info: line " + std::to_string(position.index) + ": " + in Validate()
121 ASSERT_TRUE(tools.Validate(binary)) << spv_errors; in Validate()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dshader_compiler.cc85 std::string spv_errors; in Compile() local
93 auto msg_consumer = [&spv_errors](spv_message_level_t level, const char*, in Compile()
100 spv_errors += "error: line " + std::to_string(position.index) + ": " + in Compile()
104 spv_errors += "warning: line " + std::to_string(position.index) + ": " + in Compile()
108 spv_errors += "info: line " + std::to_string(position.index) + ": " + in Compile()
145 return {Result("Shader assembly failed: " + spv_errors), {}}; in Compile()
167 return {Result("Invalid shader: " + spv_errors), {}}; in Compile()
178 return {Result("Invalid optimizations: " + spv_errors), {}}; in Compile()
181 return {Result("Optimizations failed: " + spv_errors), {}}; in Compile()
/third_party/vk-gl-cts/external/amber/src/samples/
H A Damber.cc404 std::string spv_errors; in disassemble() local
412 auto msg_consumer = [&spv_errors](spv_message_level_t level, const char*, in disassemble()
419 spv_errors += "error: line " + std::to_string(position.index) + ": " + in disassemble()
423 spv_errors += "warning: line " + std::to_string(position.index) + ": " + in disassemble()
427 spv_errors += "info: line " + std::to_string(position.index) + ": " + in disassemble()
/third_party/skia/third_party/externals/tint/samples/
H A Dmain.cc555 std::string spv_errors; in Disassemble() local
558 auto msg_consumer = [&spv_errors](spv_message_level_t level, const char*, in Disassemble()
565 spv_errors += "error: line " + std::to_string(position.index) + ": " + in Disassemble()
569 spv_errors += "warning: line " + std::to_string(position.index) + ": " + in Disassemble()
573 spv_errors += "info: line " + std::to_string(position.index) + ": " + in Disassemble()
588 std::cerr << spv_errors << std::endl; in Disassemble()

Completed in 5 milliseconds