{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/glslang/issues/1330","repository_url":"https://api.github.com/repos/KhronosGroup/glslang","labels_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/1330/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/1330/comments","events_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/1330/events","html_url":"https://github.com/KhronosGroup/glslang/issues/1330","id":310349685,"number":1330,"title":"Invalid SPIR-V generated for spv.GeometryShaderPassthrough.geom","user":{"login":"kayru","id":359194,"avatar_url":"https://avatars0.githubusercontent.com/u/359194?v=4","gravatar_id":"","url":"https://api.github.com/users/kayru","html_url":"https://github.com/kayru","followers_url":"https://api.github.com/users/kayru/followers","following_url":"https://api.github.com/users/kayru/following{/other_user}","gists_url":"https://api.github.com/users/kayru/gists{/gist_id}","starred_url":"https://api.github.com/users/kayru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayru/subscriptions","organizations_url":"https://api.github.com/users/kayru/orgs","repos_url":"https://api.github.com/users/kayru/repos","events_url":"https://api.github.com/users/kayru/events{/privacy}","received_events_url":"https://api.github.com/users/kayru/received_events","type":"User","site_admin":false},"labels":[{"id":228949869,"url":"https://api.github.com/repos/KhronosGroup/glslang/labels/bug","name":"bug","color":"fc2929","default":true},{"id":228949874,"url":"https://api.github.com/repos/KhronosGroup/glslang/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-01T20:02:22Z","updated_at":"2018-04-11T13:29:21Z","closed_at":"2018-04-11T04:02:16Z","author_association":"NONE","body":"Running `glslangValidator --auto-map-locations -V spv.GeometryShaderPassthrough.geom && spirv-dis geom.spv` produces the following output:\r\n\r\n```\r\n; SPIR-V\r\n; Version: 1.0\r\n; Generator: Khronos Glslang Reference Front End; 4\r\n; Bound: 15\r\n; Schema: 0\r\n               OpCapability Geometry\r\n               OpCapability GeometryShaderPassthroughNV\r\n               OpExtension \"SPV_NV_geometry_shader_passthrough\"\r\n          %1 = OpExtInstImport \"GLSL.std.450\"\r\n               OpMemoryModel Logical GLSL450\r\n               OpEntryPoint Geometry %4 \"main\" %10 %14\r\n               OpExecutionMode %4 Triangles\r\n               OpExecutionMode %4 Invocations 1\r\nerror: 45: End of input reached while decoding OpExecutionMode starting at word 42: expected more operands after 3 words.\r\n```\r\nTested using glslangValidator from latest public Vulkan SDK (1.1.70.1) and custom-built glslang (ed834895ea68aaa4a6d4975be17751a25899acde)."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/glslang/issues/comments/380451878","html_url":"https://github.com/KhronosGroup/glslang/issues/1330#issuecomment-380451878","issue_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/1330","id":380451878,"user":{"login":"dgkoch","id":8797337,"avatar_url":"https://avatars2.githubusercontent.com/u/8797337?v=4","gravatar_id":"","url":"https://api.github.com/users/dgkoch","html_url":"https://github.com/dgkoch","followers_url":"https://api.github.com/users/dgkoch/followers","following_url":"https://api.github.com/users/dgkoch/following{/other_user}","gists_url":"https://api.github.com/users/dgkoch/gists{/gist_id}","starred_url":"https://api.github.com/users/dgkoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgkoch/subscriptions","organizations_url":"https://api.github.com/users/dgkoch/orgs","repos_url":"https://api.github.com/users/dgkoch/repos","events_url":"https://api.github.com/users/dgkoch/events{/privacy}","received_events_url":"https://api.github.com/users/dgkoch/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T13:29:21Z","updated_at":"2018-04-11T13:29:21Z","author_association":"CONTRIBUTOR","body":"Thanks @johnkslang. \r\nAnd yes, `line_stripo` is a typo in the Vulkan spec. I'll submit an MR for that. "}}
{"actor":{"display_login":"dgkoch"}}