{"action":"created","issue":{"url":"https://api.github.com/repos/citra-emu/citra/issues/1478","repository_url":"https://api.github.com/repos/citra-emu/citra","labels_url":"https://api.github.com/repos/citra-emu/citra/issues/1478/labels{/name}","comments_url":"https://api.github.com/repos/citra-emu/citra/issues/1478/comments","events_url":"https://api.github.com/repos/citra-emu/citra/issues/1478/events","html_url":"https://github.com/citra-emu/citra/pull/1478","id":139561916,"number":1478,"title":"Fix attribute mapping in vs debugger","user":{"login":"JayFoxRox","id":360330,"avatar_url":"https://avatars.githubusercontent.com/u/360330?v=3","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,"milestone":null,"comments":3,"created_at":"2016-03-09T12:20:38Z","updated_at":"2016-03-10T04:05:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/1478","html_url":"https://github.com/citra-emu/citra/pull/1478","diff_url":"https://github.com/citra-emu/citra/pull/1478.diff","patch_url":"https://github.com/citra-emu/citra/pull/1478.patch"},"body":"As documented here: https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_ATTRIBUTES_PERMUTATION_LOW\r\n\r\n```\r\nGPUREG_VSH_NUM_ATTR\t242\t0001\t00000004\t\r\nGPUREG_VSH_ATTRIBUTES_PERMUTATION_LOW\t2bb\t1111\t00076310\t\r\nGPUREG_VSH_ATTRIBUTES_PERMUTATION_HIGH\t2bc\t1111\t00000000\t\r\n```\r\n\r\nRegs mean: v7=attr4 v6=attr3 v3=attr2 v1=attr1 v0=attr0\r\nCitra would show: v2=attr3 v1=attr1 v0=attr0\r\n\r\n(= 3 registers instead 4+1 [because some widgets are hidden by accident] and also mapped the wrong way around (\"v2 = attribue 3\" instead \"v3 = attribute 2\"))\r\n\r\nThis PR fixes this bug."},"comment":{"url":"https://api.github.com/repos/citra-emu/citra/issues/comments/194653706","html_url":"https://github.com/citra-emu/citra/pull/1478#issuecomment-194653706","issue_url":"https://api.github.com/repos/citra-emu/citra/issues/1478","id":194653706,"user":{"login":"Subv","id":357072,"avatar_url":"https://avatars.githubusercontent.com/u/357072?v=3","gravatar_id":"","url":"https://api.github.com/users/Subv","html_url":"https://github.com/Subv","followers_url":"https://api.github.com/users/Subv/followers","following_url":"https://api.github.com/users/Subv/following{/other_user}","gists_url":"https://api.github.com/users/Subv/gists{/gist_id}","starred_url":"https://api.github.com/users/Subv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Subv/subscriptions","organizations_url":"https://api.github.com/users/Subv/orgs","repos_url":"https://api.github.com/users/Subv/repos","events_url":"https://api.github.com/users/Subv/events{/privacy}","received_events_url":"https://api.github.com/users/Subv/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T04:05:52Z","updated_at":"2016-03-10T04:05:52Z","body":"LGTM"}}