{"action":"created","issue":{"url":"https://api.github.com/repos/tomaka/glium/issues/1310","labels_url":"https://api.github.com/repos/tomaka/glium/issues/1310/labels{/name}","comments_url":"https://api.github.com/repos/tomaka/glium/issues/1310/comments","events_url":"https://api.github.com/repos/tomaka/glium/issues/1310/events","html_url":"https://github.com/tomaka/glium/issues/1310","id":112610865,"number":1310,"title":"gpgpu example doesn't run","user":{"login":"am0d","id":139484,"avatar_url":"https://avatars.githubusercontent.com/u/139484?v=3","gravatar_id":"","url":"https://api.github.com/users/am0d","html_url":"https://github.com/am0d","followers_url":"https://api.github.com/users/am0d/followers","following_url":"https://api.github.com/users/am0d/following{/other_user}","gists_url":"https://api.github.com/users/am0d/gists{/gist_id}","starred_url":"https://api.github.com/users/am0d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/am0d/subscriptions","organizations_url":"https://api.github.com/users/am0d/orgs","repos_url":"https://api.github.com/users/am0d/repos","events_url":"https://api.github.com/users/am0d/events{/privacy}","received_events_url":"https://api.github.com/users/am0d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-21T15:06:59Z","updated_at":"2015-11-09T15:29:19Z","closed_at":null,"body":"I get the following output when I try executing the compute shader example:\r\n\r\n    thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: CompilationError(\"0(5) : error C0000: syntax error, unexpected \\';\\', expecting \\\"::\\\" at token \\\";\\\"\\n\")', ../src/libcore\\result.rs:731\r\n    Process didn't exit successfully: `target\\debug\\examples\\gpgpu.exe` (exit code: 101)\r\n\r\nI can't tell if this is due to my machine setup, or a bug in the compute shader program, since I've never worked with compute shaders before."},"comment":{"url":"https://api.github.com/repos/tomaka/glium/issues/comments/155096136","html_url":"https://github.com/tomaka/glium/issues/1310#issuecomment-155096136","issue_url":"https://api.github.com/repos/tomaka/glium/issues/1310","id":155096136,"user":{"login":"luxvio","id":170294,"avatar_url":"https://avatars.githubusercontent.com/u/170294?v=3","gravatar_id":"","url":"https://api.github.com/users/luxvio","html_url":"https://github.com/luxvio","followers_url":"https://api.github.com/users/luxvio/followers","following_url":"https://api.github.com/users/luxvio/following{/other_user}","gists_url":"https://api.github.com/users/luxvio/gists{/gist_id}","starred_url":"https://api.github.com/users/luxvio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxvio/subscriptions","organizations_url":"https://api.github.com/users/luxvio/orgs","repos_url":"https://api.github.com/users/luxvio/repos","events_url":"https://api.github.com/users/luxvio/events{/privacy}","received_events_url":"https://api.github.com/users/luxvio/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T15:29:19Z","updated_at":"2015-11-09T15:29:19Z","body":"Question: can I make a PR making the workaround with a comment explaining it?\r\nalso ... there's  warnings on unused results:\r\n\r\n```\r\nsrc/texture/any.rs:1296:9: 1296:96 warning: unused result which must be used, #[warn(unused_must_use)] on by default\r\nsrc/texture/any.rs:1296         ops::read(&mut ctxt, &fbo::RegularAttachment::Texture(*self), &rect, &mut data, false);\r\n                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/texture/any.rs:1314:9: 1314:91 warning: unused result which must be used, #[warn(unused_must_use)] on by default\r\nsrc/texture/any.rs:1314         ops::read(&mut ctxt, &fbo::RegularAttachment::Texture(*self), &rect, dest, false);\r\n                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/context/mod.rs:472:9: 473:26 warning: unused result which must be used, #[warn(unused_must_use)] on by default\r\nsrc/context/mod.rs:472         ops::read(&mut ctxt, ops::Source::DefaultFramebuffer(gl::FRONT_LEFT), &rect, &mut data,\r\n```\r\nignoring the result is intended behavior or WIP? I wasn't sure if I could also include a `let _ = [snip]`  or if writing a custom error/returning result would be more appropiate.\r\n\r\nTy  :D"}}