Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Apr 25, 2024
1 parent 864c133 commit 9bc6d03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,11 @@ redist/*.zip

devdatabase.ini
/db.ini

android-build/**
tools/*.zip
tools/*.dmg
tools/*.apk
tools/*.AppImage

log.txt
5 changes: 1 addition & 4 deletions vulkanFormatInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Layer information struct
*
* Copyright (C) 2015 by Sascha Willems (www.saschawillems.de)
* Copyright (C) 2015-2024 by Sascha Willems (www.saschawillems.de)
*
* This code is free software, you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -27,9 +27,6 @@
struct VulkanFormatInfo
{
VkFormat format;
// @todo: Don't differentiate, use uint64 and combine old and new
//VkFormatProperties properties;
//VkFormatProperties3 properties3{};

uint64_t linearTilingFeatures;
uint64_t optimalTilingFeatures;
Expand Down
1 change: 0 additions & 1 deletion vulkancapsviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ bool VulkanCapsViewer::initVulkan()
QMessageBox::warning(this, tr("Error"), "Could not get function pointer for vkGetPhysicalDeviceProperties2KHR (even though extension is enabled!)\nNew features and properties won't be displayed!");
}
// Function pointers for new format properties
// @todo
vulkanContext.vkGetPhysicalDeviceFormatProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties2>(vkGetInstanceProcAddr(vulkanContext.instance, "vkGetPhysicalDeviceFormatProperties2"));
if (!vulkanContext.vkGetPhysicalDeviceFormatProperties2) {
deviceFormatProperties2Available = false;
Expand Down

0 comments on commit 9bc6d03

Please sign in to comment.