diff options
author | Kristian Høgsberg <[email protected]> | 2015-05-26 11:02:28 -0700 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2015-05-26 11:27:31 -0700 |
commit | 5e637c5d5aedff139537d1a27766954a2c403302 (patch) | |
tree | ba445654f37ed02e7bba66aab6b929f69bb12453 /src/vulkan/gen75_pack.h | |
parent | 998837764ffd19795a78dc6fe1e864e6b17ed712 (diff) |
vk/pack: Generate length macros for structs
Diffstat (limited to 'src/vulkan/gen75_pack.h')
-rw-r--r-- | src/vulkan/gen75_pack.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/vulkan/gen75_pack.h b/src/vulkan/gen75_pack.h index 4978d5977b7..1f041ab1a72 100644 --- a/src/vulkan/gen75_pack.h +++ b/src/vulkan/gen75_pack.h @@ -6949,6 +6949,22 @@ GEN75_PIPE_CONTROL_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_3DSTATE_CONSTANT_BODY_length 0x00000006 + +#define GEN75_BINDING_TABLE_EDIT_ENTRY_length 0x00000001 + +#define GEN75_GATHER_CONSTANT_ENTRY_length 0x00000001 + +#define GEN75_VERTEX_BUFFER_STATE_length 0x00000004 + +#define GEN75_VERTEX_ELEMENT_STATE_length 0x00000002 + +#define GEN75_SO_DECL_ENTRY_length 0x00000002 + +#define GEN75_SO_DECL_length 0x00000001 + +#define GEN75_SCISSOR_RECT_length 0x00000002 + struct GEN75_SCISSOR_RECT { uint32_t ScissorRectangleYMin; uint32_t ScissorRectangleXMin; @@ -6974,6 +6990,8 @@ GEN75_SCISSOR_RECT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_SF_CLIP_VIEWPORT_length 0x00000010 + struct GEN75_SF_CLIP_VIEWPORT { float ViewportMatrixElementm00; float ViewportMatrixElementm11; @@ -7044,6 +7062,8 @@ GEN75_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_BLEND_STATE_length 0x00000002 + struct GEN75_BLEND_STATE { uint32_t ColorBufferBlendEnable; uint32_t IndependentAlphaBlendEnable; @@ -7167,6 +7187,8 @@ GEN75_BLEND_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_CC_VIEWPORT_length 0x00000002 + struct GEN75_CC_VIEWPORT { float MinimumDepth; float MaximumDepth; @@ -7188,6 +7210,8 @@ GEN75_CC_VIEWPORT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_COLOR_CALC_STATE_length 0x00000006 + struct GEN75_COLOR_CALC_STATE { uint32_t StencilReferenceValue; uint32_t BackFaceStencilReferenceValue; @@ -7241,6 +7265,8 @@ GEN75_COLOR_CALC_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_DEPTH_STENCIL_STATE_length 0x00000003 + struct GEN75_DEPTH_STENCIL_STATE { uint32_t StencilTestEnable; #define COMPAREFUNCTION_ALWAYS 0 @@ -7337,6 +7363,10 @@ GEN75_DEPTH_STENCIL_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001 + +#define GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_length 0x00000001 + struct GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS { #define Highestpriority 0 #define Secondhighestpriority 1 @@ -7365,6 +7395,8 @@ GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_pack(__gen_user_data *data, void } +#define GEN75_INTERFACE_DESCRIPTOR_DATA_length 0x00000008 + struct GEN75_INTERFACE_DESCRIPTOR_DATA { uint32_t KernelStartPointer; #define Multiple 0 @@ -7449,6 +7481,10 @@ GEN75_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_PALETTE_ENTRY_length 0x00000001 + +#define GEN75_RENDER_SURFACE_STATE_length 0x00000008 + struct GEN75_RENDER_SURFACE_STATE { #define SURFTYPE_1D 0 #define SURFTYPE_2D 1 @@ -7608,6 +7644,8 @@ GEN75_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN75_SAMPLER_BORDER_COLOR_STATE_length 0x00000014 + struct GEN75_SAMPLER_BORDER_COLOR_STATE { uint32_t BorderColorRedDX100GL; uint32_t BorderColorAlpha; @@ -7659,6 +7697,8 @@ GEN75_SAMPLER_BORDER_COLOR_STATE_pack(__gen_user_data *data, void * restrict dst } +#define GEN75_SAMPLER_STATE_length 0x00000004 + struct GEN75_SAMPLER_STATE { uint32_t SamplerDisable; #define DX10OGL 0 |