MCPcopy Create free account
hub / github.com/csyonghe/Spire / AddInstrDFdy

Method AddInstrDFdy

Source/SpireCore/SpirVCodeGen.cpp:3265–3278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3263 }
3264
3265 int AddInstrDFdy(ILOperand *op, RefPtr<ILType> typeIL, int ID)
3266 {
3267 int typeID = DefineType(typeIL);
3268 ++CurrentID;
3269 CodeGen.OpDPdy(CurrentID, typeID, ID);
3270 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
3271 CurrentID,
3272 typeIL,
3273 op,
3274 typeID
3275 );
3276 UpdateValue(op, CurrentID);
3277 return CurrentID;
3278 }
3279
3280 int AddInstrFwidth(ILOperand *op, RefPtr<ILType> typeIL, int ID)
3281 {

Callers 1

PrintCallInstrMethod · 0.80

Calls 1

OpDPdyMethod · 0.80

Tested by

no test coverage detected