vk: Delete some comments not present in 0.130 header
Deleting the comments reduces diff noise.
This commit is contained in:
@@ -122,9 +122,6 @@ VK_DEFINE_NONDISP_SUBCLASS_HANDLE(VkRenderPass, VkNonDispatchable)
|
|||||||
// This is a helper macro to define the value of flag bit enum values.
|
// This is a helper macro to define the value of flag bit enum values.
|
||||||
#define VK_BIT(bit) (1 << (bit))
|
#define VK_BIT(bit) (1 << (bit))
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
// Enumerations
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
VK_SUCCESS = 0,
|
VK_SUCCESS = 0,
|
||||||
VK_UNSUPPORTED = 1,
|
VK_UNSUPPORTED = 1,
|
||||||
@@ -170,7 +167,6 @@ typedef enum {
|
|||||||
VK_RESULT_MAX_ENUM = 0x7FFFFFFF
|
VK_RESULT_MAX_ENUM = 0x7FFFFFFF
|
||||||
} VkResult;
|
} VkResult;
|
||||||
|
|
||||||
// Structure type enumerant
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
VK_STRUCTURE_TYPE_APPLICATION_INFO = 0,
|
VK_STRUCTURE_TYPE_APPLICATION_INFO = 0,
|
||||||
VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 1,
|
VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 1,
|
||||||
@@ -1139,9 +1135,6 @@ typedef enum {
|
|||||||
VK_PHYSICAL_DEVICE_COMPATIBILITY_SHARED_DEVICE1_DISPLAY_BIT = VK_BIT(6),
|
VK_PHYSICAL_DEVICE_COMPATIBILITY_SHARED_DEVICE1_DISPLAY_BIT = VK_BIT(6),
|
||||||
} VkPhysicalDeviceCompatibilityFlagBits;
|
} VkPhysicalDeviceCompatibilityFlagBits;
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
// Vulkan structures
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VkStructureType sType;
|
VkStructureType sType;
|
||||||
const void* pNext;
|
const void* pNext;
|
||||||
@@ -1686,7 +1679,6 @@ typedef struct {
|
|||||||
uint32_t layers;
|
uint32_t layers;
|
||||||
} VkFramebufferCreateInfo;
|
} VkFramebufferCreateInfo;
|
||||||
|
|
||||||
// Union allowing specification of floating point or raw color data. Actual value selected is based on image being cleared.
|
|
||||||
typedef union VkClearColorValue_
|
typedef union VkClearColorValue_
|
||||||
{
|
{
|
||||||
float floatColor[4];
|
float floatColor[4];
|
||||||
@@ -1819,7 +1811,6 @@ typedef struct {
|
|||||||
VkImageSubresourceRange subresourceRange;
|
VkImageSubresourceRange subresourceRange;
|
||||||
} VkImageMemoryBarrier;
|
} VkImageMemoryBarrier;
|
||||||
|
|
||||||
// can be added to VkDeviceCreateInfo via pNext
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VkStructureType sType;
|
VkStructureType sType;
|
||||||
const void* pNext;
|
const void* pNext;
|
||||||
@@ -1918,8 +1909,6 @@ typedef struct {
|
|||||||
VkRenderPassBegin renderPassContinue;
|
VkRenderPassBegin renderPassContinue;
|
||||||
} VkCmdBufferGraphicsBeginInfo;
|
} VkCmdBufferGraphicsBeginInfo;
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
// API functions
|
|
||||||
typedef VkResult (VKAPI *PFN_vkCreateInstance)(const VkInstanceCreateInfo* pCreateInfo, VkInstance* pInstance);
|
typedef VkResult (VKAPI *PFN_vkCreateInstance)(const VkInstanceCreateInfo* pCreateInfo, VkInstance* pInstance);
|
||||||
typedef VkResult (VKAPI *PFN_vkDestroyInstance)(VkInstance instance);
|
typedef VkResult (VKAPI *PFN_vkDestroyInstance)(VkInstance instance);
|
||||||
typedef VkResult (VKAPI *PFN_vkEnumeratePhysicalDevices)(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
|
typedef VkResult (VKAPI *PFN_vkEnumeratePhysicalDevices)(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
|
||||||
@@ -2046,8 +2035,6 @@ void * VKAPI vkGetProcAddr(
|
|||||||
VkPhysicalDevice physicalDevice,
|
VkPhysicalDevice physicalDevice,
|
||||||
const char* pName);
|
const char* pName);
|
||||||
|
|
||||||
// Device functions
|
|
||||||
|
|
||||||
VkResult VKAPI vkCreateDevice(
|
VkResult VKAPI vkCreateDevice(
|
||||||
VkPhysicalDevice physicalDevice,
|
VkPhysicalDevice physicalDevice,
|
||||||
const VkDeviceCreateInfo* pCreateInfo,
|
const VkDeviceCreateInfo* pCreateInfo,
|
||||||
@@ -2261,8 +2248,6 @@ VkResult VKAPI vkGetImageSubresourceInfo(
|
|||||||
size_t* pDataSize,
|
size_t* pDataSize,
|
||||||
void* pData);
|
void* pData);
|
||||||
|
|
||||||
// Image view functions
|
|
||||||
|
|
||||||
VkResult VKAPI vkCreateImageView(
|
VkResult VKAPI vkCreateImageView(
|
||||||
VkDevice device,
|
VkDevice device,
|
||||||
const VkImageViewCreateInfo* pCreateInfo,
|
const VkImageViewCreateInfo* pCreateInfo,
|
||||||
|
Reference in New Issue
Block a user