1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-30 22:52:14 +01:00

added unsupported messages

This commit is contained in:
Unknown 2020-02-24 21:56:14 +00:00
parent 15d881e3b1
commit 2dfdfcb666

View File

@ -28,12 +28,18 @@ VKAPI_ATTR VkResult VKAPI_CALL rpi_vkCreateQueryPool(
_queryPool* qp = ALLOCATE(sizeof(_queryPool), 1, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); _queryPool* qp = ALLOCATE(sizeof(_queryPool), 1, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if(pCreateInfo->queryType == VK_QUERY_TYPE_OCCLUSION || if(pCreateInfo->queryType == VK_QUERY_TYPE_OCCLUSION)
pCreateInfo->queryType == VK_QUERY_TYPE_PIPELINE_STATISTICS ||
pCreateInfo->queryType == VK_QUERY_TYPE_TIMESTAMP)
{ {
UNSUPPORTED(VK_QUERY_TYPE_OCCLUSION); UNSUPPORTED(VK_QUERY_TYPE_OCCLUSION);
} }
else if(pCreateInfo->queryType == VK_QUERY_TYPE_PIPELINE_STATISTICS)
{
UNSUPPORTED(VK_QUERY_TYPE_PIPELINE_STATISTICS);
}
else if(pCreateInfo->queryType == VK_QUERY_TYPE_TIMESTAMP)
{
UNSUPPORTED(VK_QUERY_TYPE_TIMESTAMP);
}
else if(pCreateInfo->queryType == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR) else if(pCreateInfo->queryType == VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR)
{ {
qp->queryCount = pCreateInfo->queryCount; qp->queryCount = pCreateInfo->queryCount;
@ -178,5 +184,5 @@ VKAPI_ATTR void VKAPI_CALL rpi_vkCmdWriteTimestamp(
VkQueryPool queryPool, VkQueryPool queryPool,
uint32_t query) uint32_t query)
{ {
//TODO UNSUPPORTED(VK_QUERY_TYPE_TIMESTAMP);
} }