{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/998","repository_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/998/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/998/comments","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/998/events","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/998","id":276464654,"number":998,"title":"Add XXXToString functions for all spirv enums","user":{"login":"atgoo","id":12736284,"avatar_url":"https://avatars1.githubusercontent.com/u/12736284?v=4","gravatar_id":"","url":"https://api.github.com/users/atgoo","html_url":"https://github.com/atgoo","followers_url":"https://api.github.com/users/atgoo/followers","following_url":"https://api.github.com/users/atgoo/following{/other_user}","gists_url":"https://api.github.com/users/atgoo/gists{/gist_id}","starred_url":"https://api.github.com/users/atgoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atgoo/subscriptions","organizations_url":"https://api.github.com/users/atgoo/orgs","repos_url":"https://api.github.com/users/atgoo/repos","events_url":"https://api.github.com/users/atgoo/events{/privacy}","received_events_url":"https://api.github.com/users/atgoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-23T20:07:01Z","updated_at":"2017-11-24T02:34:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/998","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/998","diff_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/998.diff","patch_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/998.patch"},"body":"Added new functions to source/enum_string_mapping.h\r\nstd::string SourceLanguageToString(SpvSourceLanguage);\r\nstd::string ExecutionModelToString(SpvExecutionModel);\r\nstd::string AddressingModelToString(SpvAddressingModel);\r\nstd::string MemoryModelToString(SpvMemoryModel);\r\nstd::string ExecutionModeToString(SpvExecutionMode);\r\nstd::string StorageClassToString(SpvStorageClass);\r\nstd::string DimToString(SpvDim);\r\nstd::string SamplerAddressingModeToString(SpvSamplerAddressingMode);\r\nstd::string SamplerFilterModeToString(SpvSamplerFilterMode);\r\nstd::string ImageFormatToString(SpvImageFormat);\r\nstd::string ImageChannelOrderToString(SpvImageChannelOrder);\r\nstd::string ImageChannelDataTypeToString(SpvImageChannelDataType);\r\nstd::string FPRoundingModeToString(SpvFPRoundingMode);\r\nstd::string LinkageTypeToString(SpvLinkageType);\r\nstd::string AccessQualifierToString(SpvAccessQualifier);\r\nstd::string FunctionParameterAttributeToString(SpvFunctionParameterAttribute);\r\nstd::string DecorationToString(SpvDecoration);\r\nstd::string BuiltInToString(SpvBuiltIn);\r\nstd::string ScopeToString(SpvScope);\r\nstd::string GroupOperationToString(SpvGroupOperation);\r\nstd::string KernelEnqueueFlagsToString(SpvKernelEnqueueFlags);\r\n"},"comment":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/comments/346727941","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/998#issuecomment-346727941","issue_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/998","id":346727941,"user":{"login":"dneto0","id":13054574,"avatar_url":"https://avatars0.githubusercontent.com/u/13054574?v=4","gravatar_id":"","url":"https://api.github.com/users/dneto0","html_url":"https://github.com/dneto0","followers_url":"https://api.github.com/users/dneto0/followers","following_url":"https://api.github.com/users/dneto0/following{/other_user}","gists_url":"https://api.github.com/users/dneto0/gists{/gist_id}","starred_url":"https://api.github.com/users/dneto0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneto0/subscriptions","organizations_url":"https://api.github.com/users/dneto0/orgs","repos_url":"https://api.github.com/users/dneto0/repos","events_url":"https://api.github.com/users/dneto0/events{/privacy}","received_events_url":"https://api.github.com/users/dneto0/received_events","type":"User","site_admin":false},"created_at":"2017-11-24T02:34:07Z","updated_at":"2017-11-24T02:34:07Z","author_association":"CONTRIBUTOR","body":"This data is already available through the AssemblyGrammar::lookupOperand(spv_operand_type_t, uint32_t, spv_operand_desc*)  then get the name field from the resulting spv_operand_desc.\r\n\r\nSee source/assembly_grammar.h and source/table.h (for spv_operand_desc).\r\n\r\nGenerating new tables will bloat the code size unnecessarily."}}
{"actor":{"display_login":"dneto0"}}