{"comment":{"url":"https://api.github.com/repos/philipl/libplacebo/comments/31351364","html_url":"https://github.com/philipl/libplacebo/commit/79dca0c0c31cf3486614717a355ce2140b9eb684#commitcomment-31351364","id":31351364,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMTM1MTM2NA==","user":{"login":"philipl","id":512286,"node_id":"MDQ6VXNlcjUxMjI4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/512286?v=4","gravatar_id":"","url":"https://api.github.com/users/philipl","html_url":"https://github.com/philipl","followers_url":"https://api.github.com/users/philipl/followers","following_url":"https://api.github.com/users/philipl/following{/other_user}","gists_url":"https://api.github.com/users/philipl/gists{/gist_id}","starred_url":"https://api.github.com/users/philipl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipl/subscriptions","organizations_url":"https://api.github.com/users/philipl/orgs","repos_url":"https://api.github.com/users/philipl/repos","events_url":"https://api.github.com/users/philipl/events{/privacy}","received_events_url":"https://api.github.com/users/philipl/received_events","type":"User","site_admin":false},"position":8,"line":911,"path":"src/include/libplacebo/gpu.h","commit_id":"79dca0c0c31cf3486614717a355ce2140b9eb684","created_at":"2018-11-19T15:07:45Z","updated_at":"2018-11-19T15:07:45Z","author_association":"OWNER","body":"1. You are right about reusing the caps. We technically need two kinds of caps. I will adjust.\r\n2. The option I was thinking of was your option 2. We'd still enumerate all possible handle types but the client is only allowed to choose one when creating a texture/buffer/semaphore. This then works with a union.\r\n\r\nI am not strongly opinionated on it but I do think the multiple-handles-at-once use-case doesn't really exist."}}
{"actor":{"display_login":"philipl"}}