{"action":"closed","issue":{"url":"https://api.github.com/repos/aras-p/glsl-optimizer/issues/84","labels_url":"https://api.github.com/repos/aras-p/glsl-optimizer/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/aras-p/glsl-optimizer/issues/84/comments","events_url":"https://api.github.com/repos/aras-p/glsl-optimizer/issues/84/events","html_url":"https://github.com/aras-p/glsl-optimizer/issues/84","id":55641246,"number":84,"title":"#version 130 2d array texture reads get converted to proj","user":{"login":"clbr","id":790333,"avatar_url":"https://avatars.githubusercontent.com/u/790333?v=3","gravatar_id":"","url":"https://api.github.com/users/clbr","html_url":"https://github.com/clbr","followers_url":"https://api.github.com/users/clbr/followers","following_url":"https://api.github.com/users/clbr/following{/other_user}","gists_url":"https://api.github.com/users/clbr/gists{/gist_id}","starred_url":"https://api.github.com/users/clbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clbr/subscriptions","organizations_url":"https://api.github.com/users/clbr/orgs","repos_url":"https://api.github.com/users/clbr/repos","events_url":"https://api.github.com/users/clbr/events{/privacy}","received_events_url":"https://api.github.com/users/clbr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T16:38:01Z","updated_at":"2015-08-28T07:38:58Z","closed_at":"2015-08-28T07:38:58Z","body":"Input:\r\n```\r\n#version 130\r\n\r\nuniform sampler2DArray tilemap;\r\n\r\nvoid main() {\r\n\r\n        vec4 col = textureLod(tilemap, vec3(0.0), 0.0);\r\n\r\n        gl_FragColor = col;\r\n}\r\n```\r\n\r\nOutput:\r\n```\r\n#version 130\r\nuniform sampler2DArray tilemap;\r\nvoid main ()\r\n{\r\n  gl_FragColor = textureProjLod (tilemap, vec3(0.0, 0.0, 0.0), 0.0);\r\n}\r\n```\r\n\r\nIt's obviously wrong, and won't even compile."}}