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

Function DimToString

Source/SpireCore/SpirVCodeGen.cpp:285–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 };
284
285 String DimToString(Dim b)
286 {
287 switch (b)
288 {
289 case Dim::e1D:
290 return "1D";
291 case Dim::e2D:
292 return "2D";
293 case Dim::e3D:
294 return "3D";
295 case Dim::eCube:
296 return "Cube";
297 case Dim::eRect:
298 return "Rect";
299 case Dim::eBuffer:
300 return "Buffer";
301 case Dim::eSubpassData:
302 return "SubpassData";
303 default:
304 throw NotImplementedException("unknown Builtin");
305 }
306 }
307
308 enum class ImageOperands
309 {

Callers 1

OpTypeImageMethod · 0.85

Calls 1

Tested by

no test coverage detected