{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/145","repository_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/145/comments","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/145/events","html_url":"https://github.com/KhronosGroup/SPIRV-LLVM/issues/145","id":156515145,"number":145,"title":"OpCapability Kernel missing in a few cases","user":{"login":"pavanky","id":364829,"avatar_url":"https://avatars.githubusercontent.com/u/364829?v=3","gravatar_id":"","url":"https://api.github.com/users/pavanky","html_url":"https://github.com/pavanky","followers_url":"https://api.github.com/users/pavanky/followers","following_url":"https://api.github.com/users/pavanky/following{/other_user}","gists_url":"https://api.github.com/users/pavanky/gists{/gist_id}","starred_url":"https://api.github.com/users/pavanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavanky/subscriptions","organizations_url":"https://api.github.com/users/pavanky/orgs","repos_url":"https://api.github.com/users/pavanky/repos","events_url":"https://api.github.com/users/pavanky/events{/privacy}","received_events_url":"https://api.github.com/users/pavanky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-24T13:59:34Z","updated_at":"2016-07-26T19:11:59Z","closed_at":"2016-07-26T19:11:59Z","body":"code to reproduce:\r\n\r\n```\r\nfloat negate(float in)\r\n{\r\n    return -in;\r\n}\r\n```\r\n\r\nCompilation commands:\r\n\r\n```\r\nCLANG=$WORK_DIR/local/bin/clang++\r\nLLVM_SPIRV=$WORK_DIR/local/bin/llvm-spirv\r\n\r\n$CLANG -cc1 -emit-llvm-bc -triple spir64-unknown-unknown -include $SPIR_INC_FILE -o $FILE_NAME.bc $FILE_NAME.cl\r\n$LLVM_SPIRV $FILE_NAME.bc -o $FILE_NAME.spv64\r\n```\r\n\r\nError caught running it through the `spirv-val` validator"},"comment":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/comments/235373542","html_url":"https://github.com/KhronosGroup/SPIRV-LLVM/issues/145#issuecomment-235373542","issue_url":"https://api.github.com/repos/KhronosGroup/SPIRV-LLVM/issues/145","id":235373542,"user":{"login":"bader","id":411965,"avatar_url":"https://avatars.githubusercontent.com/u/411965?v=3","gravatar_id":"","url":"https://api.github.com/users/bader","html_url":"https://github.com/bader","followers_url":"https://api.github.com/users/bader/followers","following_url":"https://api.github.com/users/bader/following{/other_user}","gists_url":"https://api.github.com/users/bader/gists{/gist_id}","starred_url":"https://api.github.com/users/bader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bader/subscriptions","organizations_url":"https://api.github.com/users/bader/orgs","repos_url":"https://api.github.com/users/bader/repos","events_url":"https://api.github.com/users/bader/events{/privacy}","received_events_url":"https://api.github.com/users/bader/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T19:11:59Z","updated_at":"2016-07-26T19:11:59Z","body":"Fixed by #156."}}
{"actor":{"display_login":"bader"}}