{"action":"created","issue":{"url":"https://api.github.com/repos/benvanik/xenia/issues/600","repository_url":"https://api.github.com/repos/benvanik/xenia","labels_url":"https://api.github.com/repos/benvanik/xenia/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/benvanik/xenia/issues/600/comments","events_url":"https://api.github.com/repos/benvanik/xenia/issues/600/events","html_url":"https://github.com/benvanik/xenia/issues/600","id":165720076,"number":600,"title":"Vulkan Shader Cache/Precompiled Database","user":{"login":"jackchentwkh","id":16368365,"avatar_url":"https://avatars.githubusercontent.com/u/16368365?v=3","gravatar_id":"","url":"https://api.github.com/users/jackchentwkh","html_url":"https://github.com/jackchentwkh","followers_url":"https://api.github.com/users/jackchentwkh/followers","following_url":"https://api.github.com/users/jackchentwkh/following{/other_user}","gists_url":"https://api.github.com/users/jackchentwkh/gists{/gist_id}","starred_url":"https://api.github.com/users/jackchentwkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackchentwkh/subscriptions","organizations_url":"https://api.github.com/users/jackchentwkh/orgs","repos_url":"https://api.github.com/users/jackchentwkh/repos","events_url":"https://api.github.com/users/jackchentwkh/events{/privacy}","received_events_url":"https://api.github.com/users/jackchentwkh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benvanik/xenia/labels/gpu","name":"gpu","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-15T06:26:47Z","updated_at":"2016-07-23T17:56:06Z","closed_at":null,"body":"Currently some games are playable but with graphical glitches, most of those graphical issues are related to HLSL to SPIR-V translation. And the translation also takes meaningful time which results in a lag up to minutes or even longer. \r\n\r\nThe wii emulator Dolphin introduced a shader database, when a game was played, a translated shader was stored in the database, so when you play the game again the emulator will pickup the translated shader from the database which saves the CPU time and reduce the lag. \r\n\r\nI hope that xenia can someday implement this shader database to reduce the lags introduced by shader translation. Together with the shader dump function, maybe we can refine the shader play ground, so for those mistranslated shaders, user can manually check the source shader and the translated SPIR-V shader, then modify the errors by hand editing or by 3rd party tools and then run xenia again to see whether the modified shader's result. \r\n\r\nwith this approach, we could improve the xenia's performance, and debug/improve the shader translation via those errors we picked up in the process. \r\n\r\nanyone with me?"},"comment":{"url":"https://api.github.com/repos/benvanik/xenia/issues/comments/234731385","html_url":"https://github.com/benvanik/xenia/issues/600#issuecomment-234731385","issue_url":"https://api.github.com/repos/benvanik/xenia/issues/600","id":234731385,"user":{"login":"RenegadeSaiyan","id":13460618,"avatar_url":"https://avatars.githubusercontent.com/u/13460618?v=3","gravatar_id":"","url":"https://api.github.com/users/RenegadeSaiyan","html_url":"https://github.com/RenegadeSaiyan","followers_url":"https://api.github.com/users/RenegadeSaiyan/followers","following_url":"https://api.github.com/users/RenegadeSaiyan/following{/other_user}","gists_url":"https://api.github.com/users/RenegadeSaiyan/gists{/gist_id}","starred_url":"https://api.github.com/users/RenegadeSaiyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RenegadeSaiyan/subscriptions","organizations_url":"https://api.github.com/users/RenegadeSaiyan/orgs","repos_url":"https://api.github.com/users/RenegadeSaiyan/repos","events_url":"https://api.github.com/users/RenegadeSaiyan/events{/privacy}","received_events_url":"https://api.github.com/users/RenegadeSaiyan/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T17:56:06Z","updated_at":"2016-07-23T17:56:06Z","body":"Because right now Xenia is crap on AMD\r\n"}}
{"actor":{"display_login":"RenegadeSaiyan"}}