{"action":"closed","issue":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross/issues/459","repository_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross/issues/459/comments","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross/issues/459/events","html_url":"https://github.com/KhronosGroup/SPIRV-Cross/issues/459","id":298605641,"number":459,"title":"HLSL: spec constants in arrays","user":{"login":"msiglreith","id":7253845,"avatar_url":"https://avatars0.githubusercontent.com/u/7253845?v=4","gravatar_id":"","url":"https://api.github.com/users/msiglreith","html_url":"https://github.com/msiglreith","followers_url":"https://api.github.com/users/msiglreith/followers","following_url":"https://api.github.com/users/msiglreith/following{/other_user}","gists_url":"https://api.github.com/users/msiglreith/gists{/gist_id}","starred_url":"https://api.github.com/users/msiglreith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msiglreith/subscriptions","organizations_url":"https://api.github.com/users/msiglreith/orgs","repos_url":"https://api.github.com/users/msiglreith/repos","events_url":"https://api.github.com/users/msiglreith/events{/privacy}","received_events_url":"https://api.github.com/users/msiglreith/received_events","type":"User","site_admin":false},"labels":[{"id":352397990,"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Cross/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T14:05:27Z","updated_at":"2018-02-23T14:35:35Z","closed_at":"2018-02-23T14:35:35Z","author_association":"CONTRIBUTOR","body":"Specialization constants used for specifying the array size throw an exception:\r\n`The array size is not a literal, but a specialization constant or spec constant op.`\r\n\r\nReference shader: https://github.com/SaschaWillems/Vulkan/blob/master/data/shaders/ssao/ssao.frag#L10-L15\r\n\r\nDisabling the code lines throwing the exception emits valid hlsl source as far as I can see. "}}
{"actor":{"display_login":"HansKristian-ARM"}}