Skip to content

Commit

Permalink
vulkan-docs-v1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticlePeter committed May 16, 2016
1 parent 00d066c commit dc5ca0b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions source/erupted/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ uint VK_VERSION_PATCH(uint ver) {
return ver & 0xfff;
}

// Version of corresponding c header file
enum VK_HEADER_VERSION = 13;

enum VK_NULL_HANDLE = null;

Expand All @@ -33,7 +35,6 @@ version(X86_64) {
} else {
enum VK_DEFINE_NON_DISPATCHABLE_HANDLE(string name) = "alias "~name~" = ulong;";
}

// VK_VERSION_1_0
alias VkFlags = uint32_t;
alias VkBool32 = uint32_t;
Expand Down Expand Up @@ -3076,18 +3077,19 @@ mixin(VK_DEFINE_NON_DISPATCHABLE_HANDLE!q{VkSurfaceKHR});

enum VK_KHR_SURFACE_SPEC_VERSION = 25;
enum VK_KHR_SURFACE_EXTENSION_NAME = "VK_KHR_surface";
enum VK_COLORSPACE_SRGB_NONLINEAR_KHR = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;


enum VkColorSpaceKHR {
VK_COLORSPACE_SRGB_NONLINEAR_KHR = 0,
VK_COLOR_SPACE_BEGIN_RANGE_KHR = VK_COLORSPACE_SRGB_NONLINEAR_KHR,
VK_COLOR_SPACE_END_RANGE_KHR = VK_COLORSPACE_SRGB_NONLINEAR_KHR,
VK_COLOR_SPACE_RANGE_SIZE_KHR = (VK_COLORSPACE_SRGB_NONLINEAR_KHR - VK_COLORSPACE_SRGB_NONLINEAR_KHR + 1),
VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = 0,
VK_COLOR_SPACE_BEGIN_RANGE_KHR = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR,
VK_COLOR_SPACE_END_RANGE_KHR = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR,
VK_COLOR_SPACE_RANGE_SIZE_KHR = (VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - VK_COLOR_SPACE_SRGB_NONLINEAR_KHR + 1),
VK_COLOR_SPACE_MAX_ENUM_KHR = 0x7FFFFFFF
}

// VkColorSpaceKHR global enums
enum VK_COLORSPACE_SRGB_NONLINEAR_KHR = VkColorSpaceKHR.VK_COLORSPACE_SRGB_NONLINEAR_KHR;
enum VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = VkColorSpaceKHR.VK_COLOR_SPACE_SRGB_NONLINEAR_KHR;
enum VK_COLOR_SPACE_BEGIN_RANGE_KHR = VkColorSpaceKHR.VK_COLOR_SPACE_BEGIN_RANGE_KHR;
enum VK_COLOR_SPACE_END_RANGE_KHR = VkColorSpaceKHR.VK_COLOR_SPACE_END_RANGE_KHR;
enum VK_COLOR_SPACE_RANGE_SIZE_KHR = VkColorSpaceKHR.VK_COLOR_SPACE_RANGE_SIZE_KHR;
Expand Down Expand Up @@ -3354,8 +3356,8 @@ version(VK_USE_PLATFORM_WAYLAND_KHR) {
enum VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME = "VK_KHR_wayland_surface";

alias VkWaylandSurfaceCreateFlagsKHR = VkFlags;
struct wl_display;
struct wl_surface;
struct wl_display;


struct VkWaylandSurfaceCreateInfoKHR {
Expand Down Expand Up @@ -3642,3 +3644,4 @@ struct VkDebugMarkerMarkerInfoEXT {
const(char)* pMarkerName;
float[4] color;
}

0 comments on commit dc5ca0b

Please sign in to comment.