{"action":"created","issue":{"url":"https://api.github.com/repos/floooh/sokol/issues/23","repository_url":"https://api.github.com/repos/floooh/sokol","labels_url":"https://api.github.com/repos/floooh/sokol/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/floooh/sokol/issues/23/comments","events_url":"https://api.github.com/repos/floooh/sokol/issues/23/events","html_url":"https://github.com/floooh/sokol/issues/23","id":266606638,"node_id":"MDU6SXNzdWUyNjY2MDY2Mzg=","number":23,"title":"Define uniforms with introspection.","user":{"login":"Edwearth","id":32911096,"node_id":"MDQ6VXNlcjMyOTExMDk2","avatar_url":"https://avatars2.githubusercontent.com/u/32911096?v=4","gravatar_id":"","url":"https://api.github.com/users/Edwearth","html_url":"https://github.com/Edwearth","followers_url":"https://api.github.com/users/Edwearth/followers","following_url":"https://api.github.com/users/Edwearth/following{/other_user}","gists_url":"https://api.github.com/users/Edwearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Edwearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Edwearth/subscriptions","organizations_url":"https://api.github.com/users/Edwearth/orgs","repos_url":"https://api.github.com/users/Edwearth/repos","events_url":"https://api.github.com/users/Edwearth/events{/privacy}","received_events_url":"https://api.github.com/users/Edwearth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"floooh","id":1699414,"node_id":"MDQ6VXNlcjE2OTk0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1699414?v=4","gravatar_id":"","url":"https://api.github.com/users/floooh","html_url":"https://github.com/floooh","followers_url":"https://api.github.com/users/floooh/followers","following_url":"https://api.github.com/users/floooh/following{/other_user}","gists_url":"https://api.github.com/users/floooh/gists{/gist_id}","starred_url":"https://api.github.com/users/floooh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floooh/subscriptions","organizations_url":"https://api.github.com/users/floooh/orgs","repos_url":"https://api.github.com/users/floooh/repos","events_url":"https://api.github.com/users/floooh/events{/privacy}","received_events_url":"https://api.github.com/users/floooh/received_events","type":"User","site_admin":false},"assignees":[{"login":"floooh","id":1699414,"node_id":"MDQ6VXNlcjE2OTk0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1699414?v=4","gravatar_id":"","url":"https://api.github.com/users/floooh","html_url":"https://github.com/floooh","followers_url":"https://api.github.com/users/floooh/followers","following_url":"https://api.github.com/users/floooh/following{/other_user}","gists_url":"https://api.github.com/users/floooh/gists{/gist_id}","starred_url":"https://api.github.com/users/floooh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floooh/subscriptions","organizations_url":"https://api.github.com/users/floooh/orgs","repos_url":"https://api.github.com/users/floooh/repos","events_url":"https://api.github.com/users/floooh/events{/privacy}","received_events_url":"https://api.github.com/users/floooh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2017-10-18T19:03:31Z","updated_at":"2018-06-20T12:07:57Z","closed_at":null,"author_association":"NONE","body":"Why are `uniforms` in `sg_shader_uniform_block_desc` set manually ?\r\nMaybe the could be set automatically during the compilation of the shader with introspection ?\r\n\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/floooh/sokol/issues/comments/398726052","html_url":"https://github.com/floooh/sokol/issues/23#issuecomment-398726052","issue_url":"https://api.github.com/repos/floooh/sokol/issues/23","id":398726052,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODcyNjA1Mg==","user":{"login":"floooh","id":1699414,"node_id":"MDQ6VXNlcjE2OTk0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1699414?v=4","gravatar_id":"","url":"https://api.github.com/users/floooh","html_url":"https://github.com/floooh","followers_url":"https://api.github.com/users/floooh/followers","following_url":"https://api.github.com/users/floooh/following{/other_user}","gists_url":"https://api.github.com/users/floooh/gists{/gist_id}","starred_url":"https://api.github.com/users/floooh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floooh/subscriptions","organizations_url":"https://api.github.com/users/floooh/orgs","repos_url":"https://api.github.com/users/floooh/repos","events_url":"https://api.github.com/users/floooh/events{/privacy}","received_events_url":"https://api.github.com/users/floooh/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T12:07:57Z","updated_at":"2018-06-20T12:07:57Z","author_association":"OWNER","body":"Hmm maybe I should finally update SPIRVCross, I also have a couple of hacks in my fork which should be fixed in the main version (something about matrix row/colum-major order for HLSL).\r\n\r\nI'm generating the .spv by separately calling glslangValidator, controlled by a fips code generation script: https://github.com/floooh/oryol/blob/sokol-gfx/fips-files/generators/Shader.py, and also see here: https://github.com/floooh/oryol/tree/sokol-gfx/fips-files/generators/util\r\n\r\nNot sure if you're aware, but @pjako has ported the Oryol shader cross-compiler to sokol (although not everything is supported yet AFAIK): https://github.com/pjako/shd\r\n\r\nEventually I want to provide a more generic solution as well, which doesn't require so much on python plumbing (ideally it would be a self-contained exe which takes a GLSL source files and emits different GLSL versions, HLSL and MetalSL, along with a JSON reflection-info file... and maybe optionally even a full sokol-gfx compatible C header."}}
{"actor":{"display_login":"floooh"}}