Home
last modified time | relevance | path

Searched refs:ext_inst_name (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp68 uint32_t GetPackedNumComponents(const std::string& ext_inst_name) { in GetPackedNumComponents() argument
69 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents()
71 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
77 uint32_t GetPackedBitWidth(const std::string& ext_inst_name) { in GetPackedBitWidth() argument
78 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth()
79 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()
465 const std::string ext_inst_name = GetParam(); in TEST_P() local
467 ss << "%val1 = OpExtInst %f32 %extinst " << ext_inst_name << " %f32_0\n"; in TEST_P()
468 ss << "%val2 = OpExtInst %f32vec2 %extinst " << ext_inst_name in TEST_P()
470 ss << "%val3 = OpExtInst %f64 %extinst " << ext_inst_name << " %f64_0\n"; in TEST_P()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_ext_inst_test.cpp68 uint32_t GetPackedNumComponents(const std::string& ext_inst_name) { in GetPackedNumComponents() argument
69 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents()
71 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
77 uint32_t GetPackedBitWidth(const std::string& ext_inst_name) { in GetPackedBitWidth() argument
78 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth()
79 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()
465 const std::string ext_inst_name = GetParam(); in TEST_P() local
467 ss << "%val1 = OpExtInst %f32 %extinst " << ext_inst_name << " %f32_0\n"; in TEST_P()
468 ss << "%val2 = OpExtInst %f32vec2 %extinst " << ext_inst_name in TEST_P()
470 ss << "%val3 = OpExtInst %f64 %extinst " << ext_inst_name << " %f64_0\n"; in TEST_P()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp53 const std::function<std::string()>& ext_inst_name) { in ValidateOperandForDebugInfo() argument
60 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
64 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
74 ext_inst_name); \
101 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
116 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
120 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
128 ext_inst_name); \
136 const std::function<std::string()>& ext_inst_name) { in ValidateOperandBaseType() argument
139 word_index, ext_inst_name); in ValidateOperandBaseType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp83 const std::function<std::string()>& ext_inst_name) { in ValidateOperandForDebugInfo() argument
90 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
94 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
108 const std::function<std::string()>& ext_inst_name) { in ValidateUint32ConstantOperandForDebugInfo() argument
111 << ext_inst_name() << ": expected operand " << operand_name in ValidateUint32ConstantOperandForDebugInfo()
120 ext_inst_name); \
127 _, NAME, inst, index, ext_inst_name); \
156 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
169 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
173 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp83 const std::function<std::string()>& ext_inst_name) { in ValidateOperandForDebugInfo() argument
90 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
94 << ext_inst_name() << ": " in ValidateOperandForDebugInfo()
108 const std::function<std::string()>& ext_inst_name) { in ValidateUint32ConstantOperandForDebugInfo() argument
111 << ext_inst_name() << ": expected operand " << operand_name in ValidateUint32ConstantOperandForDebugInfo()
120 ext_inst_name); \
127 _, NAME, inst, index, ext_inst_name); \
156 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
169 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
173 << ext_inst_name() << ": " in ValidateDebugInfoOperand()
[all …]
/third_party/spirv-tools/test/val/
Dval_ext_inst_test.cpp95 uint32_t GetPackedNumComponents(const std::string& ext_inst_name) { in GetPackedNumComponents() argument
96 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents()
98 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
104 uint32_t GetPackedBitWidth(const std::string& ext_inst_name) { in GetPackedBitWidth() argument
105 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth()
106 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()
2171 const std::string ext_inst_name = GetParam(); in TEST_P() local
2173 ss << "%val1 = OpExtInst %f32 %extinst " << ext_inst_name << " %f32_0\n"; in TEST_P()
2174 ss << "%val2 = OpExtInst %f32vec2 %extinst " << ext_inst_name in TEST_P()
2176 ss << "%val3 = OpExtInst %f64 %extinst " << ext_inst_name << " %f64_0\n"; in TEST_P()