Code cleanup
This commit is contained in:
parent
5c4ef25153
commit
ed35ba7b71
3 changed files with 0 additions and 19 deletions
|
|
@ -77,13 +77,6 @@ public:
|
||||||
VkDescriptorSet descriptorSet;
|
VkDescriptorSet descriptorSet;
|
||||||
VkDescriptorSetLayout descriptorSetLayout;
|
VkDescriptorSetLayout descriptorSetLayout;
|
||||||
|
|
||||||
// Device features to be enabled for this example
|
|
||||||
virtual VkPhysicalDeviceFeatures getEnabledFeatures()
|
|
||||||
{
|
|
||||||
VkPhysicalDeviceFeatures enabledFeatures{};
|
|
||||||
return enabledFeatures;
|
|
||||||
}
|
|
||||||
|
|
||||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
zoom = -1.25f;
|
zoom = -1.25f;
|
||||||
|
|
|
||||||
|
|
@ -189,8 +189,6 @@ public:
|
||||||
|
|
||||||
threadData.resize(numThreads);
|
threadData.resize(numThreads);
|
||||||
|
|
||||||
createSetupCommandBuffer();
|
|
||||||
|
|
||||||
float maxX = std::floor(std::sqrt(numThreads * numObjectsPerThread));
|
float maxX = std::floor(std::sqrt(numThreads * numObjectsPerThread));
|
||||||
uint32_t posX = 0;
|
uint32_t posX = 0;
|
||||||
uint32_t posZ = 0;
|
uint32_t posZ = 0;
|
||||||
|
|
|
||||||
|
|
@ -65,16 +65,6 @@ public:
|
||||||
VkPipeline toon;
|
VkPipeline toon;
|
||||||
} pipelines;
|
} pipelines;
|
||||||
|
|
||||||
// Device features to be enabled for this example
|
|
||||||
virtual VkPhysicalDeviceFeatures getEnabledFeatures()
|
|
||||||
{
|
|
||||||
//todo...
|
|
||||||
VkPhysicalDeviceFeatures enabledFeatures{};
|
|
||||||
enabledFeatures.fillModeNonSolid = VK_TRUE;
|
|
||||||
enabledFeatures.wideLines = VK_TRUE;
|
|
||||||
return enabledFeatures;
|
|
||||||
}
|
|
||||||
|
|
||||||
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
zoom = -10.5f;
|
zoom = -10.5f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue