{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/776","repository_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs","labels_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/776/comments","events_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/776/events","html_url":"https://github.com/KhronosGroup/Vulkan-Docs/issues/776","id":354541585,"node_id":"MDU6SXNzdWUzNTQ1NDE1ODU=","number":776,"title":"`VkBufferImageCopy` has no equivalent to GL_UNPACK_ALIGNMENT","user":{"login":"MarkCallow","id":2244683,"node_id":"MDQ6VXNlcjIyNDQ2ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/2244683?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkCallow","html_url":"https://github.com/MarkCallow","followers_url":"https://api.github.com/users/MarkCallow/followers","following_url":"https://api.github.com/users/MarkCallow/following{/other_user}","gists_url":"https://api.github.com/users/MarkCallow/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkCallow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkCallow/subscriptions","organizations_url":"https://api.github.com/users/MarkCallow/orgs","repos_url":"https://api.github.com/users/MarkCallow/repos","events_url":"https://api.github.com/users/MarkCallow/events{/privacy}","received_events_url":"https://api.github.com/users/MarkCallow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T02:01:33Z","updated_at":"2018-08-28T08:56:04Z","closed_at":null,"author_association":"NONE","body":"`GL_UNPACK_ALIGNMENT` allows the number of _bytes_ in rows of incoming image data to be padded to a multiple of some value. The default value in OpenGL is 4 which means there are a lot of texture images out there with rows padded to 4 bytes. `VkBufferImageCopy` does not have any equivalent functionality which makes loading formats whose texel size is < 4 bytes and whose width is such that the number of bytes in a row is not a multiple of 4, awkward.\r\n\r\nIs this a deliberate or accidental oversight. VkBufferImageCopy` has equivalents for most of the other unpack parameters. If accidental, please look into adding this functionality."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/comments/416505178","html_url":"https://github.com/KhronosGroup/Vulkan-Docs/issues/776#issuecomment-416505178","issue_url":"https://api.github.com/repos/KhronosGroup/Vulkan-Docs/issues/776","id":416505178,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjUwNTE3OA==","user":{"login":"ratchetfreak","id":16795580,"node_id":"MDQ6VXNlcjE2Nzk1NTgw","avatar_url":"https://avatars0.githubusercontent.com/u/16795580?v=4","gravatar_id":"","url":"https://api.github.com/users/ratchetfreak","html_url":"https://github.com/ratchetfreak","followers_url":"https://api.github.com/users/ratchetfreak/followers","following_url":"https://api.github.com/users/ratchetfreak/following{/other_user}","gists_url":"https://api.github.com/users/ratchetfreak/gists{/gist_id}","starred_url":"https://api.github.com/users/ratchetfreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratchetfreak/subscriptions","organizations_url":"https://api.github.com/users/ratchetfreak/orgs","repos_url":"https://api.github.com/users/ratchetfreak/repos","events_url":"https://api.github.com/users/ratchetfreak/events{/privacy}","received_events_url":"https://api.github.com/users/ratchetfreak/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T08:56:04Z","updated_at":"2018-08-28T08:56:04Z","author_association":"NONE","body":"That's what the bufferRowLength field is about. That lets you have row strides that are not equal to width*texelSize"}}
{"actor":{"display_login":"ratchetfreak"}}