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/gen7_pack.h | |
parent | 998837764ffd19795a78dc6fe1e864e6b17ed712 (diff) |
vk/pack: Generate length macros for structs
Diffstat (limited to 'src/vulkan/gen7_pack.h')
-rw-r--r-- | src/vulkan/gen7_pack.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/vulkan/gen7_pack.h b/src/vulkan/gen7_pack.h index d13d92e3998..34203d1d820 100644 --- a/src/vulkan/gen7_pack.h +++ b/src/vulkan/gen7_pack.h @@ -5708,6 +5708,18 @@ GEN7_PIPE_CONTROL_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_3DSTATE_CONSTANT_BODY_length 0x00000006 + +#define GEN7_VERTEX_BUFFER_STATE_length 0x00000004 + +#define GEN7_VERTEX_ELEMENT_STATE_length 0x00000002 + +#define GEN7_SO_DECL_ENTRY_length 0x00000002 + +#define GEN7_SO_DECL_length 0x00000001 + +#define GEN7_SCISSOR_RECT_length 0x00000002 + struct GEN7_SCISSOR_RECT { uint32_t ScissorRectangleYMin; uint32_t ScissorRectangleXMin; @@ -5733,6 +5745,8 @@ GEN7_SCISSOR_RECT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_SF_CLIP_VIEWPORT_length 0x00000010 + struct GEN7_SF_CLIP_VIEWPORT { float ViewportMatrixElementm00; float ViewportMatrixElementm11; @@ -5803,6 +5817,8 @@ GEN7_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_BLEND_STATE_length 0x00000002 + struct GEN7_BLEND_STATE { uint32_t ColorBufferBlendEnable; uint32_t IndependentAlphaBlendEnable; @@ -5926,6 +5942,8 @@ GEN7_BLEND_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_CC_VIEWPORT_length 0x00000002 + struct GEN7_CC_VIEWPORT { float MinimumDepth; float MaximumDepth; @@ -5947,6 +5965,8 @@ GEN7_CC_VIEWPORT_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_COLOR_CALC_STATE_length 0x00000006 + struct GEN7_COLOR_CALC_STATE { uint32_t StencilReferenceValue; uint32_t BackFaceStencilReferenceValue; @@ -6000,6 +6020,8 @@ GEN7_COLOR_CALC_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_DEPTH_STENCIL_STATE_length 0x00000003 + struct GEN7_DEPTH_STENCIL_STATE { uint32_t StencilTestEnable; #define COMPAREFUNCTION_ALWAYS 0 @@ -6096,6 +6118,10 @@ GEN7_DEPTH_STENCIL_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001 + +#define GEN7_INTERFACE_DESCRIPTOR_DATA_length 0x00000008 + struct GEN7_INTERFACE_DESCRIPTOR_DATA { uint32_t KernelStartPointer; #define Multiple 0 @@ -6180,6 +6206,10 @@ GEN7_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_PALETTE_ENTRY_length 0x00000001 + +#define GEN7_SAMPLER_BORDER_COLOR_STATE_length 0x00000004 + struct GEN7_SAMPLER_BORDER_COLOR_STATE { uint32_t BorderColorRedDX100GL; uint32_t BorderColorAlpha; @@ -6219,6 +6249,8 @@ GEN7_SAMPLER_BORDER_COLOR_STATE_pack(__gen_user_data *data, void * restrict dst, } +#define GEN7_SAMPLER_STATE_length 0x00000004 + struct GEN7_SAMPLER_STATE { uint32_t SamplerDisable; #define DX10OGL 0 |