{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31","id":53586323,"html_url":"https://github.com/KhronosGroup/SPIRV-LLVM/pull/31","diff_url":"https://github.com/KhronosGroup/SPIRV-LLVM/pull/31.diff","patch_url":"https://github.com/KhronosGroup/SPIRV-LLVM/pull/31.patch","issue_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/31","number":31,"state":"open","locked":false,"title":"Image.query.translation","user":{"login":"AndreyE","id":16120832,"avatar_url":"https://avatars.githubusercontent.com/u/16120832?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreyE","html_url":"https://github.com/AndreyE","followers_url":"https://api.github.com/users/AndreyE/followers","following_url":"https://api.github.com/users/AndreyE/following{/other_user}","gists_url":"https://api.github.com/users/AndreyE/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyE/subscriptions","organizations_url":"https://api.github.com/users/AndreyE/orgs","repos_url":"https://api.github.com/users/AndreyE/repos","events_url":"https://api.github.com/users/AndreyE/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyE/received_events","type":"User","site_admin":false},"body":"1. Fix translation of get_image_dim(image2d_array_t) in SPIR-V writer\r\n\r\n2. Implement translation of OpImageQuerySize[Lod] in SPIR-V reader\r\n   The patch provides generator agnostic version of OpImageQuerySize[Lod] translation in SPIR-V reader. It translates this SPIR-V query into vector containing {[get_image_width | get_image_dim], }.","created_at":"2015-12-14T16:21:08Z","updated_at":"2015-12-14T16:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31/commits","review_comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31/comments","review_comment_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/31/comments","statuses_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/statuses/8448c5466fa0630a753ab52f7efedccd4a6ee1e0","head":{"label":"AndreyE:image.query.translation","ref":"image.query.translation","sha":"8448c5466fa0630a753ab52f7efedccd4a6ee1e0","user":{"login":"AndreyE","id":16120832,"avatar_url":"https://avatars.githubusercontent.com/u/16120832?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreyE","html_url":"https://github.com/AndreyE","followers_url":"https://api.github.com/users/AndreyE/followers","following_url":"https://api.github.com/users/AndreyE/following{/other_user}","gists_url":"https://api.github.com/users/AndreyE/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyE/subscriptions","organizations_url":"https://api.github.com/users/AndreyE/orgs","repos_url":"https://api.github.com/users/AndreyE/repos","events_url":"https://api.github.com/users/AndreyE/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyE/received_events","type":"User","site_admin":false},"repo":{"id":47983924,"name":"SPIRV-LLVM","full_name":"AndreyE/SPIRV-LLVM","owner":{"login":"AndreyE","id":16120832,"avatar_url":"https://avatars.githubusercontent.com/u/16120832?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreyE","html_url":"https://github.com/AndreyE","followers_url":"https://api.github.com/users/AndreyE/followers","following_url":"https://api.github.com/users/AndreyE/following{/other_user}","gists_url":"https://api.github.com/users/AndreyE/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyE/subscriptions","organizations_url":"https://api.github.com/users/AndreyE/orgs","repos_url":"https://api.github.com/users/AndreyE/repos","events_url":"https://api.github.com/users/AndreyE/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreyE/SPIRV-LLVM","description":"LLVM framework with SPIR-V support. It's intended to contain LLVM <-> SPIR-V converter and serve as a foundation for LLVM-based front-end compilers targeting SPIR-V.","fork":true,"url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM","forks_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/forks","keys_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/teams","hooks_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/hooks","issue_events_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/issues/events{/number}","events_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/events","assignees_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/assignees{/user}","branches_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/branches{/branch}","tags_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/tags","blobs_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/languages","stargazers_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/stargazers","contributors_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/contributors","subscribers_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/subscribers","subscription_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/subscription","commits_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/contents/{+path}","compare_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/merges","archive_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/downloads","issues_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/issues{/number}","pulls_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/labels{/name}","releases_url":"https://api.github.com/repos/AndreyE/SPIRV-LLVM/releases{/id}","created_at":"2015-12-14T15:34:57Z","updated_at":"2015-12-14T15:35:34Z","pushed_at":"2015-12-14T16:17:21Z","git_url":"git://github.com/AndreyE/SPIRV-LLVM.git","ssh_url":"git@github.com:AndreyE/SPIRV-LLVM.git","clone_url":"https://github.com/AndreyE/SPIRV-LLVM.git","svn_url":"https://github.com/AndreyE/SPIRV-LLVM","homepage":"","size":183820,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"khronos/spirv-3.6.1"}},"base":{"label":"KhronosGroup:khronos/spirv-3.6.1","ref":"khronos/spirv-3.6.1","sha":"b03f4776295403f7622c56897eeea746117cd144","user":{"login":"KhronosGroup","id":1608701,"avatar_url":"https://avatars.githubusercontent.com/u/1608701?v=3","gravatar_id":"","url":"https://api.github.com/users/KhronosGroup","html_url":"https://github.com/KhronosGroup","followers_url":"https://api.github.com/users/KhronosGroup/followers","following_url":"https://api.github.com/users/KhronosGroup/following{/other_user}","gists_url":"https://api.github.com/users/KhronosGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/KhronosGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhronosGroup/subscriptions","organizations_url":"https://api.github.com/users/KhronosGroup/orgs","repos_url":"https://api.github.com/users/KhronosGroup/repos","events_url":"https://api.github.com/users/KhronosGroup/events{/privacy}","received_events_url":"https://api.github.com/users/KhronosGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":45472771,"name":"SPIRV-LLVM","full_name":"KhronosGroup/SPIRV-LLVM","owner":{"login":"KhronosGroup","id":1608701,"avatar_url":"https://avatars.githubusercontent.com/u/1608701?v=3","gravatar_id":"","url":"https://api.github.com/users/KhronosGroup","html_url":"https://github.com/KhronosGroup","followers_url":"https://api.github.com/users/KhronosGroup/followers","following_url":"https://api.github.com/users/KhronosGroup/following{/other_user}","gists_url":"https://api.github.com/users/KhronosGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/KhronosGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhronosGroup/subscriptions","organizations_url":"https://api.github.com/users/KhronosGroup/orgs","repos_url":"https://api.github.com/users/KhronosGroup/repos","events_url":"https://api.github.com/users/KhronosGroup/events{/privacy}","received_events_url":"https://api.github.com/users/KhronosGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KhronosGroup/SPIRV-LLVM","description":"LLVM framework with SPIR-V support. It's intended to contain LLVM <-> SPIR-V converter and serve as a foundation for LLVM-based front-end compilers targeting SPIR-V.","fork":false,"url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM","forks_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/forks","keys_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/teams","hooks_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/hooks","issue_events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/events{/number}","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/events","assignees_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/assignees{/user}","branches_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/branches{/branch}","tags_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/tags","blobs_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/git/refs{/sha}","trees_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/statuses/{sha}","languages_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/languages","stargazers_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/stargazers","contributors_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/contributors","subscribers_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/subscribers","subscription_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/subscription","commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/commits{/sha}","git_commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/git/commits{/sha}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/comments{/number}","issue_comment_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/comments{/number}","contents_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/contents/{+path}","compare_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/merges","archive_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/downloads","issues_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues{/number}","pulls_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls{/number}","milestones_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/milestones{/number}","notifications_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/labels{/name}","releases_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/releases{/id}","created_at":"2015-11-03T14:42:40Z","updated_at":"2015-12-04T22:37:52Z","pushed_at":"2015-12-14T16:21:09Z","git_url":"git://github.com/KhronosGroup/SPIRV-LLVM.git","ssh_url":"git@github.com:KhronosGroup/SPIRV-LLVM.git","clone_url":"https://github.com/KhronosGroup/SPIRV-LLVM.git","svn_url":"https://github.com/KhronosGroup/SPIRV-LLVM","homepage":"","size":183825,"stargazers_count":30,"watchers_count":30,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":30,"default_branch":"khronos/spirv-3.6.1"}},"_links":{"self":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31"},"html":{"href":"https://github.com/KhronosGroup/SPIRV-LLVM/pull/31"},"issue":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/31"},"comments":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/statuses/8448c5466fa0630a753ab52f7efedccd4a6ee1e0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":364,"deletions":3,"changed_files":3}}