{"action":"opened","issue":{"url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/230","repository_url":"https://api.github.com/repos/decaf-emu/decaf-emu","labels_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/230/comments","events_url":"https://api.github.com/repos/decaf-emu/decaf-emu/issues/230/events","html_url":"https://github.com/decaf-emu/decaf-emu/issues/230","id":168317079,"number":230,"title":"Implement GET_GRADIENTS_H and GET_GRADIENTS_V latte instructions.","user":{"login":"exjam","id":1302758,"avatar_url":"https://avatars.githubusercontent.com/u/1302758?v=3","gravatar_id":"","url":"https://api.github.com/users/exjam","html_url":"https://github.com/exjam","followers_url":"https://api.github.com/users/exjam/followers","following_url":"https://api.github.com/users/exjam/following{/other_user}","gists_url":"https://api.github.com/users/exjam/gists{/gist_id}","starred_url":"https://api.github.com/users/exjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exjam/subscriptions","organizations_url":"https://api.github.com/users/exjam/orgs","repos_url":"https://api.github.com/users/exjam/repos","events_url":"https://api.github.com/users/exjam/events{/privacy}","received_events_url":"https://api.github.com/users/exjam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-29T12:46:32Z","updated_at":"2016-07-29T12:46:32Z","closed_at":null,"body":"Not sure what these do tbh, might be related to GLSL's textureGrad.\r\n\r\nAMD's doc for GET_GRADIENTS_H  says:\r\n\"Retrieve slopes relative to horizontal: X = dx/dh, Y = dy/dh, Z = dz/dh, W = dw/dh.\"\r\n\r\nGET_GRADIENTS_V:\r\n\"Retrieve slopes relative to vertical: X = dx/dv, Y = dy/dv, Z = dz/dv, W = dw/dv\"\r\n\r\nExample from Super Mario 3D World:\r\n```\r\n[critical:9236] GLSL translate exception: Unimplemented TEX instruction 7 GET_GRADIENTS_H\r\nDisassembly:\r\n00 TEX ADDR(192) CNT(5)\r\n\r\n    0    SAMPLE          R9.xy__, R4.xy0x, t2, s2\r\n\r\n    1    SAMPLE          R4.xy__, R4.zw0z, t5, s5\r\n\r\n    2    GET_GRADIENTS_H R10.xy__, R7.xyxx, t0, s0\r\n\r\n    3    GET_GRADIENTS_V R11.xy__, R7.xyxx, t0, s0\r\n\r\n    4    SAMPLE          R0.xyzw, R0.xy0x, t0, s0\r\n```"}}
{"actor":{"display_login":"exjam"}}