turnip: Annotate vkGetImageSubresourceLayout with tu_stub
Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
ba6bcb387c
commit
aaa59ef70c
|
@ -283,6 +283,12 @@ tu_GetImageSubresourceLayout(VkDevice _device,
|
||||||
const VkImageSubresource *pSubresource,
|
const VkImageSubresource *pSubresource,
|
||||||
VkSubresourceLayout *pLayout)
|
VkSubresourceLayout *pLayout)
|
||||||
{
|
{
|
||||||
|
tu_stub();
|
||||||
|
|
||||||
|
/* Even though this is a stub, let's avoid heisenbugs by providing
|
||||||
|
* deterministic behavior.
|
||||||
|
*/
|
||||||
|
memset(pLayout, 0, sizeof(*pLayout));
|
||||||
}
|
}
|
||||||
|
|
||||||
VkResult
|
VkResult
|
||||||
|
|
Loading…
Reference in New Issue