MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / GetImageSubresourceLayout

Function GetImageSubresourceLayout

tests/icd/test_icd.cpp:792–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790}
791
792static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource,
793 VkSubresourceLayout* pLayout) {
794 // Need safe values. Callers are computing memory offsets from pLayout, with no return code to flag failure.
795 *pLayout = VkSubresourceLayout(); // Default constructor zero values.
796}
797
798static VKAPI_ATTR void VKAPI_CALL GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) {
799 pGranularity->width = 1;

Callers 6

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected