| 1279 | streamTypeDefinition.Add(*reinterpret_cast<unsigned int*>(&i)); |
| 1280 | } |
| 1281 | void OpConstantUInt(const int ID, const int typeID, const unsigned int i) |
| 1282 | { |
| 1283 | sbTextTypeDefinition << LR"(%)" << ID << LR"( = OpConstant %)" << typeID << LR"( )"; |
| 1284 | sbTextTypeDefinition << SpirVUIntToString(i); |
| 1285 | sbTextTypeDefinition << EndLine; |
| 1286 | |
| 1287 | streamTypeDefinition.Add(43 + (4 << 16)); |
| 1288 | streamTypeDefinition.Add(typeID); |
| 1289 | streamTypeDefinition.Add(ID); |
| 1290 | streamTypeDefinition.Add(i); |
| 1291 | } |
| 1292 | void OpConstantComposite(const int ID, const int typeID, const List<int> &args) |
| 1293 | { |
| 1294 | sbTextTypeDefinition << LR"(%)" << ID << LR"( = OpConstantComposite %)" << typeID; |
no test coverage detected