Skip to content

Commit 500ce88

Browse files
committed
Add support for Vulkan 1.4 core entrypoints to nulldrv
Bug: b/370568136 Flag: NONE infeasible Change-Id: I06b343858dc3fe6e95e57a0ee0593c6fc64965c9
1 parent 612281d commit 500ce88

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

vulkan/nulldrv/null_driver.cpp

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,69 @@ VkResult SetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objec
17671767
return VK_SUCCESS;
17681768
}
17691769

1770+
void GetRenderingAreaGranularity(VkDevice device, const VkRenderingAreaInfo* pRenderingAreaInfo, VkExtent2D* pGranularity) {
1771+
}
1772+
1773+
void CmdPushDescriptorSet(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites) {
1774+
}
1775+
1776+
void CmdPushDescriptorSetWithTemplate(VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void* pData) {
1777+
}
1778+
1779+
void CmdSetLineStipple(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern) {
1780+
}
1781+
1782+
void CmdBindIndexBuffer2(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkIndexType indexType) {
1783+
}
1784+
1785+
VkResult CopyMemoryToImage(VkDevice device, const VkCopyMemoryToImageInfo* pCopyMemoryToImageInfo) {
1786+
return VK_SUCCESS;
1787+
}
1788+
1789+
VkResult CopyImageToMemory(VkDevice device, const VkCopyImageToMemoryInfo* pCopyImageToMemoryInfo) {
1790+
return VK_SUCCESS;
1791+
}
1792+
1793+
VkResult CopyImageToImage(VkDevice device, const VkCopyImageToImageInfo* pCopyImageToImageInfo) {
1794+
return VK_SUCCESS;
1795+
}
1796+
1797+
VkResult TransitionImageLayout(VkDevice device, uint32_t transitionCount, const VkHostImageLayoutTransitionInfo* pTransitions) {
1798+
return VK_SUCCESS;
1799+
}
1800+
1801+
void GetImageSubresourceLayout2(VkDevice device, VkImage image, const VkImageSubresource2* pSubresource, VkSubresourceLayout2* pLayout) {
1802+
}
1803+
1804+
void GetDeviceImageSubresourceLayout(VkDevice device, const VkDeviceImageSubresourceInfo* pInfo, VkSubresourceLayout2* pLayout) {
1805+
}
1806+
1807+
VkResult MapMemory2(VkDevice device, const VkMemoryMapInfo* pMemoryMapInfo, void** ppData) {
1808+
return VK_SUCCESS;
1809+
}
1810+
1811+
VkResult UnmapMemory2(VkDevice device, const VkMemoryUnmapInfo* pMemoryUnmapInfo) {
1812+
return VK_SUCCESS;
1813+
}
1814+
1815+
void CmdBindDescriptorSets2(VkCommandBuffer commandBuffer, const VkBindDescriptorSetsInfo* pBindDescriptorSetsInfo) {
1816+
}
1817+
1818+
void CmdPushConstants2(VkCommandBuffer commandBuffer, const VkPushConstantsInfo* pPushConstantsInfo) {
1819+
}
1820+
1821+
void CmdPushDescriptorSet2(VkCommandBuffer commandBuffer, const VkPushDescriptorSetInfo* pPushDescriptorSetInfo) {
1822+
}
1823+
1824+
void CmdPushDescriptorSetWithTemplate2(VkCommandBuffer commandBuffer, const VkPushDescriptorSetWithTemplateInfo* pPushDescriptorSetWithTemplateInfo) {
1825+
}
1826+
1827+
void CmdSetRenderingAttachmentLocations(VkCommandBuffer commandBuffer, const VkRenderingAttachmentLocationInfo* pLocationInfo) {
1828+
}
1829+
1830+
void CmdSetRenderingInputAttachmentIndices(VkCommandBuffer commandBuffer, const VkRenderingInputAttachmentIndexInfo* pInputAttachmentIndexInfo) {
1831+
}
1832+
17701833
#pragma clang diagnostic pop
17711834
// clang-format on
17721835

0 commit comments

Comments
 (0)