diff options
author | Chad Versace <[email protected]> | 2016-01-13 16:03:09 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-01-14 22:53:05 -0800 |
commit | 6a1a760e3c76af62d2b75dd4e54483ebb2f1fca9 (patch) | |
tree | 0cf1086faf57c0668e028ea3dda72257da175342 | |
parent | 4c2bafb9bff8f5979c4cf31f5decdaaffdf1c2cb (diff) |
anv: Move MAX_* defs to top of anv_private.h
Because I need to use MAX_RTS in struct anv_meta_state.
-rw-r--r-- | src/vulkan/anv_private.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 5a31ec9c50a..e9c41e8d5b2 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -67,6 +67,15 @@ typedef uint32_t xcb_window_t; extern "C" { #endif +#define MAX_VBS 32 +#define MAX_SETS 8 +#define MAX_RTS 8 +#define MAX_VIEWPORTS 16 +#define MAX_SCISSORS 16 +#define MAX_PUSH_CONSTANTS_SIZE 128 +#define MAX_DYNAMIC_BUFFERS 16 +#define MAX_IMAGES 8 + #define ICD_LOADER_MAGIC 0x01CDC0DE typedef union _VK_LOADER_DATA { @@ -911,15 +920,6 @@ void anv_descriptor_set_destroy(struct anv_device *device, struct anv_descriptor_set *set); -#define MAX_VBS 32 -#define MAX_SETS 8 -#define MAX_RTS 8 -#define MAX_VIEWPORTS 16 -#define MAX_SCISSORS 16 -#define MAX_PUSH_CONSTANTS_SIZE 128 -#define MAX_DYNAMIC_BUFFERS 16 -#define MAX_IMAGES 8 - struct anv_pipeline_binding { /* The descriptor set this surface corresponds to */ uint16_t set; |