parameters: (version)
return_statement: return 'SPV_SPIRV_VERSION_WORD({})'.format(version.replace('.', ','))
docstring: Converts the minimal required SPIR-V version encoded in the grammar to
      the symbol in SPIRV-Tools.
docstring_summary: Converts the minimal required SPIR-V version encoded in the grammar to
      the symbol in SPIRV-Tools.
docstring_tokens: Converts the minimal required SPIR - V version encoded in the grammar to the symbol in SPIRV - Tools .
function: def convert_min_required_version(version):
      """Converts the minimal required SPIR-V version encoded in the grammar to
      the symbol in SPIRV-Tools."""
      if version is None:
          return 'SPV_SPIRV_VERSION_WORD(1, 0)'
      if version == 'None':
          return '0xffffffffu'
      return 'SPV_SPIRV_VERSION_WORD({})'.format(version.replace('.', ','))
function_tokens: def convert_min_required_version ( version ) : if version is None : return 'SPV_SPIRV_VERSION_WORD(1, 0)' if version == 'None' : return '0xffffffffu' return 'SPV_SPIRV_VERSION_WORD({})' . format ( version . replace ( '.' , ',' ) )