{"action":"closed","issue":{"url":"https://api.github.com/repos/KhronosGroup/glslang/issues/296","repository_url":"https://api.github.com/repos/KhronosGroup/glslang","labels_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/296/comments","events_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/296/events","html_url":"https://github.com/KhronosGroup/glslang/issues/296","id":155622700,"number":296,"title":"glslang doesn't enforce GLSL linking rules","user":{"login":"weifengz","id":6407230,"avatar_url":"https://avatars.githubusercontent.com/u/6407230?v=3","gravatar_id":"","url":"https://api.github.com/users/weifengz","html_url":"https://github.com/weifengz","followers_url":"https://api.github.com/users/weifengz/followers","following_url":"https://api.github.com/users/weifengz/following{/other_user}","gists_url":"https://api.github.com/users/weifengz/gists{/gist_id}","starred_url":"https://api.github.com/users/weifengz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weifengz/subscriptions","organizations_url":"https://api.github.com/users/weifengz/orgs","repos_url":"https://api.github.com/users/weifengz/repos","events_url":"https://api.github.com/users/weifengz/events{/privacy}","received_events_url":"https://api.github.com/users/weifengz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KhronosGroup/glslang/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/KhronosGroup/glslang/labels/GLSL/ESSL","name":"GLSL/ESSL","color":"006b75"},{"url":"https://api.github.com/repos/KhronosGroup/glslang/labels/Missing%20Functionality","name":"Missing Functionality","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-18T23:17:13Z","updated_at":"2016-08-12T23:45:54Z","closed_at":"2016-08-12T23:45:54Z","body":"This simple pair of shaders should have failed to generate spv with linking option due to mismatched uniform blocks, but SPV was generated successfully.\r\n\r\nFS:\r\n#version 310 es\r\nprecision highp float;\r\nlayout(location = 0) out vec4 color;\r\nlayout(set = 0, binding = 0) uniform myUBO {\r\n  vec4 base;\r\n};\r\nvoid main()\r\n{\r\n  color = base + 1.0;\r\n}\r\n\r\nVS:\r\n#version 310 es\r\nlayout (set = 0, binding = 1) uniform myUBO {\r\n  mat4 m;\r\n};\r\nvoid main()\r\n{\r\n  gl_Position = m[1];\r\n}\r\n"}}
{"actor":{"display_login":"johnkslang"}}