{"action":"created","issue":{"url":"https://api.github.com/repos/gfx-rs/gfx/issues/2069","repository_url":"https://api.github.com/repos/gfx-rs/gfx","labels_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2069/labels{/name}","comments_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2069/comments","events_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2069/events","html_url":"https://github.com/gfx-rs/gfx/issues/2069","id":326609442,"node_id":"MDU6SXNzdWUzMjY2MDk0NDI=","number":2069,"title":"Coherent memory on Metal","user":{"login":"kvark","id":107301,"node_id":"MDQ6VXNlcjEwNzMwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/107301?v=4","gravatar_id":"","url":"https://api.github.com/users/kvark","html_url":"https://github.com/kvark","followers_url":"https://api.github.com/users/kvark/followers","following_url":"https://api.github.com/users/kvark/following{/other_user}","gists_url":"https://api.github.com/users/kvark/gists{/gist_id}","starred_url":"https://api.github.com/users/kvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvark/subscriptions","organizations_url":"https://api.github.com/users/kvark/orgs","repos_url":"https://api.github.com/users/kvark/repos","events_url":"https://api.github.com/users/kvark/events{/privacy}","received_events_url":"https://api.github.com/users/kvark/received_events","type":"User","site_admin":false},"labels":[{"id":333959535,"node_id":"MDU6TGFiZWwzMzM5NTk1MzU=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/backend:%20Metal","name":"backend: Metal","color":"f7c6c7","default":false},{"id":937618366,"node_id":"MDU6TGFiZWw5Mzc2MTgzNjY=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/client:%20CTS","name":"client: CTS","color":"a666c1","default":false},{"id":114182331,"node_id":"MDU6TGFiZWwxMTQxODIzMzE=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/difficulty:%20average","name":"difficulty: average","color":"fbca04","default":false},{"id":112682490,"node_id":"MDU6TGFiZWwxMTI2ODI0OTA=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/status:%20ready%20for%20work","name":"status: ready for work","color":"ededed","default":false},{"id":111377151,"node_id":"MDU6TGFiZWwxMTEzNzcxNTE=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/type:%20feature","name":"type: feature","color":"006b75","default":false},{"id":177036962,"node_id":"MDU6TGFiZWwxNzcwMzY5NjI=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/value:%20medium","name":"value: medium","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T17:40:52Z","updated_at":"2018-05-31T20:48:56Z","closed_at":null,"author_association":"MEMBER","body":"Here is the strategy (discussed with VkPI):\r\n  - have one shared buffer backing a coherent memory allocation\r\n  - represent buffers in coherent memory as just a range\r\n  - represent textures as aliases on that memory buffer. The restrictions put in place for the mappable textures (linear tiling, 1D, no mipmaps) effectively make it compatible with buffer reinterpretation."},"comment":{"url":"https://api.github.com/repos/gfx-rs/gfx/issues/comments/393674887","html_url":"https://github.com/gfx-rs/gfx/issues/2069#issuecomment-393674887","issue_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2069","id":393674887,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzY3NDg4Nw==","user":{"login":"kvark","id":107301,"node_id":"MDQ6VXNlcjEwNzMwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/107301?v=4","gravatar_id":"","url":"https://api.github.com/users/kvark","html_url":"https://github.com/kvark","followers_url":"https://api.github.com/users/kvark/followers","following_url":"https://api.github.com/users/kvark/following{/other_user}","gists_url":"https://api.github.com/users/kvark/gists{/gist_id}","starred_url":"https://api.github.com/users/kvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvark/subscriptions","organizations_url":"https://api.github.com/users/kvark/orgs","repos_url":"https://api.github.com/users/kvark/repos","events_url":"https://api.github.com/users/kvark/events{/privacy}","received_events_url":"https://api.github.com/users/kvark/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T20:48:56Z","updated_at":"2018-05-31T20:48:56Z","author_association":"MEMBER","body":"We'll have to disable this, unfortunately, for now. The coherency guarantees of `MTLStorageModeShared` for buffers are not clearly specified anywhere in Metal documentation, and we see intermittent transfer failures associated with this memory type :("}}
{"actor":{"display_login":"kvark"}}