{"action":"closed","issue":{"url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/342","repository_url":"https://api.github.com/repos/decaf-emu/decaf-emu","labels_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/342/comments","events_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/342/events","html_url":"https://github.com/decaf-emu/decaf-emu/issues/342","id":172440463,"number":342,"title":"Should CB_BLEND_{RED,...} divide by 255?","user":{"login":"achurch","id":6619925,"avatar_url":"https://avatars.githubusercontent.com/u/6619925?v=3","gravatar_id":"","url":"https://api.github.com/users/achurch","html_url":"https://github.com/achurch","followers_url":"https://api.github.com/users/achurch/followers","following_url":"https://api.github.com/users/achurch/following{/other_user}","gists_url":"https://api.github.com/users/achurch/gists{/gist_id}","starred_url":"https://api.github.com/users/achurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achurch/subscriptions","organizations_url":"https://api.github.com/users/achurch/orgs","repos_url":"https://api.github.com/users/achurch/repos","events_url":"https://api.github.com/users/achurch/events{/privacy}","received_events_url":"https://api.github.com/users/achurch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T12:30:33Z","updated_at":"2016-08-22T12:41:30Z","closed_at":"2016-08-22T12:41:30Z","body":"Currently, the GL handlers for writes to `CB_BLEND_{RED,GREEN,BLUE,ALPHA}` divide the register values by 255. This seems odd since the registers are already floating-point, and (at least in the decaf implementation) GX2SetBlendConstantColor() sends its float arguments directly to the registers without any sort of multiplication. I don't have a test case, but maybe someone can look into this and see whether the current code is correct or not?"}}
{"actor":{"display_login":"exjam"}}