Skip to content

Commit

Permalink
Added vulkan_hash.hpp
Browse files Browse the repository at this point in the history
- No need for `using`, since all declarations are template specialisations of existing `std` objects
  • Loading branch information
sharadhr committed Jun 20, 2023
1 parent 9582cd1 commit ce1b65e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ module;
#include <vulkan/vulkan.hpp>
#include <vulkan/vulkan_extension_inspection.hpp>
#include <vulkan/vulkan_format_traits.hpp>
#include <vulkan/vulkan_hash.hpp>
#include <vulkan/vulkan_raii.hpp>

export module ${api};
Expand Down
18 changes: 18 additions & 0 deletions vulkan/vulkan.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module;
#include <vulkan/vulkan.hpp>
#include <vulkan/vulkan_extension_inspection.hpp>
#include <vulkan/vulkan_format_traits.hpp>
#include <vulkan/vulkan_hash.hpp>
#include <vulkan/vulkan_raii.hpp>

export module vulkan;
Expand Down Expand Up @@ -660,6 +661,9 @@ export namespace VULKAN_HPP_NAMESPACE
using VULKAN_HPP_NAMESPACE::IndirectStateFlagBitsNV;
using VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV;

//=== VK_EXT_depth_bias_control ===
using VULKAN_HPP_NAMESPACE::DepthBiasRepresentationEXT;

//=== VK_EXT_device_memory_report ===
using VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT;
using VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagBitsEXT;
Expand Down Expand Up @@ -2055,6 +2059,11 @@ export namespace VULKAN_HPP_NAMESPACE
using VULKAN_HPP_NAMESPACE::CommandBufferInheritanceRenderPassTransformInfoQCOM;
using VULKAN_HPP_NAMESPACE::RenderPassTransformBeginInfoQCOM;

//=== VK_EXT_depth_bias_control ===
using VULKAN_HPP_NAMESPACE::DepthBiasInfoEXT;
using VULKAN_HPP_NAMESPACE::DepthBiasRepresentationInfoEXT;
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDepthBiasControlFeaturesEXT;

//=== VK_EXT_device_memory_report ===
using VULKAN_HPP_NAMESPACE::DeviceDeviceMemoryReportCreateInfoEXT;
using VULKAN_HPP_NAMESPACE::DeviceMemoryReportCallbackDataEXT;
Expand Down Expand Up @@ -2491,6 +2500,15 @@ export namespace VULKAN_HPP_NAMESPACE
//=== VK_EXT_attachment_feedback_loop_dynamic_state ===
using VULKAN_HPP_NAMESPACE::PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT;

#if defined( VK_USE_PLATFORM_SCREEN_QNX )
//=== VK_QNX_external_memory_screen_buffer ===
using VULKAN_HPP_NAMESPACE::ExternalFormatQNX;
using VULKAN_HPP_NAMESPACE::ImportScreenBufferInfoQNX;
using VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX;
using VULKAN_HPP_NAMESPACE::ScreenBufferFormatPropertiesQNX;
using VULKAN_HPP_NAMESPACE::ScreenBufferPropertiesQNX;
#endif /*VK_USE_PLATFORM_SCREEN_QNX*/

//===============
//=== HANDLEs ===
//===============
Expand Down

0 comments on commit ce1b65e

Please sign in to comment.