Home
last modified time | relevance | path

Searched refs:ext_inst (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dupgrade_memory_model.cpp84 auto ext_inst = inst->GetSingleWordInOperand(1u); in UpgradeInstructions() local
85 if (ext_inst == GLSLstd450Modf || ext_inst == GLSLstd450Frexp) { in UpgradeInstructions()
723 void UpgradeMemoryModel::UpgradeExtInst(Instruction* ext_inst) { in UpgradeExtInst() argument
724 const bool is_modf = ext_inst->GetSingleWordInOperand(1u) == GLSLstd450Modf; in UpgradeExtInst()
725 auto ptr_id = ext_inst->GetSingleWordInOperand(3u); in UpgradeExtInst()
729 auto element_type_id = ext_inst->type_id(); in UpgradeExtInst()
738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
740 ext_inst->RemoveOperand(5u); in UpgradeExtInst()
742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
747 auto where = ext_inst->NextNode(); in UpgradeExtInst()
[all …]
/third_party/spirv-tools/source/opt/
Dupgrade_memory_model.cpp83 auto ext_inst = inst->GetSingleWordInOperand(1u); in UpgradeInstructions() local
84 if (ext_inst == GLSLstd450Modf || ext_inst == GLSLstd450Frexp) { in UpgradeInstructions()
721 void UpgradeMemoryModel::UpgradeExtInst(Instruction* ext_inst) { in UpgradeExtInst() argument
722 const bool is_modf = ext_inst->GetSingleWordInOperand(1u) == GLSLstd450Modf; in UpgradeExtInst()
723 auto ptr_id = ext_inst->GetSingleWordInOperand(3u); in UpgradeExtInst()
727 auto element_type_id = ext_inst->type_id(); in UpgradeExtInst()
736 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
738 ext_inst->RemoveOperand(5u); in UpgradeExtInst()
740 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
745 auto where = ext_inst->NextNode(); in UpgradeExtInst()
[all …]
Dconvert_to_half_pass.cpp132 Instruction* ext_inst = builder.AddIdLiteralOp( in MatConvertCleanup() local
135 builder.AddUnaryOp(vty_id, SpvOpFConvert, ext_inst->result_id()); in MatConvertCleanup()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dupgrade_memory_model.cpp84 auto ext_inst = inst->GetSingleWordInOperand(1u); in UpgradeInstructions() local
85 if (ext_inst == GLSLstd450Modf || ext_inst == GLSLstd450Frexp) { in UpgradeInstructions()
723 void UpgradeMemoryModel::UpgradeExtInst(Instruction* ext_inst) { in UpgradeExtInst() argument
724 const bool is_modf = ext_inst->GetSingleWordInOperand(1u) == GLSLstd450Modf; in UpgradeExtInst()
725 auto ptr_id = ext_inst->GetSingleWordInOperand(3u); in UpgradeExtInst()
729 auto element_type_id = ext_inst->type_id(); in UpgradeExtInst()
738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
740 ext_inst->RemoveOperand(5u); in UpgradeExtInst()
742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
747 auto where = ext_inst->NextNode(); in UpgradeExtInst()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
DCMakeLists.txt103 ext_inst.cldebug100_test.cpp
104 ext_inst.debuginfo_test.cpp
105 ext_inst.glsl_test.cpp
106 ext_inst.non_semantic_test.cpp
107 ext_inst.opencl_test.cpp
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
DCMakeLists.txt103 ext_inst.cldebug100_test.cpp
104 ext_inst.debuginfo_test.cpp
105 ext_inst.glsl_test.cpp
106 ext_inst.non_semantic_test.cpp
107 ext_inst.opencl_test.cpp
/third_party/spirv-tools/test/
DCMakeLists.txt103 ext_inst.cldebug100_test.cpp
104 ext_inst.debuginfo_test.cpp
105 ext_inst.glsl_test.cpp
106 ext_inst.non_semantic_test.cpp
107 ext_inst.opencl_test.cpp
/third_party/vk-gl-cts/external/amber/src/src/
Dclspv_helper.cc70 auto ext_inst = inst->words[inst->operands[3].offset]; in ParseExtendedInst() local
71 switch (ext_inst) { in ParseExtendedInst()
98 auto kind = GetArgKindFromExtInst(ext_inst); in ParseExtendedInst()
124 auto kind = GetArgKindFromExtInst(ext_inst); in ParseExtendedInst()
147 auto kind = GetArgKindFromExtInst(ext_inst); in ParseExtendedInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Ddisassemble.cpp256 spv_ext_inst_desc ext_inst; in EmitOperand() local
258 if (grammar_.lookupExtInst(inst.ext_inst_type, word, &ext_inst) == in EmitOperand()
260 stream_ << ext_inst->name; in EmitOperand()
Dtable.h74 const uint32_t ext_inst; member
Dbinary.cpp489 spv_ext_inst_desc ext_inst; in parseOperand() local
490 if (grammar_.lookupExtInst(inst->ext_inst_type, word, &ext_inst) == in parseOperand()
493 spvPushOperandTypes(ext_inst->operandTypes, expected_operands); in parseOperand()
Dext_inst.cpp199 if (value == entry.ext_inst) { in spvExtInstTableValueLookup()
/third_party/skia/third_party/externals/spirv-tools/source/
Ddisassemble.cpp256 spv_ext_inst_desc ext_inst; in EmitOperand() local
258 if (grammar_.lookupExtInst(inst.ext_inst_type, word, &ext_inst) == in EmitOperand()
260 stream_ << ext_inst->name; in EmitOperand()
Dtable.h74 const uint32_t ext_inst; member
Dbinary.cpp489 spv_ext_inst_desc ext_inst; in parseOperand() local
490 if (grammar_.lookupExtInst(inst->ext_inst_type, word, &ext_inst) == in parseOperand()
493 spvPushOperandTypes(ext_inst->operandTypes, expected_operands); in parseOperand()
Dext_inst.cpp199 if (value == entry.ext_inst) { in spvExtInstTableValueLookup()
/third_party/spirv-tools/source/
Ddisassemble.cpp338 spv_ext_inst_desc ext_inst; in EmitOperand() local
340 if (grammar_.lookupExtInst(inst.ext_inst_type, word, &ext_inst) == in EmitOperand()
342 stream_ << ext_inst->name; in EmitOperand()
Dtable.h74 const uint32_t ext_inst; member
Dbinary.cpp499 spv_ext_inst_desc ext_inst; in parseOperand() local
500 if (grammar_.lookupExtInst(inst->ext_inst_type, word, &ext_inst) == in parseOperand()
503 spvPushOperandTypes(ext_inst->operandTypes, expected_operands); in parseOperand()
Dext_inst.cpp201 if (value == entry.ext_inst) { in spvExtInstTableValueLookup()
/third_party/skia/third_party/externals/spirv-tools/
DAndroid.mk13 source/ext_inst.cpp \
216 $(LOCAL_PATH)/source/ext_inst.cpp: \
264 $(LOCAL_PATH)/source/ext_inst.cpp: $(1)/$(2).insts.inc
/third_party/spirv-tools/
DAndroid.mk13 source/ext_inst.cpp \
224 $(LOCAL_PATH)/source/ext_inst.cpp: \
272 $(LOCAL_PATH)/source/ext_inst.cpp: $(1)/$(2).insts.inc
/third_party/spirv-tools/test/val/
Dval_ext_inst_test.cpp6260 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6280 ext_inst + " %int_0 %int_0 " + extra; in TEST_P()
6289 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6311 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6321 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6342 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6351 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6374 ext_inst + " %decl %int_0 " + operands + " %info"; in TEST_P()
6381 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6402 ext_inst + " %decl %int_0 " + operands + " %int_0"; in TEST_P()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp6246 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6266 ext_inst + " %int_0 %int_0 " + extra; in TEST_P()
6275 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6297 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6307 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6328 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6337 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6360 ext_inst + " %decl %int_0 " + operands + " %info"; in TEST_P()
6367 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6388 ext_inst + " %decl %int_0 " + operands + " %int_0"; in TEST_P()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_ext_inst_test.cpp6246 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6266 ext_inst + " %int_0 %int_0 " + extra; in TEST_P()
6275 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6297 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6307 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6328 ext_inst + " %decl %int_0 " + extra; in TEST_P()
6337 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6360 ext_inst + " %decl %int_0 " + operands + " %info"; in TEST_P()
6367 const std::string ext_inst = std::get<0>(GetParam()); in TEST_P() local
6388 ext_inst + " %decl %int_0 " + operands + " %int_0"; in TEST_P()
[all …]

12