{"action":"closed","issue":{"url":"https://api.github.com/repos/turol/smaaDemo/issues/2","labels_url":"https://api.github.com/repos/turol/smaaDemo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/turol/smaaDemo/issues/2/comments","events_url":"https://api.github.com/repos/turol/smaaDemo/issues/2/events","html_url":"https://github.com/turol/smaaDemo/issues/2","id":119349314,"number":2,"title":"Shader fails to compile on current radeon/mesa git","user":{"login":"EoD","id":293499,"avatar_url":"https://avatars.githubusercontent.com/u/293499?v=3","gravatar_id":"","url":"https://api.github.com/users/EoD","html_url":"https://github.com/EoD","followers_url":"https://api.github.com/users/EoD/followers","following_url":"https://api.github.com/users/EoD/following{/other_user}","gists_url":"https://api.github.com/users/EoD/gists{/gist_id}","starred_url":"https://api.github.com/users/EoD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EoD/subscriptions","organizations_url":"https://api.github.com/users/EoD/orgs","repos_url":"https://api.github.com/users/EoD/repos","events_url":"https://api.github.com/users/EoD/events{/privacy}","received_events_url":"https://api.github.com/users/EoD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-29T09:56:36Z","updated_at":"2015-11-29T15:11:16Z","closed_at":"2015-11-29T15:11:15Z","body":"When I try to execute the program (after removing the icf from LDFLAGS), the program crashes:\r\n```\r\n$ ./binaries/smaaDemo-bin\r\nNumber of displays detected: 1\r\nNumber of display modes for display 0 : 22\r\nDisplay mode 0 : width 1920, height 1080, BPP 24\r\nDisplay mode 1 : width 1680, height 1050, BPP 24\r\nDisplay mode 2 : width 1600, height 1200, BPP 24\r\nDisplay mode 3 : width 1440, height 900, BPP 24\r\nDisplay mode 4 : width 1400, height 1050, BPP 24\r\nDisplay mode 5 : width 1280, height 1024, BPP 24\r\nDisplay mode 6 : width 1280, height 1024, BPP 24\r\nDisplay mode 7 : width 1280, height 960, BPP 24\r\nDisplay mode 8 : width 1152, height 864, BPP 24\r\nDisplay mode 9 : width 1024, height 768, BPP 24\r\nDisplay mode 10 : width 1024, height 768, BPP 24\r\nDisplay mode 11 : width 1024, height 768, BPP 24\r\nDisplay mode 12 : width 832, height 624, BPP 24\r\nDisplay mode 13 : width 800, height 600, BPP 24\r\nDisplay mode 14 : width 800, height 600, BPP 24\r\nDisplay mode 15 : width 800, height 600, BPP 24\r\nDisplay mode 16 : width 800, height 600, BPP 24\r\nDisplay mode 17 : width 720, height 400, BPP 24\r\nDisplay mode 18 : width 640, height 480, BPP 24\r\nDisplay mode 19 : width 640, height 480, BPP 24\r\nDisplay mode 20 : width 640, height 480, BPP 24\r\nDisplay mode 21 : width 640, height 480, BPP 24\r\nVSync is on\r\nARB_direct_state_access found\r\nVertex array objects enabled\r\nSampler objects enabled\r\nGL vendor: \"X.Org\"\r\nGL renderer: \"Gallium 0.4 on AMD BARTS (DRM 2.43.0, LLVM 3.7.0)\"\r\nGL version: \"3.3 (Core Profile) Mesa 11.2.0-devel (git-57fc0dd)\"\r\nGLSL version: \"3.30\"\r\nshader \"fxaa.frag\" info log:\r\n0:897(16): error: no matching function for call to `textureGather(sampler2D, vec2, int)'; candidates are:\r\n0:898(16): error: no matching function for call to `textureGatherOffset(sampler2D, vec2, ivec2, int)'; candidates are:\r\n\r\ninfo log end\r\ncaught std::exception \"shader compile failed\"\r\nterminate called after throwing an instance of 'std::runtime_error'\r\n  what():  shader compile failed\r\nAborted\r\n```\r\n\r\nAccording to https://www.opengl.org/sdk/docs/man/html/textureGatherOffset.xhtml the function is only available on GLSL 4 and above.\r\n\r\nAccording to http://mesamatrix.net/, my card (using r600) should support GL_ARB_texture_gather. Why doesn't it compile?\r\nI assume there is a missing ``pushLine(\"#extension GL_ARB_texture_gather : enable\");`` somewhere.\r\n\r\nAs a fallback, could you disable FXAA on GLSL version < 4? The SMAA demo should run nevertheless."}}