Skip to content

Commit

Permalink
Additional type mappings for extension code file generator
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Oct 25, 2023
1 parent 8fda439 commit 23b3561
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/deviceExtensionsFileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,15 @@ public function generateProperties2CodeBlock($extension)
$qtype = "QString::fromStdString(vulkanResources::conformanceVersionKHRString(extProps.$name))";
break;
case 'VkDeviceSize':
case 'int64_t':
case 'uint64_t':
case 'VkPhysicalDeviceSchedulingControlsFlagsARM':
case 'VkMemoryDecompressionMethodFlagsNV':
$qtype = "QVariant::fromValue(extProps.$name)";
break;
case 'VkConformanceVersion':
$qtype = "QString::fromStdString(vulkanResources::conformanceVersionKHRString(extProps.$name))";
break;
default:
$qtype = "QVariant(extProps.$name)";
}
Expand Down

0 comments on commit 23b3561

Please sign in to comment.