Home
last modified time | relevance | path

Searched refs:new_decoration (Results 1 – 3 of 3) sorted by relevance

/third_party/spirv-tools/source/opt/
Ddesc_sroa.cpp293 std::unique_ptr<Instruction> new_decoration( in CreateReplacementVariable() local
295 new_decoration->SetInOperand(0, {id}); in CreateReplacementVariable()
297 uint32_t decoration = new_decoration->GetSingleWordInOperand(1u); in CreateReplacementVariable()
299 uint32_t new_binding = new_decoration->GetSingleWordInOperand(2); in CreateReplacementVariable()
311 new_decoration->SetInOperand(2, {new_binding}); in CreateReplacementVariable()
313 context()->AddAnnotationInst(std::move(new_decoration)); in CreateReplacementVariable()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa.cpp216 std::unique_ptr<Instruction> new_decoration(old_decoration->Clone(context())); in CreateNewDecorationForNewVariable() local
217 new_decoration->SetInOperand(0, {new_var_id}); in CreateNewDecorationForNewVariable()
219 if (IsDecorationBinding(new_decoration.get())) { in CreateNewDecorationForNewVariable()
220 new_decoration->SetInOperand(2, {new_binding}); in CreateNewDecorationForNewVariable()
222 context()->AddAnnotationInst(std::move(new_decoration)); in CreateNewDecorationForNewVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp217 std::unique_ptr<Instruction> new_decoration(old_decoration->Clone(context())); in CreateNewDecorationForNewVariable() local
218 new_decoration->SetInOperand(0, {new_var_id}); in CreateNewDecorationForNewVariable()
220 if (IsDecorationBinding(new_decoration.get())) { in CreateNewDecorationForNewVariable()
221 new_decoration->SetInOperand(2, {new_binding}); in CreateNewDecorationForNewVariable()
223 context()->AddAnnotationInst(std::move(new_decoration)); in CreateNewDecorationForNewVariable()