{"action":"opened","issue":{"url":"https://api.github.com/repos/xqemu/xqemu/issues/29","repository_url":"https://api.github.com/repos/xqemu/xqemu","labels_url":"https://api.github.com/repos/xqemu/xqemu/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/xqemu/xqemu/issues/29/comments","events_url":"https://api.github.com/repos/xqemu/xqemu/issues/29/events","html_url":"https://github.com/xqemu/xqemu/issues/29","id":335112781,"node_id":"MDU6SXNzdWUzMzUxMTI3ODE=","number":29,"title":"GL pixel shader generator generates `dot(vec3, float)`","user":{"login":"JayFoxRox","id":360330,"node_id":"MDQ6VXNlcjM2MDMzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/360330?v=4","gravatar_id":"","url":"https://api.github.com/users/JayFoxRox","html_url":"https://github.com/JayFoxRox","followers_url":"https://api.github.com/users/JayFoxRox/followers","following_url":"https://api.github.com/users/JayFoxRox/following{/other_user}","gists_url":"https://api.github.com/users/JayFoxRox/gists{/gist_id}","starred_url":"https://api.github.com/users/JayFoxRox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayFoxRox/subscriptions","organizations_url":"https://api.github.com/users/JayFoxRox/orgs","repos_url":"https://api.github.com/users/JayFoxRox/repos","events_url":"https://api.github.com/users/JayFoxRox/events{/privacy}","received_events_url":"https://api.github.com/users/JayFoxRox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-23T16:21:31Z","updated_at":"2018-06-23T16:21:31Z","closed_at":null,"author_association":"MEMBER","body":"Generated code is like this: `r1.rgb = vec3(dot(r0.rgb, r0.a));`\r\n\r\nI'm not sure what exactly this does. I believe the dotproduct is only valid for rgb channels. \r\nWe should do hardware testing because this also violates the OpenGL spec (NV_register_combiners):\r\n\r\n>If the <portion> parameter is ALPHA, specifying a non-FALSE value for either of the parameters \\<abDotProduct> or \\<cdDotProduct>, generates an INVALID_VALUE error.\r\n\r\nA workaround can be found in https://github.com/JayFoxRox/xqemu/pull/7 , but it's probably not correct.\r\n\r\n---\r\n\r\n**Affected games:**\r\n\r\n* Mace Griffin Bounty Hunter\r\n* Tony Hawk's American Wasteland\r\n* Halo 2\r\n"}}
{"actor":{"display_login":"JayFoxRox"}}