@@ -467,7 +467,7 @@ const char* ImageChannelOrderString(int format)
467467 case 17 : return " sRGBA" ;
468468 case 18 : return " sBGRA" ;
469469
470- default :
470+ default :
471471 return " Bad" ;
472472 }
473473}
@@ -739,7 +739,7 @@ const char* CapabilityString(int info)
739739 case 22 : return " Int16" ;
740740 case 23 : return " TessellationPointSize" ;
741741 case 24 : return " GeometryPointSize" ;
742- case 25 : return " ImageGatherExtended" ;
742+ case 25 : return " ImageGatherExtended" ;
743743 case 26 : return " Bad" ;
744744 case 27 : return " StorageImageMultisample" ;
745745 case 28 : return " UniformBufferArrayDynamicIndexing" ;
@@ -1371,37 +1371,37 @@ void Parameterize()
13711371 DecorationOperands[DecorationAlignment].push (OperandLiteralNumber, " 'Alignment'" );
13721372
13731373 OperandClassParams[OperandSource].set (0 , SourceString, 0 );
1374- OperandClassParams[OperandExecutionModel].set (0 , ExecutionModelString, nullptr );
1375- OperandClassParams[OperandAddressing].set (0 , AddressingString, nullptr );
1376- OperandClassParams[OperandMemory].set (0 , MemoryString, nullptr );
1374+ OperandClassParams[OperandExecutionModel].set (0 , ExecutionModelString, NULL );
1375+ OperandClassParams[OperandAddressing].set (0 , AddressingString, NULL );
1376+ OperandClassParams[OperandMemory].set (0 , MemoryString, NULL );
13771377 OperandClassParams[OperandExecutionMode].set (ExecutionModeCeiling, ExecutionModeString, ExecutionModeParams);
13781378 OperandClassParams[OperandExecutionMode].setOperands (ExecutionModeOperands);
1379- OperandClassParams[OperandStorage].set (0 , StorageClassString, nullptr );
1380- OperandClassParams[OperandDimensionality].set (0 , DimensionString, nullptr );
1381- OperandClassParams[OperandSamplerAddressingMode].set (0 , SamplerAddressingModeString, nullptr );
1382- OperandClassParams[OperandSamplerFilterMode].set (0 , SamplerFilterModeString, nullptr );
1383- OperandClassParams[OperandSamplerImageFormat].set (0 , ImageFormatString, nullptr );
1384- OperandClassParams[OperandImageChannelOrder].set (0 , ImageChannelOrderString, nullptr );
1385- OperandClassParams[OperandImageChannelDataType].set (0 , ImageChannelDataTypeString, nullptr );
1379+ OperandClassParams[OperandStorage].set (0 , StorageClassString, NULL );
1380+ OperandClassParams[OperandDimensionality].set (0 , DimensionString, NULL );
1381+ OperandClassParams[OperandSamplerAddressingMode].set (0 , SamplerAddressingModeString, NULL );
1382+ OperandClassParams[OperandSamplerFilterMode].set (0 , SamplerFilterModeString, NULL );
1383+ OperandClassParams[OperandSamplerImageFormat].set (0 , ImageFormatString, NULL );
1384+ OperandClassParams[OperandImageChannelOrder].set (0 , ImageChannelOrderString, NULL );
1385+ OperandClassParams[OperandImageChannelDataType].set (0 , ImageChannelDataTypeString, NULL );
13861386 OperandClassParams[OperandImageOperands].set (ImageOperandsCeiling, ImageOperandsString, ImageOperandsParams, true );
1387- OperandClassParams[OperandFPFastMath].set (0 , FPFastMathString, nullptr , true );
1388- OperandClassParams[OperandFPRoundingMode].set (0 , FPRoundingModeString, nullptr );
1389- OperandClassParams[OperandLinkageType].set (0 , LinkageTypeString, nullptr );
1390- OperandClassParams[OperandFuncParamAttr].set (0 , FuncParamAttrString, nullptr );
1391- OperandClassParams[OperandAccessQualifier].set (0 , AccessQualifierString, nullptr );
1387+ OperandClassParams[OperandFPFastMath].set (0 , FPFastMathString, NULL , true );
1388+ OperandClassParams[OperandFPRoundingMode].set (0 , FPRoundingModeString, NULL );
1389+ OperandClassParams[OperandLinkageType].set (0 , LinkageTypeString, NULL );
1390+ OperandClassParams[OperandFuncParamAttr].set (0 , FuncParamAttrString, NULL );
1391+ OperandClassParams[OperandAccessQualifier].set (0 , AccessQualifierString, NULL );
13921392 OperandClassParams[OperandDecoration].set (DecorationCeiling, DecorationString, DecorationParams);
13931393 OperandClassParams[OperandDecoration].setOperands (DecorationOperands);
1394- OperandClassParams[OperandBuiltIn].set (0 , BuiltInString, nullptr );
1394+ OperandClassParams[OperandBuiltIn].set (0 , BuiltInString, NULL );
13951395 OperandClassParams[OperandSelect].set (SelectControlCeiling, SelectControlString, SelectionControlParams, true );
13961396 OperandClassParams[OperandLoop].set (LoopControlCeiling, LoopControlString, LoopControlParams, true );
13971397 OperandClassParams[OperandFunction].set (FunctionControlCeiling, FunctionControlString, FunctionControlParams, true );
1398- OperandClassParams[OperandMemorySemantics].set (0 , MemorySemanticsString, nullptr , true );
1399- OperandClassParams[OperandMemoryAccess].set (0 , MemoryAccessString, nullptr , true );
1400- OperandClassParams[OperandScope].set (0 , ScopeString, nullptr );
1401- OperandClassParams[OperandGroupOperation].set (0 , GroupOperationString, nullptr );
1402- OperandClassParams[OperandKernelEnqueueFlags].set (0 , KernelEnqueueFlagsString, nullptr );
1403- OperandClassParams[OperandKernelProfilingInfo].set (0 , KernelProfilingInfoString, nullptr , true );
1404- OperandClassParams[OperandCapability].set (0 , CapabilityString, nullptr );
1398+ OperandClassParams[OperandMemorySemantics].set (0 , MemorySemanticsString, NULL , true );
1399+ OperandClassParams[OperandMemoryAccess].set (0 , MemoryAccessString, NULL , true );
1400+ OperandClassParams[OperandScope].set (0 , ScopeString, NULL );
1401+ OperandClassParams[OperandGroupOperation].set (0 , GroupOperationString, NULL );
1402+ OperandClassParams[OperandKernelEnqueueFlags].set (0 , KernelEnqueueFlagsString, NULL );
1403+ OperandClassParams[OperandKernelProfilingInfo].set (0 , KernelProfilingInfoString, NULL , true );
1404+ OperandClassParams[OperandCapability].set (0 , CapabilityString, NULL );
14051405 OperandClassParams[OperandOpcode].set (OpCodeMask + 1 , OpcodeString, 0 );
14061406
14071407 // set name of operator, an initial set of <id> style operands, and the description
@@ -1943,11 +1943,11 @@ void Parameterize()
19431943 InstructionDesc[OpBitFieldSExtract].operands .push (OperandId, " 'Base'" );
19441944 InstructionDesc[OpBitFieldSExtract].operands .push (OperandId, " 'Offset'" );
19451945 InstructionDesc[OpBitFieldSExtract].operands .push (OperandId, " 'Count'" );
1946-
1946+
19471947 InstructionDesc[OpBitFieldUExtract].operands .push (OperandId, " 'Base'" );
19481948 InstructionDesc[OpBitFieldUExtract].operands .push (OperandId, " 'Offset'" );
19491949 InstructionDesc[OpBitFieldUExtract].operands .push (OperandId, " 'Count'" );
1950-
1950+
19511951 InstructionDesc[OpBitReverse].operands .push (OperandId, " 'Base'" );
19521952
19531953 InstructionDesc[OpBitCount].operands .push (OperandId, " 'Base'" );
0 commit comments