mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Change type of loop variables from uint8_t to uint32_t.
This commit is contained in:
parent
8507dba945
commit
9142bea37e
@ -42,7 +42,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "Queue Labels:\n";
|
<< "Queue Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
||||||
@ -52,7 +52,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "CommandBuffer Labels:\n";
|
<< "CommandBuffer Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
||||||
@ -62,7 +62,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "Objects:\n";
|
<< "Objects:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "Object " << i << "\n";
|
<< "Object " << i << "\n";
|
||||||
|
@ -68,7 +68,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
if ( 0 < pCallbackData->queueLabelCount )
|
if ( 0 < pCallbackData->queueLabelCount )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "Queue Labels:\n";
|
message += std::string( "\t" ) + "Queue Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n";
|
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n";
|
||||||
}
|
}
|
||||||
@ -76,14 +76,14 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
if ( 0 < pCallbackData->cmdBufLabelCount )
|
if ( 0 < pCallbackData->cmdBufLabelCount )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "CommandBuffer Labels:\n";
|
message += std::string( "\t" ) + "CommandBuffer Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pCmdBufLabels[i].pLabelName + ">\n";
|
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pCmdBufLabels[i].pLabelName + ">\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( 0 < pCallbackData->objectCount )
|
if ( 0 < pCallbackData->objectCount )
|
||||||
{
|
{
|
||||||
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "Object " + std::to_string( i ) + "\n";
|
message += std::string( "\t" ) + "Object " + std::to_string( i ) + "\n";
|
||||||
message += std::string( "\t\t" ) + "objectType = " +
|
message += std::string( "\t\t" ) + "objectType = " +
|
||||||
|
@ -60,7 +60,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "Queue Labels:\n";
|
<< "Queue Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
||||||
@ -70,7 +70,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "CommandBuffer Labels:\n";
|
<< "CommandBuffer Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
||||||
@ -80,7 +80,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
{
|
{
|
||||||
message << "\t"
|
message << "\t"
|
||||||
<< "Objects:\n";
|
<< "Objects:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
|
||||||
{
|
{
|
||||||
message << "\t\t"
|
message << "\t\t"
|
||||||
<< "Object " << i << "\n";
|
<< "Object " << i << "\n";
|
||||||
|
@ -68,7 +68,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
if ( 0 < pCallbackData->queueLabelCount )
|
if ( 0 < pCallbackData->queueLabelCount )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "Queue Labels:\n";
|
message += std::string( "\t" ) + "Queue Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n";
|
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pQueueLabels[i].pLabelName + ">\n";
|
||||||
}
|
}
|
||||||
@ -76,14 +76,14 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugMessageFunc( VkDebugUtilsMessageSeverityFlag
|
|||||||
if ( 0 < pCallbackData->cmdBufLabelCount )
|
if ( 0 < pCallbackData->cmdBufLabelCount )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "CommandBuffer Labels:\n";
|
message += std::string( "\t" ) + "CommandBuffer Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pCmdBufLabels[i].pLabelName + ">\n";
|
message += std::string( "\t\t" ) + "labelName = <" + pCallbackData->pCmdBufLabels[i].pLabelName + ">\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( 0 < pCallbackData->objectCount )
|
if ( 0 < pCallbackData->objectCount )
|
||||||
{
|
{
|
||||||
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
|
||||||
{
|
{
|
||||||
message += std::string( "\t" ) + "Object " + std::to_string( i ) + "\n";
|
message += std::string( "\t" ) + "Object " + std::to_string( i ) + "\n";
|
||||||
message += std::string( "\t\t" ) + "objectType = " +
|
message += std::string( "\t\t" ) + "objectType = " +
|
||||||
|
@ -438,7 +438,7 @@ namespace vk
|
|||||||
{
|
{
|
||||||
std::cerr << "\t"
|
std::cerr << "\t"
|
||||||
<< "Queue Labels:\n";
|
<< "Queue Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->queueLabelCount; i++ )
|
||||||
{
|
{
|
||||||
std::cerr << "\t\t"
|
std::cerr << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pQueueLabels[i].pLabelName << ">\n";
|
||||||
@ -448,7 +448,7 @@ namespace vk
|
|||||||
{
|
{
|
||||||
std::cerr << "\t"
|
std::cerr << "\t"
|
||||||
<< "CommandBuffer Labels:\n";
|
<< "CommandBuffer Labels:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->cmdBufLabelCount; i++ )
|
||||||
{
|
{
|
||||||
std::cerr << "\t\t"
|
std::cerr << "\t\t"
|
||||||
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
<< "labelName = <" << pCallbackData->pCmdBufLabels[i].pLabelName << ">\n";
|
||||||
@ -458,7 +458,7 @@ namespace vk
|
|||||||
{
|
{
|
||||||
std::cerr << "\t"
|
std::cerr << "\t"
|
||||||
<< "Objects:\n";
|
<< "Objects:\n";
|
||||||
for ( uint8_t i = 0; i < pCallbackData->objectCount; i++ )
|
for ( uint32_t i = 0; i < pCallbackData->objectCount; i++ )
|
||||||
{
|
{
|
||||||
std::cerr << "\t\t"
|
std::cerr << "\t\t"
|
||||||
<< "Object " << i << "\n";
|
<< "Object " << i << "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user