anv/image: Refactor anv_image_make_surface()
[mesa.git] / src / vulkan / gen75_pack.h
index 5d89a44efa548f7e0dda7d3911a80997fa74bd23..3ed685bed0c32684fe3646ff295317203c987817 100644 (file)
@@ -92,7 +92,6 @@ __gen_float(float v)
 
 #endif
 
-#define GEN75_3DSTATE_URB_VS_length 0x00000002
 #define GEN75_3DSTATE_URB_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_URB_VS_header             \
    .CommandType          =  3,                  \
@@ -101,6 +100,8 @@ __gen_float(float v)
    ._3DCommandSubOpcode  = 48,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_URB_VS_length 0x00000002
+
 struct GEN75_3DSTATE_URB_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -114,7 +115,7 @@ struct GEN75_3DSTATE_URB_VS {
 
 static inline void
 GEN75_3DSTATE_URB_VS_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_3DSTATE_URB_VS * restrict values)
+                          const struct GEN75_3DSTATE_URB_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -134,7 +135,6 @@ GEN75_3DSTATE_URB_VS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_GPGPU_CSR_BASE_ADDRESS_length 0x00000002
 #define GEN75_GPGPU_CSR_BASE_ADDRESS_length_bias 0x00000002
 #define GEN75_GPGPU_CSR_BASE_ADDRESS_header     \
    .CommandType          =  3,                  \
@@ -143,6 +143,8 @@ GEN75_3DSTATE_URB_VS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  4,                  \
    .DwordLength          =  0
 
+#define GEN75_GPGPU_CSR_BASE_ADDRESS_length 0x00000002
+
 struct GEN75_GPGPU_CSR_BASE_ADDRESS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -154,7 +156,7 @@ struct GEN75_GPGPU_CSR_BASE_ADDRESS {
 
 static inline void
 GEN75_GPGPU_CSR_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
-                                const struct GEN75_GPGPU_CSR_BASE_ADDRESS * restrict values)
+                                  const struct GEN75_GPGPU_CSR_BASE_ADDRESS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -174,17 +176,18 @@ GEN75_GPGPU_CSR_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_STORE_REGISTER_MEM_length 0x00000003
 #define GEN75_MI_STORE_REGISTER_MEM_length_bias 0x00000002
 #define GEN75_MI_STORE_REGISTER_MEM_header      \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 36,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_STORE_REGISTER_MEM_length 0x00000003
+
 struct GEN75_MI_STORE_REGISTER_MEM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     UseGlobalGTT;
+   bool                                         UseGlobalGTT;
    uint32_t                                     PredicateEnable;
    uint32_t                                     DwordLength;
    uint32_t                                     RegisterAddress;
@@ -193,7 +196,7 @@ struct GEN75_MI_STORE_REGISTER_MEM {
 
 static inline void
 GEN75_MI_STORE_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
-                               const struct GEN75_MI_STORE_REGISTER_MEM * restrict values)
+                                 const struct GEN75_MI_STORE_REGISTER_MEM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -217,7 +220,6 @@ GEN75_MI_STORE_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_PIPELINE_SELECT_length 0x00000001
 #define GEN75_PIPELINE_SELECT_length_bias 0x00000001
 #define GEN75_PIPELINE_SELECT_header            \
    .CommandType          =  3,                  \
@@ -225,6 +227,8 @@ GEN75_MI_STORE_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  1,                  \
    ._3DCommandSubOpcode  =  4
 
+#define GEN75_PIPELINE_SELECT_length 0x00000001
+
 struct GEN75_PIPELINE_SELECT {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -238,7 +242,7 @@ struct GEN75_PIPELINE_SELECT {
 
 static inline void
 GEN75_PIPELINE_SELECT_pack(__gen_user_data *data, void * restrict dst,
-                         const struct GEN75_PIPELINE_SELECT * restrict values)
+                           const struct GEN75_PIPELINE_SELECT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -252,7 +256,6 @@ GEN75_PIPELINE_SELECT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_STATE_BASE_ADDRESS_length 0x0000000a
 #define GEN75_STATE_BASE_ADDRESS_length_bias 0x00000002
 #define GEN75_STATE_BASE_ADDRESS_header         \
    .CommandType          =  3,                  \
@@ -261,6 +264,10 @@ GEN75_PIPELINE_SELECT_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  1,                  \
    .DwordLength          =  8
 
+#define GEN75_STATE_BASE_ADDRESS_length 0x0000000a
+
+#define GEN75_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
+
 struct GEN75_MEMORY_OBJECT_CONTROL_STATE {
    uint32_t                                     LLCeLLCCacheabilityControlLLCCC;
    uint32_t                                     L3CacheabilityControlL3CC;
@@ -268,7 +275,7 @@ struct GEN75_MEMORY_OBJECT_CONTROL_STATE {
 
 static inline void
 GEN75_MEMORY_OBJECT_CONTROL_STATE_pack(__gen_user_data *data, void * restrict dst,
-                                     const struct GEN75_MEMORY_OBJECT_CONTROL_STATE * restrict values)
+                                       const struct GEN75_MEMORY_OBJECT_CONTROL_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -288,32 +295,32 @@ struct GEN75_STATE_BASE_ADDRESS {
    __gen_address_type                           GeneralStateBaseAddress;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     GeneralStateMemoryObjectControlState;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     StatelessDataPortAccessMemoryObjectControlState;
-   uint32_t                                     GeneralStateBaseAddressModifyEnable;
+   bool                                         GeneralStateBaseAddressModifyEnable;
    __gen_address_type                           SurfaceStateBaseAddress;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     SurfaceStateMemoryObjectControlState;
-   uint32_t                                     SurfaceStateBaseAddressModifyEnable;
+   bool                                         SurfaceStateBaseAddressModifyEnable;
    __gen_address_type                           DynamicStateBaseAddress;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     DynamicStateMemoryObjectControlState;
-   uint32_t                                     DynamicStateBaseAddressModifyEnable;
+   bool                                         DynamicStateBaseAddressModifyEnable;
    __gen_address_type                           IndirectObjectBaseAddress;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     IndirectObjectMemoryObjectControlState;
-   uint32_t                                     IndirectObjectBaseAddressModifyEnable;
+   bool                                         IndirectObjectBaseAddressModifyEnable;
    __gen_address_type                           InstructionBaseAddress;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     InstructionMemoryObjectControlState;
-   uint32_t                                     InstructionBaseAddressModifyEnable;
+   bool                                         InstructionBaseAddressModifyEnable;
    __gen_address_type                           GeneralStateAccessUpperBound;
-   uint32_t                                     GeneralStateAccessUpperBoundModifyEnable;
+   bool                                         GeneralStateAccessUpperBoundModifyEnable;
    __gen_address_type                           DynamicStateAccessUpperBound;
-   uint32_t                                     DynamicStateAccessUpperBoundModifyEnable;
+   bool                                         DynamicStateAccessUpperBoundModifyEnable;
    __gen_address_type                           IndirectObjectAccessUpperBound;
-   uint32_t                                     IndirectObjectAccessUpperBoundModifyEnable;
+   bool                                         IndirectObjectAccessUpperBoundModifyEnable;
    __gen_address_type                           InstructionAccessUpperBound;
-   uint32_t                                     InstructionAccessUpperBoundModifyEnable;
+   bool                                         InstructionAccessUpperBoundModifyEnable;
 };
 
 static inline void
 GEN75_STATE_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
-                            const struct GEN75_STATE_BASE_ADDRESS * restrict values)
+                              const struct GEN75_STATE_BASE_ADDRESS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -408,7 +415,6 @@ GEN75_STATE_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_STATE_PREFETCH_length 0x00000002
 #define GEN75_STATE_PREFETCH_length_bias 0x00000002
 #define GEN75_STATE_PREFETCH_header             \
    .CommandType          =  3,                  \
@@ -417,6 +423,8 @@ GEN75_STATE_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  3,                  \
    .DwordLength          =  0
 
+#define GEN75_STATE_PREFETCH_length 0x00000002
+
 struct GEN75_STATE_PREFETCH {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -429,7 +437,7 @@ struct GEN75_STATE_PREFETCH {
 
 static inline void
 GEN75_STATE_PREFETCH_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_STATE_PREFETCH * restrict values)
+                          const struct GEN75_STATE_PREFETCH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -450,7 +458,6 @@ GEN75_STATE_PREFETCH_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_STATE_SIP_length 0x00000002
 #define GEN75_STATE_SIP_length_bias 0x00000002
 #define GEN75_STATE_SIP_header                  \
    .CommandType          =  3,                  \
@@ -459,6 +466,8 @@ GEN75_STATE_PREFETCH_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  2,                  \
    .DwordLength          =  0
 
+#define GEN75_STATE_SIP_length 0x00000002
+
 struct GEN75_STATE_SIP {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -470,7 +479,7 @@ struct GEN75_STATE_SIP {
 
 static inline void
 GEN75_STATE_SIP_pack(__gen_user_data *data, void * restrict dst,
-                   const struct GEN75_STATE_SIP * restrict values)
+                     const struct GEN75_STATE_SIP * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -488,7 +497,6 @@ GEN75_STATE_SIP_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_SWTESS_BASE_ADDRESS_length 0x00000002
 #define GEN75_SWTESS_BASE_ADDRESS_length_bias 0x00000002
 #define GEN75_SWTESS_BASE_ADDRESS_header        \
    .CommandType          =  3,                  \
@@ -497,6 +505,8 @@ GEN75_STATE_SIP_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  3,                  \
    .DwordLength          =  0
 
+#define GEN75_SWTESS_BASE_ADDRESS_length 0x00000002
+
 struct GEN75_SWTESS_BASE_ADDRESS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -509,7 +519,7 @@ struct GEN75_SWTESS_BASE_ADDRESS {
 
 static inline void
 GEN75_SWTESS_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_SWTESS_BASE_ADDRESS * restrict values)
+                               const struct GEN75_SWTESS_BASE_ADDRESS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -532,7 +542,6 @@ GEN75_SWTESS_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DPRIMITIVE_length 0x00000007
 #define GEN75_3DPRIMITIVE_length_bias 0x00000002
 #define GEN75_3DPRIMITIVE_header                \
    .CommandType          =  3,                  \
@@ -541,16 +550,18 @@ GEN75_SWTESS_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  0,                  \
    .DwordLength          =  5
 
+#define GEN75_3DPRIMITIVE_length 0x00000007
+
 struct GEN75_3DPRIMITIVE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
-   uint32_t                                     IndirectParameterEnable;
+   bool                                         IndirectParameterEnable;
    uint32_t                                     UAVCoherencyRequired;
-   uint32_t                                     PredicateEnable;
+   bool                                         PredicateEnable;
    uint32_t                                     DwordLength;
-   uint32_t                                     EndOffsetEnable;
+   bool                                         EndOffsetEnable;
 #define     SEQUENTIAL                                         0
 #define     RANDOM                                             1
    uint32_t                                     VertexAccessType;
@@ -564,7 +575,7 @@ struct GEN75_3DPRIMITIVE {
 
 static inline void
 GEN75_3DPRIMITIVE_pack(__gen_user_data *data, void * restrict dst,
-                     const struct GEN75_3DPRIMITIVE * restrict values)
+                       const struct GEN75_3DPRIMITIVE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -607,7 +618,6 @@ GEN75_3DPRIMITIVE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
 #define GEN75_3DSTATE_AA_LINE_PARAMETERS_length_bias 0x00000002
 #define GEN75_3DSTATE_AA_LINE_PARAMETERS_header \
    .CommandType          =  3,                  \
@@ -616,6 +626,8 @@ GEN75_3DPRIMITIVE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 10,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
+
 struct GEN75_3DSTATE_AA_LINE_PARAMETERS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -630,7 +642,7 @@ struct GEN75_3DSTATE_AA_LINE_PARAMETERS {
 
 static inline void
 GEN75_3DSTATE_AA_LINE_PARAMETERS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_AA_LINE_PARAMETERS * restrict values)
+                                      const struct GEN75_3DSTATE_AA_LINE_PARAMETERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -661,6 +673,10 @@ GEN75_3DSTATE_AA_LINE_PARAMETERS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 70
 
+#define GEN75_3DSTATE_BINDING_TABLE_EDIT_DS_length 0x00000000
+
+#define GEN75_BINDING_TABLE_EDIT_ENTRY_length 0x00000001
+
 struct GEN75_BINDING_TABLE_EDIT_ENTRY {
    uint32_t                                     BindingTableIndex;
    uint32_t                                     SurfaceStatePointer;
@@ -668,7 +684,7 @@ struct GEN75_BINDING_TABLE_EDIT_ENTRY {
 
 static inline void
 GEN75_BINDING_TABLE_EDIT_ENTRY_pack(__gen_user_data *data, void * restrict dst,
-                                  const struct GEN75_BINDING_TABLE_EDIT_ENTRY * restrict values)
+                                    const struct GEN75_BINDING_TABLE_EDIT_ENTRY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -695,7 +711,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_EDIT_DS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_EDIT_DS_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_DS * restrict values)
+                                         const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -722,6 +738,8 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_DS_pack(__gen_user_data *data, void * restrict
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 68
 
+#define GEN75_3DSTATE_BINDING_TABLE_EDIT_GS_length 0x00000000
+
 struct GEN75_3DSTATE_BINDING_TABLE_EDIT_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -738,7 +756,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_EDIT_GS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_EDIT_GS_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_GS * restrict values)
+                                         const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -765,6 +783,8 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_GS_pack(__gen_user_data *data, void * restrict
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 69
 
+#define GEN75_3DSTATE_BINDING_TABLE_EDIT_HS_length 0x00000000
+
 struct GEN75_3DSTATE_BINDING_TABLE_EDIT_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -781,7 +801,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_EDIT_HS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_EDIT_HS_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_HS * restrict values)
+                                         const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -808,6 +828,8 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_HS_pack(__gen_user_data *data, void * restrict
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 71
 
+#define GEN75_3DSTATE_BINDING_TABLE_EDIT_PS_length 0x00000000
+
 struct GEN75_3DSTATE_BINDING_TABLE_EDIT_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -824,7 +846,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_EDIT_PS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_EDIT_PS_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_PS * restrict values)
+                                         const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -851,6 +873,8 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_PS_pack(__gen_user_data *data, void * restrict
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 67
 
+#define GEN75_3DSTATE_BINDING_TABLE_EDIT_VS_length 0x00000000
+
 struct GEN75_3DSTATE_BINDING_TABLE_EDIT_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -867,7 +891,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_EDIT_VS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_EDIT_VS_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_VS * restrict values)
+                                         const struct GEN75_3DSTATE_BINDING_TABLE_EDIT_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -887,7 +911,6 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_VS_pack(__gen_user_data *data, void * restrict
    /* variable length fields follow */
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_header\
    .CommandType          =  3,                  \
@@ -896,6 +919,8 @@ GEN75_3DSTATE_BINDING_TABLE_EDIT_VS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 40,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
+
 struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -907,7 +932,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
+                                             const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -925,7 +950,6 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_header\
    .CommandType          =  3,                  \
@@ -934,6 +958,8 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_DS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 41,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
+
 struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -945,7 +971,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
+                                             const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -963,7 +989,6 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_header\
    .CommandType          =  3,                  \
@@ -972,6 +997,8 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_GS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 39,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
+
 struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -983,7 +1010,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
+                                             const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1001,7 +1028,6 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_header\
    .CommandType          =  3,                  \
@@ -1010,6 +1036,8 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_HS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 42,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
+
 struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1021,7 +1049,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
+                                             const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1039,7 +1067,6 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_header\
    .CommandType          =  3,                  \
@@ -1048,6 +1075,8 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_PS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 38,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
+
 struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1059,7 +1088,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
+                                             const struct GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1077,7 +1106,6 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_length 0x00000003
 #define GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_length_bias 0x00000002
 #define GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_header\
    .CommandType          =  3,                  \
@@ -1086,6 +1114,8 @@ GEN75_3DSTATE_BINDING_TABLE_POINTERS_VS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 25,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_length 0x00000003
+
 struct GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1100,7 +1130,7 @@ struct GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC {
 
 static inline void
 GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
-                                          const struct GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC * restrict values)
+                                            const struct GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1130,7 +1160,6 @@ GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_pack(__gen_user_data *data, void * restri
 
 }
 
-#define GEN75_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
 #define GEN75_3DSTATE_BLEND_STATE_POINTERS_length_bias 0x00000002
 #define GEN75_3DSTATE_BLEND_STATE_POINTERS_header\
    .CommandType          =  3,                  \
@@ -1139,6 +1168,8 @@ GEN75_3DSTATE_BINDING_TABLE_POOL_ALLOC_pack(__gen_user_data *data, void * restri
    ._3DCommandSubOpcode  = 36,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
+
 struct GEN75_3DSTATE_BLEND_STATE_POINTERS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1150,7 +1181,7 @@ struct GEN75_3DSTATE_BLEND_STATE_POINTERS {
 
 static inline void
 GEN75_3DSTATE_BLEND_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
-                                      const struct GEN75_3DSTATE_BLEND_STATE_POINTERS * restrict values)
+                                        const struct GEN75_3DSTATE_BLEND_STATE_POINTERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1169,7 +1200,6 @@ GEN75_3DSTATE_BLEND_STATE_POINTERS_pack(__gen_user_data *data, void * restrict d
 
 }
 
-#define GEN75_3DSTATE_CC_STATE_POINTERS_length 0x00000002
 #define GEN75_3DSTATE_CC_STATE_POINTERS_length_bias 0x00000002
 #define GEN75_3DSTATE_CC_STATE_POINTERS_header  \
    .CommandType          =  3,                  \
@@ -1178,6 +1208,8 @@ GEN75_3DSTATE_BLEND_STATE_POINTERS_pack(__gen_user_data *data, void * restrict d
    ._3DCommandSubOpcode  = 14,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_CC_STATE_POINTERS_length 0x00000002
+
 struct GEN75_3DSTATE_CC_STATE_POINTERS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1189,7 +1221,7 @@ struct GEN75_3DSTATE_CC_STATE_POINTERS {
 
 static inline void
 GEN75_3DSTATE_CC_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
-                                   const struct GEN75_3DSTATE_CC_STATE_POINTERS * restrict values)
+                                     const struct GEN75_3DSTATE_CC_STATE_POINTERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1208,7 +1240,6 @@ GEN75_3DSTATE_CC_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_CHROMA_KEY_length 0x00000004
 #define GEN75_3DSTATE_CHROMA_KEY_length_bias 0x00000002
 #define GEN75_3DSTATE_CHROMA_KEY_header         \
    .CommandType          =  3,                  \
@@ -1217,6 +1248,8 @@ GEN75_3DSTATE_CC_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  4,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_CHROMA_KEY_length 0x00000004
+
 struct GEN75_3DSTATE_CHROMA_KEY {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1230,7 +1263,7 @@ struct GEN75_3DSTATE_CHROMA_KEY {
 
 static inline void
 GEN75_3DSTATE_CHROMA_KEY_pack(__gen_user_data *data, void * restrict dst,
-                            const struct GEN75_3DSTATE_CHROMA_KEY * restrict values)
+                              const struct GEN75_3DSTATE_CHROMA_KEY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1256,7 +1289,6 @@ GEN75_3DSTATE_CHROMA_KEY_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_CLEAR_PARAMS_length 0x00000003
 #define GEN75_3DSTATE_CLEAR_PARAMS_length_bias 0x00000002
 #define GEN75_3DSTATE_CLEAR_PARAMS_header       \
    .CommandType          =  3,                  \
@@ -1265,6 +1297,8 @@ GEN75_3DSTATE_CHROMA_KEY_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  4,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_CLEAR_PARAMS_length 0x00000003
+
 struct GEN75_3DSTATE_CLEAR_PARAMS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1272,12 +1306,12 @@ struct GEN75_3DSTATE_CLEAR_PARAMS {
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
    uint32_t                                     DepthClearValue;
-   uint32_t                                     DepthClearValueValid;
+   bool                                         DepthClearValueValid;
 };
 
 static inline void
 GEN75_3DSTATE_CLEAR_PARAMS_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_3DSTATE_CLEAR_PARAMS * restrict values)
+                                const struct GEN75_3DSTATE_CLEAR_PARAMS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1299,7 +1333,6 @@ GEN75_3DSTATE_CLEAR_PARAMS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_CLIP_length 0x00000004
 #define GEN75_3DSTATE_CLIP_length_bias 0x00000002
 #define GEN75_3DSTATE_CLIP_header               \
    .CommandType          =  3,                  \
@@ -1308,6 +1341,8 @@ GEN75_3DSTATE_CLEAR_PARAMS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 18,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_CLIP_length 0x00000004
+
 struct GEN75_3DSTATE_CLIP {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1316,27 +1351,27 @@ struct GEN75_3DSTATE_CLIP {
    uint32_t                                     DwordLength;
    uint32_t                                     FrontWinding;
    uint32_t                                     VertexSubPixelPrecisionSelect;
-   uint32_t                                     EarlyCullEnable;
+   bool                                         EarlyCullEnable;
 #define     CULLMODE_BOTH                                      0
 #define     CULLMODE_NONE                                      1
 #define     CULLMODE_FRONT                                     2
 #define     CULLMODE_BACK                                      3
    uint32_t                                     CullMode;
-   uint32_t                                     ClipperStatisticsEnable;
+   bool                                         ClipperStatisticsEnable;
    uint32_t                                     UserClipDistanceCullTestEnableBitmask;
-   uint32_t                                     ClipEnable;
+   bool                                         ClipEnable;
 #define     APIMODE_OGL                                        0
    uint32_t                                     APIMode;
-   uint32_t                                     ViewportXYClipTestEnable;
-   uint32_t                                     ViewportZClipTestEnable;
-   uint32_t                                     GuardbandClipTestEnable;
+   bool                                         ViewportXYClipTestEnable;
+   bool                                         ViewportZClipTestEnable;
+   bool                                         GuardbandClipTestEnable;
    uint32_t                                     UserClipDistanceClipTestEnableBitmask;
 #define     CLIPMODE_NORMAL                                    0
 #define     CLIPMODE_REJECT_ALL                                3
 #define     CLIPMODE_ACCEPT_ALL                                4
    uint32_t                                     ClipMode;
-   uint32_t                                     PerspectiveDivideDisable;
-   uint32_t                                     NonPerspectiveBarycentricEnable;
+   bool                                         PerspectiveDivideDisable;
+   bool                                         NonPerspectiveBarycentricEnable;
 #define     Vertex0                                            0
 #define     Vertex1                                            1
 #define     Vertex2                                            2
@@ -1350,13 +1385,13 @@ struct GEN75_3DSTATE_CLIP {
    uint32_t                                     TriangleFanProvokingVertexSelect;
    float                                        MinimumPointWidth;
    float                                        MaximumPointWidth;
-   uint32_t                                     ForceZeroRTAIndexEnable;
+   bool                                         ForceZeroRTAIndexEnable;
    uint32_t                                     MaximumVPIndex;
 };
 
 static inline void
 GEN75_3DSTATE_CLIP_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_3DSTATE_CLIP * restrict values)
+                        const struct GEN75_3DSTATE_CLIP * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1401,7 +1436,6 @@ GEN75_3DSTATE_CLIP_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_CONSTANT_DS_length 0x00000007
 #define GEN75_3DSTATE_CONSTANT_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_CONSTANT_DS_header        \
    .CommandType          =  3,                  \
@@ -1410,6 +1444,10 @@ GEN75_3DSTATE_CLIP_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 26,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_CONSTANT_DS_length 0x00000007
+
+#define GEN75_3DSTATE_CONSTANT_BODY_length 0x00000006
+
 struct GEN75_3DSTATE_CONSTANT_BODY {
    uint32_t                                     ConstantBuffer1ReadLength;
    uint32_t                                     ConstantBuffer0ReadLength;
@@ -1424,7 +1462,7 @@ struct GEN75_3DSTATE_CONSTANT_BODY {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_BODY_pack(__gen_user_data *data, void * restrict dst,
-                               const struct GEN75_3DSTATE_CONSTANT_BODY * restrict values)
+                                 const struct GEN75_3DSTATE_CONSTANT_BODY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1478,7 +1516,7 @@ struct GEN75_3DSTATE_CONSTANT_DS {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_CONSTANT_DS * restrict values)
+                               const struct GEN75_3DSTATE_CONSTANT_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1493,7 +1531,6 @@ GEN75_3DSTATE_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
    GEN75_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
 }
 
-#define GEN75_3DSTATE_CONSTANT_GS_length 0x00000007
 #define GEN75_3DSTATE_CONSTANT_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_CONSTANT_GS_header        \
    .CommandType          =  3,                  \
@@ -1502,6 +1539,8 @@ GEN75_3DSTATE_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 22,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_CONSTANT_GS_length 0x00000007
+
 struct GEN75_3DSTATE_CONSTANT_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1513,7 +1552,7 @@ struct GEN75_3DSTATE_CONSTANT_GS {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_CONSTANT_GS * restrict values)
+                               const struct GEN75_3DSTATE_CONSTANT_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1528,7 +1567,6 @@ GEN75_3DSTATE_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
    GEN75_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
 }
 
-#define GEN75_3DSTATE_CONSTANT_HS_length 0x00000007
 #define GEN75_3DSTATE_CONSTANT_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_CONSTANT_HS_header        \
    .CommandType          =  3,                  \
@@ -1537,6 +1575,8 @@ GEN75_3DSTATE_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 25,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_CONSTANT_HS_length 0x00000007
+
 struct GEN75_3DSTATE_CONSTANT_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1548,7 +1588,7 @@ struct GEN75_3DSTATE_CONSTANT_HS {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_CONSTANT_HS * restrict values)
+                               const struct GEN75_3DSTATE_CONSTANT_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1563,7 +1603,6 @@ GEN75_3DSTATE_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
    GEN75_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
 }
 
-#define GEN75_3DSTATE_CONSTANT_PS_length 0x00000007
 #define GEN75_3DSTATE_CONSTANT_PS_length_bias 0x00000002
 #define GEN75_3DSTATE_CONSTANT_PS_header        \
    .CommandType          =  3,                  \
@@ -1572,6 +1611,8 @@ GEN75_3DSTATE_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 23,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_CONSTANT_PS_length 0x00000007
+
 struct GEN75_3DSTATE_CONSTANT_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1583,7 +1624,7 @@ struct GEN75_3DSTATE_CONSTANT_PS {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_CONSTANT_PS * restrict values)
+                               const struct GEN75_3DSTATE_CONSTANT_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1598,7 +1639,6 @@ GEN75_3DSTATE_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
    GEN75_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
 }
 
-#define GEN75_3DSTATE_CONSTANT_VS_length 0x00000007
 #define GEN75_3DSTATE_CONSTANT_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_CONSTANT_VS_header        \
    .CommandType          =  3,                  \
@@ -1607,6 +1647,8 @@ GEN75_3DSTATE_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 21,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_CONSTANT_VS_length 0x00000007
+
 struct GEN75_3DSTATE_CONSTANT_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1618,7 +1660,7 @@ struct GEN75_3DSTATE_CONSTANT_VS {
 
 static inline void
 GEN75_3DSTATE_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_CONSTANT_VS * restrict values)
+                               const struct GEN75_3DSTATE_CONSTANT_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1633,7 +1675,6 @@ GEN75_3DSTATE_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
    GEN75_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
 }
 
-#define GEN75_3DSTATE_DEPTH_BUFFER_length 0x00000007
 #define GEN75_3DSTATE_DEPTH_BUFFER_length_bias 0x00000002
 #define GEN75_3DSTATE_DEPTH_BUFFER_header       \
    .CommandType          =  3,                  \
@@ -1642,6 +1683,8 @@ GEN75_3DSTATE_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  5,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_DEPTH_BUFFER_length 0x00000007
+
 struct GEN75_3DSTATE_DEPTH_BUFFER {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1654,9 +1697,9 @@ struct GEN75_3DSTATE_DEPTH_BUFFER {
 #define     SURFTYPE_CUBE                                      3
 #define     SURFTYPE_NULL                                      7
    uint32_t                                     SurfaceType;
-   uint32_t                                     DepthWriteEnable;
-   uint32_t                                     StencilWriteEnable;
-   uint32_t                                     HierarchicalDepthBufferEnable;
+   bool                                         DepthWriteEnable;
+   bool                                         StencilWriteEnable;
+   bool                                         HierarchicalDepthBufferEnable;
 #define     D32_FLOAT                                          1
 #define     D24_UNORM_X8_UINT                                  3
 #define     D16_UNORM                                          5
@@ -1677,7 +1720,7 @@ struct GEN75_3DSTATE_DEPTH_BUFFER {
 
 static inline void
 GEN75_3DSTATE_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_3DSTATE_DEPTH_BUFFER * restrict values)
+                                const struct GEN75_3DSTATE_DEPTH_BUFFER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1729,7 +1772,6 @@ GEN75_3DSTATE_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length 0x00000002
 #define GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length_bias 0x00000002
 #define GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_header\
    .CommandType          =  3,                  \
@@ -1738,6 +1780,8 @@ GEN75_3DSTATE_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 37,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length 0x00000002
+
 struct GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1749,7 +1793,7 @@ struct GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS {
 
 static inline void
 GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
-                                              const struct GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS * restrict values)
+                                                const struct GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1768,7 +1812,6 @@ GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_pack(__gen_user_data *data, void * re
 
 }
 
-#define GEN75_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
 #define GEN75_3DSTATE_DRAWING_RECTANGLE_length_bias 0x00000002
 #define GEN75_3DSTATE_DRAWING_RECTANGLE_header  \
    .CommandType          =  3,                  \
@@ -1777,6 +1820,8 @@ GEN75_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_pack(__gen_user_data *data, void * re
    ._3DCommandSubOpcode  =  0,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
+
 struct GEN75_3DSTATE_DRAWING_RECTANGLE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1797,7 +1842,7 @@ struct GEN75_3DSTATE_DRAWING_RECTANGLE {
 
 static inline void
 GEN75_3DSTATE_DRAWING_RECTANGLE_pack(__gen_user_data *data, void * restrict dst,
-                                   const struct GEN75_3DSTATE_DRAWING_RECTANGLE * restrict values)
+                                     const struct GEN75_3DSTATE_DRAWING_RECTANGLE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1827,7 +1872,6 @@ GEN75_3DSTATE_DRAWING_RECTANGLE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_DS_length 0x00000006
 #define GEN75_3DSTATE_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_DS_header                 \
    .CommandType          =  3,                  \
@@ -1836,6 +1880,8 @@ GEN75_3DSTATE_DRAWING_RECTANGLE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 29,                  \
    .DwordLength          =  4
 
+#define GEN75_3DSTATE_DS_length 0x00000006
+
 struct GEN75_3DSTATE_DS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -1862,24 +1908,24 @@ struct GEN75_3DSTATE_DS {
 #define     IEEE754                                            0
 #define     Alternate                                          1
    uint32_t                                     FloatingPointMode;
-   uint32_t                                     AccessesUAV;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         AccessesUAV;
+   bool                                         IllegalOpcodeExceptionEnable;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     ScratchSpaceBasePointer;
    uint32_t                                     PerThreadScratchSpace;
    uint32_t                                     DispatchGRFStartRegisterForURBData;
    uint32_t                                     PatchURBEntryReadLength;
    uint32_t                                     PatchURBEntryReadOffset;
    uint32_t                                     MaximumNumberofThreads;
-   uint32_t                                     StatisticsEnable;
-   uint32_t                                     ComputeWCoordinateEnable;
-   uint32_t                                     DSCacheDisable;
-   uint32_t                                     DSFunctionEnable;
+   bool                                         StatisticsEnable;
+   bool                                         ComputeWCoordinateEnable;
+   bool                                         DSCacheDisable;
+   bool                                         DSFunctionEnable;
 };
 
 static inline void
 GEN75_3DSTATE_DS_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_DS * restrict values)
+                      const struct GEN75_3DSTATE_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1935,6 +1981,10 @@ GEN75_3DSTATE_DS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 55
 
+#define GEN75_3DSTATE_GATHER_CONSTANT_DS_length 0x00000000
+
+#define GEN75_GATHER_CONSTANT_ENTRY_length 0x00000001
+
 struct GEN75_GATHER_CONSTANT_ENTRY {
    uint32_t                                     ConstantBufferOffset;
    uint32_t                                     ChannelMask;
@@ -1943,7 +1993,7 @@ struct GEN75_GATHER_CONSTANT_ENTRY {
 
 static inline void
 GEN75_GATHER_CONSTANT_ENTRY_pack(__gen_user_data *data, void * restrict dst,
-                               const struct GEN75_GATHER_CONSTANT_ENTRY * restrict values)
+                                 const struct GEN75_GATHER_CONSTANT_ENTRY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -1969,7 +2019,7 @@ struct GEN75_3DSTATE_GATHER_CONSTANT_DS {
 
 static inline void
 GEN75_3DSTATE_GATHER_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_GATHER_CONSTANT_DS * restrict values)
+                                      const struct GEN75_3DSTATE_GATHER_CONSTANT_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2000,6 +2050,8 @@ GEN75_3DSTATE_GATHER_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 53
 
+#define GEN75_3DSTATE_GATHER_CONSTANT_GS_length 0x00000000
+
 struct GEN75_3DSTATE_GATHER_CONSTANT_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2014,7 +2066,7 @@ struct GEN75_3DSTATE_GATHER_CONSTANT_GS {
 
 static inline void
 GEN75_3DSTATE_GATHER_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_GATHER_CONSTANT_GS * restrict values)
+                                      const struct GEN75_3DSTATE_GATHER_CONSTANT_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2045,6 +2097,8 @@ GEN75_3DSTATE_GATHER_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 54
 
+#define GEN75_3DSTATE_GATHER_CONSTANT_HS_length 0x00000000
+
 struct GEN75_3DSTATE_GATHER_CONSTANT_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2059,7 +2113,7 @@ struct GEN75_3DSTATE_GATHER_CONSTANT_HS {
 
 static inline void
 GEN75_3DSTATE_GATHER_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_GATHER_CONSTANT_HS * restrict values)
+                                      const struct GEN75_3DSTATE_GATHER_CONSTANT_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2090,6 +2144,8 @@ GEN75_3DSTATE_GATHER_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 56
 
+#define GEN75_3DSTATE_GATHER_CONSTANT_PS_length 0x00000000
+
 struct GEN75_3DSTATE_GATHER_CONSTANT_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2099,13 +2155,13 @@ struct GEN75_3DSTATE_GATHER_CONSTANT_PS {
    uint32_t                                     ConstantBufferValid;
    uint32_t                                     ConstantBufferBindingTableBlock;
    uint32_t                                     GatherBufferOffset;
-   uint32_t                                     ConstantBufferDx9Enable;
+   bool                                         ConstantBufferDx9Enable;
    /* variable length fields follow */
 };
 
 static inline void
 GEN75_3DSTATE_GATHER_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_GATHER_CONSTANT_PS * restrict values)
+                                      const struct GEN75_3DSTATE_GATHER_CONSTANT_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2137,6 +2193,8 @@ GEN75_3DSTATE_GATHER_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 52
 
+#define GEN75_3DSTATE_GATHER_CONSTANT_VS_length 0x00000000
+
 struct GEN75_3DSTATE_GATHER_CONSTANT_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2146,13 +2204,13 @@ struct GEN75_3DSTATE_GATHER_CONSTANT_VS {
    uint32_t                                     ConstantBufferValid;
    uint32_t                                     ConstantBufferBindingTableBlock;
    uint32_t                                     GatherBufferOffset;
-   uint32_t                                     ConstantBufferDx9Enable;
+   bool                                         ConstantBufferDx9Enable;
    /* variable length fields follow */
 };
 
 static inline void
 GEN75_3DSTATE_GATHER_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_3DSTATE_GATHER_CONSTANT_VS * restrict values)
+                                      const struct GEN75_3DSTATE_GATHER_CONSTANT_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2177,7 +2235,6 @@ GEN75_3DSTATE_GATHER_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst
    /* variable length fields follow */
 }
 
-#define GEN75_3DSTATE_GATHER_POOL_ALLOC_length 0x00000003
 #define GEN75_3DSTATE_GATHER_POOL_ALLOC_length_bias 0x00000002
 #define GEN75_3DSTATE_GATHER_POOL_ALLOC_header  \
    .CommandType          =  3,                  \
@@ -2186,6 +2243,8 @@ GEN75_3DSTATE_GATHER_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst
    ._3DCommandSubOpcode  = 26,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_GATHER_POOL_ALLOC_length 0x00000003
+
 struct GEN75_3DSTATE_GATHER_POOL_ALLOC {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2193,14 +2252,14 @@ struct GEN75_3DSTATE_GATHER_POOL_ALLOC {
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
    __gen_address_type                           GatherPoolBaseAddress;
-   uint32_t                                     GatherPoolEnable;
+   bool                                         GatherPoolEnable;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     MemoryObjectControlState;
    __gen_address_type                           GatherPoolUpperBound;
 };
 
 static inline void
 GEN75_3DSTATE_GATHER_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
-                                   const struct GEN75_3DSTATE_GATHER_POOL_ALLOC * restrict values)
+                                     const struct GEN75_3DSTATE_GATHER_POOL_ALLOC * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2231,7 +2290,6 @@ GEN75_3DSTATE_GATHER_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_GS_length 0x00000007
 #define GEN75_3DSTATE_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_GS_header                 \
    .CommandType          =  3,                  \
@@ -2240,6 +2298,8 @@ GEN75_3DSTATE_GATHER_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 17,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_GS_length 0x00000007
+
 struct GEN75_3DSTATE_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2264,16 +2324,16 @@ struct GEN75_3DSTATE_GS {
 #define     IEEE754                                            0
 #define     alternate                                          1
    uint32_t                                     FloatingPointMode;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
+   bool                                         IllegalOpcodeExceptionEnable;
    uint32_t                                     GSaccessesUAV;
-   uint32_t                                     MaskStackExceptionEnable;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         MaskStackExceptionEnable;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     ScratchSpaceBasePointer;
    uint32_t                                     PerThreadScratchSpace;
    uint32_t                                     OutputVertexSize;
    uint32_t                                     OutputTopology;
    uint32_t                                     VertexURBEntryReadLength;
-   uint32_t                                     IncludeVertexHandles;
+   bool                                         IncludeVertexHandles;
    uint32_t                                     VertexURBEntryReadOffset;
    uint32_t                                     DispatchGRFStartRegisterforURBData;
    uint32_t                                     MaximumNumberofThreads;
@@ -2286,13 +2346,13 @@ struct GEN75_3DSTATE_GS {
    uint32_t                                     DispatchMode;
    uint32_t                                     GSStatisticsEnable;
    uint32_t                                     GSInvocationsIncrementValue;
-   uint32_t                                     IncludePrimitiveID;
+   bool                                         IncludePrimitiveID;
    uint32_t                                     Hint;
 #define     REORDER_LEADING                                    0
 #define     REORDER_TRAILING                                   1
    uint32_t                                     ReorderMode;
-   uint32_t                                     DiscardAdjacency;
-   uint32_t                                     GSEnable;
+   bool                                         DiscardAdjacency;
+   bool                                         GSEnable;
 #define     GSCTL_CUT                                          0
 #define     GSCTL_SID                                          1
    uint32_t                                     ControlDataFormat;
@@ -2301,7 +2361,7 @@ struct GEN75_3DSTATE_GS {
 
 static inline void
 GEN75_3DSTATE_GS_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_GS * restrict values)
+                      const struct GEN75_3DSTATE_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2366,7 +2426,6 @@ GEN75_3DSTATE_GS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000003
 #define GEN75_3DSTATE_HIER_DEPTH_BUFFER_length_bias 0x00000002
 #define GEN75_3DSTATE_HIER_DEPTH_BUFFER_header  \
    .CommandType          =  3,                  \
@@ -2375,6 +2434,8 @@ GEN75_3DSTATE_GS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  7,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000003
+
 struct GEN75_3DSTATE_HIER_DEPTH_BUFFER {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2388,7 +2449,7 @@ struct GEN75_3DSTATE_HIER_DEPTH_BUFFER {
 
 static inline void
 GEN75_3DSTATE_HIER_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
-                                   const struct GEN75_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
+                                     const struct GEN75_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2415,7 +2476,6 @@ GEN75_3DSTATE_HIER_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_HS_length 0x00000007
 #define GEN75_3DSTATE_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_HS_header                 \
    .CommandType          =  3,                  \
@@ -2424,6 +2484,8 @@ GEN75_3DSTATE_HIER_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 27,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_HS_length 0x00000007
+
 struct GEN75_3DSTATE_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2443,11 +2505,11 @@ struct GEN75_3DSTATE_HS {
 #define     IEEE754                                            0
 #define     alternate                                          1
    uint32_t                                     FloatingPointMode;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         IllegalOpcodeExceptionEnable;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     MaximumNumberofThreads;
-   uint32_t                                     Enable;
-   uint32_t                                     StatisticsEnable;
+   bool                                         Enable;
+   bool                                         StatisticsEnable;
    uint32_t                                     InstanceCount;
    uint32_t                                     KernelStartPointer;
    uint32_t                                     ScratchSpaceBasePointer;
@@ -2456,8 +2518,8 @@ struct GEN75_3DSTATE_HS {
 #define     Dmask                                              0
 #define     Vmask                                              1
    uint32_t                                     VectorMaskEnable;
-   uint32_t                                     HSaccessesUAV;
-   uint32_t                                     IncludeVertexHandles;
+   bool                                         HSaccessesUAV;
+   bool                                         IncludeVertexHandles;
    uint32_t                                     DispatchGRFStartRegisterForURBData;
    uint32_t                                     VertexURBEntryReadLength;
    uint32_t                                     VertexURBEntryReadOffset;
@@ -2466,7 +2528,7 @@ struct GEN75_3DSTATE_HS {
 
 static inline void
 GEN75_3DSTATE_HS_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_HS * restrict values)
+                      const struct GEN75_3DSTATE_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2519,7 +2581,6 @@ GEN75_3DSTATE_HS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_INDEX_BUFFER_length 0x00000003
 #define GEN75_3DSTATE_INDEX_BUFFER_length_bias 0x00000002
 #define GEN75_3DSTATE_INDEX_BUFFER_header       \
    .CommandType          =  3,                  \
@@ -2528,6 +2589,8 @@ GEN75_3DSTATE_HS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 10,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_INDEX_BUFFER_length 0x00000003
+
 struct GEN75_3DSTATE_INDEX_BUFFER {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2545,7 +2608,7 @@ struct GEN75_3DSTATE_INDEX_BUFFER {
 
 static inline void
 GEN75_3DSTATE_INDEX_BUFFER_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_3DSTATE_INDEX_BUFFER * restrict values)
+                                const struct GEN75_3DSTATE_INDEX_BUFFER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2575,7 +2638,6 @@ GEN75_3DSTATE_INDEX_BUFFER_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_LINE_STIPPLE_length 0x00000003
 #define GEN75_3DSTATE_LINE_STIPPLE_length_bias 0x00000002
 #define GEN75_3DSTATE_LINE_STIPPLE_header       \
    .CommandType          =  3,                  \
@@ -2584,13 +2646,15 @@ GEN75_3DSTATE_INDEX_BUFFER_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  8,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_LINE_STIPPLE_length 0x00000003
+
 struct GEN75_3DSTATE_LINE_STIPPLE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
-   uint32_t                                     ModifyEnableCurrentRepeatCounterCurrentStippleIndex;
+   bool                                         ModifyEnableCurrentRepeatCounterCurrentStippleIndex;
    uint32_t                                     CurrentRepeatCounter;
    uint32_t                                     CurrentStippleIndex;
    uint32_t                                     LineStipplePattern;
@@ -2600,7 +2664,7 @@ struct GEN75_3DSTATE_LINE_STIPPLE {
 
 static inline void
 GEN75_3DSTATE_LINE_STIPPLE_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_3DSTATE_LINE_STIPPLE * restrict values)
+                                const struct GEN75_3DSTATE_LINE_STIPPLE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2626,7 +2690,6 @@ GEN75_3DSTATE_LINE_STIPPLE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_MONOFILTER_SIZE_length 0x00000002
 #define GEN75_3DSTATE_MONOFILTER_SIZE_length_bias 0x00000002
 #define GEN75_3DSTATE_MONOFILTER_SIZE_header    \
    .CommandType          =  3,                  \
@@ -2635,6 +2698,8 @@ GEN75_3DSTATE_LINE_STIPPLE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 17,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_MONOFILTER_SIZE_length 0x00000002
+
 struct GEN75_3DSTATE_MONOFILTER_SIZE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2647,7 +2712,7 @@ struct GEN75_3DSTATE_MONOFILTER_SIZE {
 
 static inline void
 GEN75_3DSTATE_MONOFILTER_SIZE_pack(__gen_user_data *data, void * restrict dst,
-                                 const struct GEN75_3DSTATE_MONOFILTER_SIZE * restrict values)
+                                   const struct GEN75_3DSTATE_MONOFILTER_SIZE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2666,7 +2731,6 @@ GEN75_3DSTATE_MONOFILTER_SIZE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_MULTISAMPLE_length 0x00000004
 #define GEN75_3DSTATE_MULTISAMPLE_length_bias 0x00000002
 #define GEN75_3DSTATE_MULTISAMPLE_header        \
    .CommandType          =  3,                  \
@@ -2675,13 +2739,15 @@ GEN75_3DSTATE_MONOFILTER_SIZE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 13,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_MULTISAMPLE_length 0x00000004
+
 struct GEN75_3DSTATE_MULTISAMPLE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
-   uint32_t                                     MultiSampleEnable;
+   bool                                         MultiSampleEnable;
 #define     PIXLOC_CENTER                                      0
 #define     PIXLOC_UL_CORNER                                   1
    uint32_t                                     PixelLocation;
@@ -2709,7 +2775,7 @@ struct GEN75_3DSTATE_MULTISAMPLE {
 
 static inline void
 GEN75_3DSTATE_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_MULTISAMPLE * restrict values)
+                               const struct GEN75_3DSTATE_MULTISAMPLE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2751,7 +2817,6 @@ GEN75_3DSTATE_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
 #define GEN75_3DSTATE_POLY_STIPPLE_OFFSET_length_bias 0x00000002
 #define GEN75_3DSTATE_POLY_STIPPLE_OFFSET_header\
    .CommandType          =  3,                  \
@@ -2760,6 +2825,8 @@ GEN75_3DSTATE_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  6,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
+
 struct GEN75_3DSTATE_POLY_STIPPLE_OFFSET {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2772,7 +2839,7 @@ struct GEN75_3DSTATE_POLY_STIPPLE_OFFSET {
 
 static inline void
 GEN75_3DSTATE_POLY_STIPPLE_OFFSET_pack(__gen_user_data *data, void * restrict dst,
-                                     const struct GEN75_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
+                                       const struct GEN75_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2791,7 +2858,6 @@ GEN75_3DSTATE_POLY_STIPPLE_OFFSET_pack(__gen_user_data *data, void * restrict ds
 
 }
 
-#define GEN75_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
 #define GEN75_3DSTATE_POLY_STIPPLE_PATTERN_length_bias 0x00000002
 #define GEN75_3DSTATE_POLY_STIPPLE_PATTERN_header\
    .CommandType          =  3,                  \
@@ -2800,18 +2866,20 @@ GEN75_3DSTATE_POLY_STIPPLE_OFFSET_pack(__gen_user_data *data, void * restrict ds
    ._3DCommandSubOpcode  =  7,                  \
    .DwordLength          = 31
 
+#define GEN75_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
+
 struct GEN75_3DSTATE_POLY_STIPPLE_PATTERN {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
-   uint32_t                                     PatternRow;
+   uint32_t                                     PatternRow[32];
 };
 
 static inline void
 GEN75_3DSTATE_POLY_STIPPLE_PATTERN_pack(__gen_user_data *data, void * restrict dst,
-                                      const struct GEN75_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
+                                        const struct GEN75_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2823,13 +2891,14 @@ GEN75_3DSTATE_POLY_STIPPLE_PATTERN_pack(__gen_user_data *data, void * restrict d
       __gen_field(values->DwordLength, 0, 7) |
       0;
 
-   dw[1] =
-      __gen_field(values->PatternRow, 0, 31) |
-      0;
+   for (uint32_t i = 0, j = 1; i < 32; i += 1, j++) {
+      dw[j] =
+         __gen_field(values->PatternRow[i + 0], 0, 31) |
+         0;
+   }
 
 }
 
-#define GEN75_3DSTATE_PS_length 0x00000008
 #define GEN75_3DSTATE_PS_length_bias 0x00000002
 #define GEN75_3DSTATE_PS_header                 \
    .CommandType          =  3,                  \
@@ -2838,6 +2907,8 @@ GEN75_3DSTATE_POLY_STIPPLE_PATTERN_pack(__gen_user_data *data, void * restrict d
    ._3DCommandSubOpcode  = 32,                  \
    .DwordLength          =  6
 
+#define GEN75_3DSTATE_PS_length 0x00000008
+
 struct GEN75_3DSTATE_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2867,27 +2938,27 @@ struct GEN75_3DSTATE_PS {
 #define     RD                                                 2
 #define     RTZ                                                3
    uint32_t                                     RoundingMode;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
-   uint32_t                                     MaskStackExceptionEnable;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         IllegalOpcodeExceptionEnable;
+   bool                                         MaskStackExceptionEnable;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     ScratchSpaceBasePointer;
    uint32_t                                     PerThreadScratchSpace;
    uint32_t                                     MaximumNumberofThreads;
    uint32_t                                     SampleMask;
-   uint32_t                                     PushConstantEnable;
-   uint32_t                                     AttributeEnable;
-   uint32_t                                     oMaskPresenttoRenderTarget;
-   uint32_t                                     RenderTargetFastClearEnable;
-   uint32_t                                     DualSourceBlendEnable;
-   uint32_t                                     RenderTargetResolveEnable;
-   uint32_t                                     PSAccessesUAV;
+   bool                                         PushConstantEnable;
+   bool                                         AttributeEnable;
+   bool                                         oMaskPresenttoRenderTarget;
+   bool                                         RenderTargetFastClearEnable;
+   bool                                         DualSourceBlendEnable;
+   bool                                         RenderTargetResolveEnable;
+   bool                                         PSAccessesUAV;
 #define     POSOFFSET_NONE                                     0
 #define     POSOFFSET_CENTROID                                 2
 #define     POSOFFSET_SAMPLE                                   3
    uint32_t                                     PositionXYOffsetSelect;
-   uint32_t                                     _32PixelDispatchEnable;
-   uint32_t                                     _16PixelDispatchEnable;
-   uint32_t                                     _8PixelDispatchEnable;
+   bool                                         _32PixelDispatchEnable;
+   bool                                         _16PixelDispatchEnable;
+   bool                                         _8PixelDispatchEnable;
    uint32_t                                     DispatchGRFStartRegisterforConstantSetupData0;
    uint32_t                                     DispatchGRFStartRegisterforConstantSetupData1;
    uint32_t                                     DispatchGRFStartRegisterforConstantSetupData2;
@@ -2897,7 +2968,7 @@ struct GEN75_3DSTATE_PS {
 
 static inline void
 GEN75_3DSTATE_PS_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_PS * restrict values)
+                      const struct GEN75_3DSTATE_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -2964,7 +3035,6 @@ GEN75_3DSTATE_PS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_header\
    .CommandType          =  3,                  \
@@ -2973,6 +3043,8 @@ GEN75_3DSTATE_PS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 20,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
+
 struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -2985,7 +3057,7 @@ struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS {
 
 static inline void
 GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
+                                          const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3004,7 +3076,6 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_header\
    .CommandType          =  3,                  \
@@ -3013,6 +3084,8 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_DS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 21,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
+
 struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3025,7 +3098,7 @@ struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS {
 
 static inline void
 GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
+                                          const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3044,7 +3117,6 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_header\
    .CommandType          =  3,                  \
@@ -3053,6 +3125,8 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_GS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 19,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
+
 struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3065,7 +3139,7 @@ struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS {
 
 static inline void
 GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
+                                          const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3084,7 +3158,6 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length_bias 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_header\
    .CommandType          =  3,                  \
@@ -3093,6 +3166,8 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_HS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 22,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
+
 struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3105,7 +3180,7 @@ struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS {
 
 static inline void
 GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
+                                          const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3124,7 +3199,6 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_header\
    .CommandType          =  3,                  \
@@ -3133,6 +3207,8 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_PS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 18,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
+
 struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3145,7 +3221,7 @@ struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS {
 
 static inline void
 GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
+                                          const struct GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3164,7 +3240,6 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_RAST_MULTISAMPLE_length 0x00000006
 #define GEN75_3DSTATE_RAST_MULTISAMPLE_length_bias 0x00000002
 #define GEN75_3DSTATE_RAST_MULTISAMPLE_header   \
    .CommandType          =  3,                  \
@@ -3173,6 +3248,8 @@ GEN75_3DSTATE_PUSH_CONSTANT_ALLOC_VS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 14,                  \
    .DwordLength          =  4
 
+#define GEN75_3DSTATE_RAST_MULTISAMPLE_length 0x00000006
+
 struct GEN75_3DSTATE_RAST_MULTISAMPLE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3221,7 +3298,7 @@ struct GEN75_3DSTATE_RAST_MULTISAMPLE {
 
 static inline void
 GEN75_3DSTATE_RAST_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
-                                  const struct GEN75_3DSTATE_RAST_MULTISAMPLE * restrict values)
+                                    const struct GEN75_3DSTATE_RAST_MULTISAMPLE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3290,6 +3367,10 @@ GEN75_3DSTATE_RAST_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  1,                  \
    ._3DCommandSubOpcode  =  2
 
+#define GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0_length 0x00000000
+
+#define GEN75_PALETTE_ENTRY_length 0x00000001
+
 struct GEN75_PALETTE_ENTRY {
    uint32_t                                     Alpha;
    uint32_t                                     Red;
@@ -3299,7 +3380,7 @@ struct GEN75_PALETTE_ENTRY {
 
 static inline void
 GEN75_PALETTE_ENTRY_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_PALETTE_ENTRY * restrict values)
+                         const struct GEN75_PALETTE_ENTRY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3323,7 +3404,7 @@ struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0 {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
+                                         const struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3345,6 +3426,8 @@ GEN75_3DSTATE_SAMPLER_PALETTE_LOAD0_pack(__gen_user_data *data, void * restrict
    ._3DCommandOpcode     =  1,                  \
    ._3DCommandSubOpcode  = 12
 
+#define GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1_length 0x00000000
+
 struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1 {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3356,7 +3439,7 @@ struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1 {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1_pack(__gen_user_data *data, void * restrict dst,
-                                       const struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
+                                         const struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3371,7 +3454,6 @@ GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1_pack(__gen_user_data *data, void * restrict
    /* variable length fields follow */
 }
 
-#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_header\
    .CommandType          =  3,                  \
@@ -3380,6 +3462,8 @@ GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 45,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3391,7 +3475,7 @@ struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
+                                             const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3409,7 +3493,6 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_header\
    .CommandType          =  3,                  \
@@ -3418,6 +3501,8 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_DS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 46,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3429,7 +3514,7 @@ struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
+                                             const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3447,7 +3532,6 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_header\
    .CommandType          =  3,                  \
@@ -3456,6 +3540,8 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_GS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 44,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3467,7 +3553,7 @@ struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
+                                             const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3485,7 +3571,6 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_header\
    .CommandType          =  3,                  \
@@ -3494,6 +3579,8 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_HS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 47,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3505,7 +3592,7 @@ struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
+                                             const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3523,7 +3610,6 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_header\
    .CommandType          =  3,                  \
@@ -3532,6 +3618,8 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_PS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 43,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3543,7 +3631,7 @@ struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS {
 
 static inline void
 GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
-                                           const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
+                                             const struct GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3561,7 +3649,6 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_pack(__gen_user_data *data, void * restr
 
 }
 
-#define GEN75_3DSTATE_SAMPLE_MASK_length 0x00000002
 #define GEN75_3DSTATE_SAMPLE_MASK_length_bias 0x00000002
 #define GEN75_3DSTATE_SAMPLE_MASK_header        \
    .CommandType          =  3,                  \
@@ -3570,6 +3657,8 @@ GEN75_3DSTATE_SAMPLER_STATE_POINTERS_VS_pack(__gen_user_data *data, void * restr
    ._3DCommandSubOpcode  = 24,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SAMPLE_MASK_length 0x00000002
+
 struct GEN75_3DSTATE_SAMPLE_MASK {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3581,7 +3670,7 @@ struct GEN75_3DSTATE_SAMPLE_MASK {
 
 static inline void
 GEN75_3DSTATE_SAMPLE_MASK_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_3DSTATE_SAMPLE_MASK * restrict values)
+                               const struct GEN75_3DSTATE_SAMPLE_MASK * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3599,7 +3688,6 @@ GEN75_3DSTATE_SAMPLE_MASK_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_SBE_length 0x0000000e
 #define GEN75_3DSTATE_SBE_length_bias 0x00000002
 #define GEN75_3DSTATE_SBE_header                \
    .CommandType          =  3,                  \
@@ -3608,6 +3696,8 @@ GEN75_3DSTATE_SAMPLE_MASK_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 31,                  \
    .DwordLength          = 12
 
+#define GEN75_3DSTATE_SBE_length 0x0000000e
+
 struct GEN75_3DSTATE_SBE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3616,16 +3706,16 @@ struct GEN75_3DSTATE_SBE {
    uint32_t                                     DwordLength;
    uint32_t                                     AttributeSwizzleControlMode;
    uint32_t                                     NumberofSFOutputAttributes;
-   uint32_t                                     AttributeSwizzleEnable;
+   bool                                         AttributeSwizzleEnable;
 #define     UPPERLEFT                                          0
 #define     LOWERLEFT                                          1
    uint32_t                                     PointSpriteTextureCoordinateOrigin;
    uint32_t                                     VertexURBEntryReadLength;
    uint32_t                                     VertexURBEntryReadOffset;
-   uint32_t                                     Attribute2n1ComponentOverrideW;
-   uint32_t                                     Attribute2n1ComponentOverrideZ;
-   uint32_t                                     Attribute2n1ComponentOverrideY;
-   uint32_t                                     Attribute2n1ComponentOverrideX;
+   bool                                         Attribute2n1ComponentOverrideW;
+   bool                                         Attribute2n1ComponentOverrideZ;
+   bool                                         Attribute2n1ComponentOverrideY;
+   bool                                         Attribute2n1ComponentOverrideX;
 #define     CONST_0000                                         0
 #define     CONST_0001_FLOAT                                   1
 #define     CONST_1111_FLOAT                                   2
@@ -3637,10 +3727,10 @@ struct GEN75_3DSTATE_SBE {
 #define     INPUTATTR_FACING_W                                 3
    uint32_t                                     Attribute2n1SwizzleSelect;
    uint32_t                                     Attribute2n1SourceAttribute;
-   uint32_t                                     Attribute2nComponentOverrideW;
-   uint32_t                                     Attribute2nComponentOverrideZ;
-   uint32_t                                     Attribute2nComponentOverrideY;
-   uint32_t                                     Attribute2nComponentOverrideX;
+   bool                                         Attribute2nComponentOverrideW;
+   bool                                         Attribute2nComponentOverrideZ;
+   bool                                         Attribute2nComponentOverrideY;
+   bool                                         Attribute2nComponentOverrideX;
 #define     CONST_0000                                         0
 #define     CONST_0001_FLOAT                                   1
 #define     CONST_1111_FLOAT                                   2
@@ -3674,7 +3764,7 @@ struct GEN75_3DSTATE_SBE {
 
 static inline void
 GEN75_3DSTATE_SBE_pack(__gen_user_data *data, void * restrict dst,
-                     const struct GEN75_3DSTATE_SBE * restrict values)
+                       const struct GEN75_3DSTATE_SBE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3744,7 +3834,6 @@ GEN75_3DSTATE_SBE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
 #define GEN75_3DSTATE_SCISSOR_STATE_POINTERS_length_bias 0x00000002
 #define GEN75_3DSTATE_SCISSOR_STATE_POINTERS_header\
    .CommandType          =  3,                  \
@@ -3753,6 +3842,8 @@ GEN75_3DSTATE_SBE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 15,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
+
 struct GEN75_3DSTATE_SCISSOR_STATE_POINTERS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3764,7 +3855,7 @@ struct GEN75_3DSTATE_SCISSOR_STATE_POINTERS {
 
 static inline void
 GEN75_3DSTATE_SCISSOR_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
-                                        const struct GEN75_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
+                                          const struct GEN75_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3782,7 +3873,6 @@ GEN75_3DSTATE_SCISSOR_STATE_POINTERS_pack(__gen_user_data *data, void * restrict
 
 }
 
-#define GEN75_3DSTATE_SF_length 0x00000007
 #define GEN75_3DSTATE_SF_length_bias 0x00000002
 #define GEN75_3DSTATE_SF_header                 \
    .CommandType          =  3,                  \
@@ -3791,6 +3881,8 @@ GEN75_3DSTATE_SCISSOR_STATE_POINTERS_pack(__gen_user_data *data, void * restrict
    ._3DCommandSubOpcode  = 19,                  \
    .DwordLength          =  5
 
+#define GEN75_3DSTATE_SF_length 0x00000007
+
 struct GEN75_3DSTATE_SF {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3803,11 +3895,11 @@ struct GEN75_3DSTATE_SF {
 #define     D24_UNORM_X8_UINT                                  3
 #define     D16_UNORM                                          5
    uint32_t                                     DepthBufferSurfaceFormat;
-   uint32_t                                     LegacyGlobalDepthBiasEnable;
-   uint32_t                                     StatisticsEnable;
-   uint32_t                                     GlobalDepthOffsetEnableSolid;
-   uint32_t                                     GlobalDepthOffsetEnableWireframe;
-   uint32_t                                     GlobalDepthOffsetEnablePoint;
+   bool                                         LegacyGlobalDepthBiasEnable;
+   bool                                         StatisticsEnable;
+   bool                                         GlobalDepthOffsetEnableSolid;
+   bool                                         GlobalDepthOffsetEnableWireframe;
+   bool                                         GlobalDepthOffsetEnablePoint;
 #define     RASTER_SOLID                                       0
 #define     RASTER_WIREFRAME                                   1
 #define     RASTER_POINT                                       2
@@ -3816,9 +3908,9 @@ struct GEN75_3DSTATE_SF {
 #define     RASTER_WIREFRAME                                   1
 #define     RASTER_POINT                                       2
    uint32_t                                     BackFaceFillMode;
-   uint32_t                                     ViewTransformEnable;
+   bool                                         ViewTransformEnable;
    uint32_t                                     FrontWinding;
-   uint32_t                                     AntiAliasingEnable;
+   bool                                         AntiAliasingEnable;
 #define     CULLMODE_BOTH                                      0
 #define     CULLMODE_NONE                                      1
 #define     CULLMODE_FRONT                                     2
@@ -3826,11 +3918,11 @@ struct GEN75_3DSTATE_SF {
    uint32_t                                     CullMode;
    float                                        LineWidth;
    uint32_t                                     LineEndCapAntialiasingRegionWidth;
-   uint32_t                                     LineStippleEnable;
-   uint32_t                                     ScissorRectangleEnable;
-   uint32_t                                     RTIndependentRasterizationEnable;
+   bool                                         LineStippleEnable;
+   bool                                         ScissorRectangleEnable;
+   bool                                         RTIndependentRasterizationEnable;
    uint32_t                                     MultisampleRasterizationMode;
-   uint32_t                                     LastPixelEnable;
+   bool                                         LastPixelEnable;
 #define     Vertex0                                            0
 #define     Vertex1                                            1
 #define     Vertex2                                            2
@@ -3845,14 +3937,14 @@ struct GEN75_3DSTATE_SF {
    uint32_t                                     VertexSubPixelPrecisionSelect;
    uint32_t                                     UsePointWidthState;
    float                                        PointWidth;
-   uint32_t                                     GlobalDepthOffsetConstant;
-   uint32_t                                     GlobalDepthOffsetScale;
-   uint32_t                                     GlobalDepthOffsetClamp;
+   float                                        GlobalDepthOffsetConstant;
+   float                                        GlobalDepthOffsetScale;
+   float                                        GlobalDepthOffsetClamp;
 };
 
 static inline void
 GEN75_3DSTATE_SF_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_SF * restrict values)
+                      const struct GEN75_3DSTATE_SF * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3900,20 +3992,19 @@ GEN75_3DSTATE_SF_pack(__gen_user_data *data, void * restrict dst,
       0;
 
    dw[4] =
-      __gen_field(values->GlobalDepthOffsetConstant, 0, 31) |
+      __gen_float(values->GlobalDepthOffsetConstant) |
       0;
 
    dw[5] =
-      __gen_field(values->GlobalDepthOffsetScale, 0, 31) |
+      __gen_float(values->GlobalDepthOffsetScale) |
       0;
 
    dw[6] =
-      __gen_field(values->GlobalDepthOffsetClamp, 0, 31) |
+      __gen_float(values->GlobalDepthOffsetClamp) |
       0;
 
 }
 
-#define GEN75_3DSTATE_SO_BUFFER_length 0x00000004
 #define GEN75_3DSTATE_SO_BUFFER_length_bias 0x00000002
 #define GEN75_3DSTATE_SO_BUFFER_header          \
    .CommandType          =  3,                  \
@@ -3922,6 +4013,8 @@ GEN75_3DSTATE_SF_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 24,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_SO_BUFFER_length 0x00000004
+
 struct GEN75_3DSTATE_SO_BUFFER {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -3937,7 +4030,7 @@ struct GEN75_3DSTATE_SO_BUFFER {
 
 static inline void
 GEN75_3DSTATE_SO_BUFFER_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_3DSTATE_SO_BUFFER * restrict values)
+                             const struct GEN75_3DSTATE_SO_BUFFER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -3978,6 +4071,12 @@ GEN75_3DSTATE_SO_BUFFER_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  1,                  \
    ._3DCommandSubOpcode  = 23
 
+#define GEN75_3DSTATE_SO_DECL_LIST_length 0x00000000
+
+#define GEN75_SO_DECL_ENTRY_length 0x00000002
+
+#define GEN75_SO_DECL_length 0x00000001
+
 struct GEN75_SO_DECL {
    uint32_t                                     OutputBufferSlot;
    uint32_t                                     HoleFlag;
@@ -3987,7 +4086,7 @@ struct GEN75_SO_DECL {
 
 static inline void
 GEN75_SO_DECL_pack(__gen_user_data *data, void * restrict dst,
-                 const struct GEN75_SO_DECL * restrict values)
+                   const struct GEN75_SO_DECL * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4009,7 +4108,7 @@ struct GEN75_SO_DECL_ENTRY {
 
 static inline void
 GEN75_SO_DECL_ENTRY_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_SO_DECL_ENTRY * restrict values)
+                         const struct GEN75_SO_DECL_ENTRY * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4052,7 +4151,7 @@ struct GEN75_3DSTATE_SO_DECL_LIST {
 
 static inline void
 GEN75_3DSTATE_SO_DECL_LIST_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_3DSTATE_SO_DECL_LIST * restrict values)
+                                const struct GEN75_3DSTATE_SO_DECL_LIST * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4081,7 +4180,6 @@ GEN75_3DSTATE_SO_DECL_LIST_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_3DSTATE_STENCIL_BUFFER_length 0x00000003
 #define GEN75_3DSTATE_STENCIL_BUFFER_length_bias 0x00000002
 #define GEN75_3DSTATE_STENCIL_BUFFER_header     \
    .CommandType          =  3,                  \
@@ -4090,6 +4188,8 @@ GEN75_3DSTATE_SO_DECL_LIST_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  6,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_STENCIL_BUFFER_length 0x00000003
+
 struct GEN75_3DSTATE_STENCIL_BUFFER {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4104,7 +4204,7 @@ struct GEN75_3DSTATE_STENCIL_BUFFER {
 
 static inline void
 GEN75_3DSTATE_STENCIL_BUFFER_pack(__gen_user_data *data, void * restrict dst,
-                                const struct GEN75_3DSTATE_STENCIL_BUFFER * restrict values)
+                                  const struct GEN75_3DSTATE_STENCIL_BUFFER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4132,7 +4232,6 @@ GEN75_3DSTATE_STENCIL_BUFFER_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_STREAMOUT_length 0x00000003
 #define GEN75_3DSTATE_STREAMOUT_length_bias 0x00000002
 #define GEN75_3DSTATE_STREAMOUT_header          \
    .CommandType          =  3,                  \
@@ -4141,6 +4240,8 @@ GEN75_3DSTATE_STENCIL_BUFFER_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 30,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_STREAMOUT_length 0x00000003
+
 struct GEN75_3DSTATE_STREAMOUT {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4153,7 +4254,7 @@ struct GEN75_3DSTATE_STREAMOUT {
 #define     LEADING                                            0
 #define     TRAILING                                           1
    uint32_t                                     ReorderMode;
-   uint32_t                                     SOStatisticsEnable;
+   bool                                         SOStatisticsEnable;
    uint32_t                                     SOBufferEnable3;
    uint32_t                                     SOBufferEnable2;
    uint32_t                                     SOBufferEnable1;
@@ -4170,7 +4271,7 @@ struct GEN75_3DSTATE_STREAMOUT {
 
 static inline void
 GEN75_3DSTATE_STREAMOUT_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_3DSTATE_STREAMOUT * restrict values)
+                             const struct GEN75_3DSTATE_STREAMOUT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4207,7 +4308,6 @@ GEN75_3DSTATE_STREAMOUT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_TE_length 0x00000004
 #define GEN75_3DSTATE_TE_length_bias 0x00000002
 #define GEN75_3DSTATE_TE_header                 \
    .CommandType          =  3,                  \
@@ -4216,6 +4316,8 @@ GEN75_3DSTATE_STREAMOUT_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 28,                  \
    .DwordLength          =  2
 
+#define GEN75_3DSTATE_TE_length 0x00000004
+
 struct GEN75_3DSTATE_TE {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4227,9 +4329,9 @@ struct GEN75_3DSTATE_TE {
 #define     EVEN_FRACTIONAL                                    2
    uint32_t                                     Partitioning;
 #define     POINT                                              0
-#define     LINE                                               1
-#define     TRI_CW                                             2
-#define     TRI_CCW                                            3
+#define     OUTPUT_LINE                                        1
+#define     OUTPUT_TRI_CW                                      2
+#define     OUTPUT_TRI_CCW                                     3
    uint32_t                                     OutputTopology;
 #define     QUAD                                               0
 #define     TRI                                                1
@@ -4238,14 +4340,14 @@ struct GEN75_3DSTATE_TE {
 #define     HW_TESS                                            0
 #define     SW_TESS                                            1
    uint32_t                                     TEMode;
-   uint32_t                                     TEEnable;
+   bool                                         TEEnable;
    float                                        MaximumTessellationFactorOdd;
    float                                        MaximumTessellationFactorNotOdd;
 };
 
 static inline void
 GEN75_3DSTATE_TE_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_TE * restrict values)
+                      const struct GEN75_3DSTATE_TE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4275,7 +4377,6 @@ GEN75_3DSTATE_TE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_URB_DS_length 0x00000002
 #define GEN75_3DSTATE_URB_DS_length_bias 0x00000002
 #define GEN75_3DSTATE_URB_DS_header             \
    .CommandType          =  3,                  \
@@ -4284,6 +4385,8 @@ GEN75_3DSTATE_TE_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 50,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_URB_DS_length 0x00000002
+
 struct GEN75_3DSTATE_URB_DS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4297,7 +4400,7 @@ struct GEN75_3DSTATE_URB_DS {
 
 static inline void
 GEN75_3DSTATE_URB_DS_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_3DSTATE_URB_DS * restrict values)
+                          const struct GEN75_3DSTATE_URB_DS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4317,7 +4420,6 @@ GEN75_3DSTATE_URB_DS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_URB_GS_length 0x00000002
 #define GEN75_3DSTATE_URB_GS_length_bias 0x00000002
 #define GEN75_3DSTATE_URB_GS_header             \
    .CommandType          =  3,                  \
@@ -4326,6 +4428,8 @@ GEN75_3DSTATE_URB_DS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 51,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_URB_GS_length 0x00000002
+
 struct GEN75_3DSTATE_URB_GS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4339,7 +4443,7 @@ struct GEN75_3DSTATE_URB_GS {
 
 static inline void
 GEN75_3DSTATE_URB_GS_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_3DSTATE_URB_GS * restrict values)
+                          const struct GEN75_3DSTATE_URB_GS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4359,7 +4463,6 @@ GEN75_3DSTATE_URB_GS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_URB_HS_length 0x00000002
 #define GEN75_3DSTATE_URB_HS_length_bias 0x00000002
 #define GEN75_3DSTATE_URB_HS_header             \
    .CommandType          =  3,                  \
@@ -4368,6 +4471,8 @@ GEN75_3DSTATE_URB_GS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 49,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_URB_HS_length 0x00000002
+
 struct GEN75_3DSTATE_URB_HS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4381,7 +4486,7 @@ struct GEN75_3DSTATE_URB_HS {
 
 static inline void
 GEN75_3DSTATE_URB_HS_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_3DSTATE_URB_HS * restrict values)
+                          const struct GEN75_3DSTATE_URB_HS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4408,6 +4513,10 @@ GEN75_3DSTATE_URB_HS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  =  8
 
+#define GEN75_3DSTATE_VERTEX_BUFFERS_length 0x00000000
+
+#define GEN75_VERTEX_BUFFER_STATE_length 0x00000004
+
 struct GEN75_VERTEX_BUFFER_STATE {
    uint32_t                                     VertexBufferIndex;
 #define     VERTEXDATA                                         0
@@ -4415,7 +4524,7 @@ struct GEN75_VERTEX_BUFFER_STATE {
    uint32_t                                     BufferAccessType;
    struct GEN75_MEMORY_OBJECT_CONTROL_STATE     VertexBufferMemoryObjectControlState;
    uint32_t                                     AddressModifyEnable;
-   uint32_t                                     NullVertexBuffer;
+   bool                                         NullVertexBuffer;
    uint32_t                                     VertexFetchInvalidate;
    uint32_t                                     BufferPitch;
    __gen_address_type                           BufferStartingAddress;
@@ -4425,7 +4534,7 @@ struct GEN75_VERTEX_BUFFER_STATE {
 
 static inline void
 GEN75_VERTEX_BUFFER_STATE_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_VERTEX_BUFFER_STATE * restrict values)
+                               const struct GEN75_VERTEX_BUFFER_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4470,7 +4579,7 @@ struct GEN75_3DSTATE_VERTEX_BUFFERS {
 
 static inline void
 GEN75_3DSTATE_VERTEX_BUFFERS_pack(__gen_user_data *data, void * restrict dst,
-                                const struct GEN75_3DSTATE_VERTEX_BUFFERS * restrict values)
+                                  const struct GEN75_3DSTATE_VERTEX_BUFFERS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4492,11 +4601,15 @@ GEN75_3DSTATE_VERTEX_BUFFERS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  =  9
 
+#define GEN75_3DSTATE_VERTEX_ELEMENTS_length 0x00000000
+
+#define GEN75_VERTEX_ELEMENT_STATE_length 0x00000002
+
 struct GEN75_VERTEX_ELEMENT_STATE {
    uint32_t                                     VertexBufferIndex;
-   uint32_t                                     Valid;
+   bool                                         Valid;
    uint32_t                                     SourceElementFormat;
-   uint32_t                                     EdgeFlagEnable;
+   bool                                         EdgeFlagEnable;
    uint32_t                                     SourceElementOffset;
    uint32_t                                     Component0Control;
    uint32_t                                     Component1Control;
@@ -4506,7 +4619,7 @@ struct GEN75_VERTEX_ELEMENT_STATE {
 
 static inline void
 GEN75_VERTEX_ELEMENT_STATE_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_VERTEX_ELEMENT_STATE * restrict values)
+                                const struct GEN75_VERTEX_ELEMENT_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4538,7 +4651,7 @@ struct GEN75_3DSTATE_VERTEX_ELEMENTS {
 
 static inline void
 GEN75_3DSTATE_VERTEX_ELEMENTS_pack(__gen_user_data *data, void * restrict dst,
-                                 const struct GEN75_3DSTATE_VERTEX_ELEMENTS * restrict values)
+                                   const struct GEN75_3DSTATE_VERTEX_ELEMENTS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4553,7 +4666,6 @@ GEN75_3DSTATE_VERTEX_ELEMENTS_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_3DSTATE_VF_length 0x00000002
 #define GEN75_3DSTATE_VF_length_bias 0x00000002
 #define GEN75_3DSTATE_VF_header                 \
    .CommandType          =  3,                  \
@@ -4562,19 +4674,21 @@ GEN75_3DSTATE_VERTEX_ELEMENTS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 12,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_VF_length 0x00000002
+
 struct GEN75_3DSTATE_VF {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
-   uint32_t                                     IndexedDrawCutIndexEnable;
+   bool                                         IndexedDrawCutIndexEnable;
    uint32_t                                     DwordLength;
    uint32_t                                     CutIndex;
 };
 
 static inline void
 GEN75_3DSTATE_VF_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_VF * restrict values)
+                      const struct GEN75_3DSTATE_VF * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4593,7 +4707,6 @@ GEN75_3DSTATE_VF_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_VF_STATISTICS_length 0x00000001
 #define GEN75_3DSTATE_VF_STATISTICS_length_bias 0x00000001
 #define GEN75_3DSTATE_VF_STATISTICS_header      \
    .CommandType          =  3,                  \
@@ -4601,17 +4714,19 @@ GEN75_3DSTATE_VF_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandOpcode     =  0,                  \
    ._3DCommandSubOpcode  = 11
 
+#define GEN75_3DSTATE_VF_STATISTICS_length 0x00000001
+
 struct GEN75_3DSTATE_VF_STATISTICS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
-   uint32_t                                     StatisticsEnable;
+   bool                                         StatisticsEnable;
 };
 
 static inline void
 GEN75_3DSTATE_VF_STATISTICS_pack(__gen_user_data *data, void * restrict dst,
-                               const struct GEN75_3DSTATE_VF_STATISTICS * restrict values)
+                                 const struct GEN75_3DSTATE_VF_STATISTICS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4625,7 +4740,6 @@ GEN75_3DSTATE_VF_STATISTICS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
 #define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length_bias 0x00000002
 #define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_header\
    .CommandType          =  3,                  \
@@ -4634,6 +4748,8 @@ GEN75_3DSTATE_VF_STATISTICS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 35,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
+
 struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4645,7 +4761,7 @@ struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC {
 
 static inline void
 GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_pack(__gen_user_data *data, void * restrict dst,
-                                            const struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
+                                              const struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4663,7 +4779,6 @@ GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_pack(__gen_user_data *data, void * rest
 
 }
 
-#define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
 #define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length_bias 0x00000002
 #define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_header\
    .CommandType          =  3,                  \
@@ -4672,6 +4787,8 @@ GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_CC_pack(__gen_user_data *data, void * rest
    ._3DCommandSubOpcode  = 33,                  \
    .DwordLength          =  0
 
+#define GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
+
 struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4683,7 +4800,7 @@ struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP {
 
 static inline void
 GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_pack(__gen_user_data *data, void * restrict dst,
-                                                 const struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
+                                                   const struct GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4701,7 +4818,6 @@ GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_pack(__gen_user_data *data, void *
 
 }
 
-#define GEN75_3DSTATE_VS_length 0x00000006
 #define GEN75_3DSTATE_VS_length_bias 0x00000002
 #define GEN75_3DSTATE_VS_header                 \
    .CommandType          =  3,                  \
@@ -4710,6 +4826,8 @@ GEN75_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_pack(__gen_user_data *data, void *
    ._3DCommandSubOpcode  = 16,                  \
    .DwordLength          =  4
 
+#define GEN75_3DSTATE_VS_length 0x00000006
+
 struct GEN75_3DSTATE_VS {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -4736,23 +4854,23 @@ struct GEN75_3DSTATE_VS {
 #define     IEEE754                                            0
 #define     Alternate                                          1
    uint32_t                                     FloatingPointMode;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
-   uint32_t                                     VSaccessesUAV;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         IllegalOpcodeExceptionEnable;
+   bool                                         VSaccessesUAV;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     ScratchSpaceBaseOffset;
    uint32_t                                     PerThreadScratchSpace;
    uint32_t                                     DispatchGRFStartRegisterforURBData;
    uint32_t                                     VertexURBEntryReadLength;
    uint32_t                                     VertexURBEntryReadOffset;
    uint32_t                                     MaximumNumberofThreads;
-   uint32_t                                     StatisticsEnable;
-   uint32_t                                     VertexCacheDisable;
-   uint32_t                                     VSFunctionEnable;
+   bool                                         StatisticsEnable;
+   bool                                         VertexCacheDisable;
+   bool                                         VSFunctionEnable;
 };
 
 static inline void
 GEN75_3DSTATE_VS_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_VS * restrict values)
+                      const struct GEN75_3DSTATE_VS * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4800,7 +4918,6 @@ GEN75_3DSTATE_VS_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_3DSTATE_WM_length 0x00000003
 #define GEN75_3DSTATE_WM_length_bias 0x00000002
 #define GEN75_3DSTATE_WM_header                 \
    .CommandType          =  3,                  \
@@ -4809,19 +4926,21 @@ GEN75_3DSTATE_VS_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  = 20,                  \
    .DwordLength          =  1
 
+#define GEN75_3DSTATE_WM_length 0x00000003
+
 struct GEN75_3DSTATE_WM {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
    uint32_t                                     _3DCommandOpcode;
    uint32_t                                     _3DCommandSubOpcode;
    uint32_t                                     DwordLength;
-   uint32_t                                     StatisticsEnable;
-   uint32_t                                     DepthBufferClear;
-   uint32_t                                     ThreadDispatchEnable;
-   uint32_t                                     DepthBufferResolveEnable;
-   uint32_t                                     HierarchicalDepthBufferResolveEnable;
-   uint32_t                                     LegacyDiamondLineRasterization;
-   uint32_t                                     PixelShaderKillPixel;
+   bool                                         StatisticsEnable;
+   bool                                         DepthBufferClear;
+   bool                                         ThreadDispatchEnable;
+   bool                                         DepthBufferResolveEnable;
+   bool                                         HierarchicalDepthBufferResolveEnable;
+   bool                                         LegacyDiamondLineRasterization;
+   bool                                         PixelShaderKillPixel;
 #define     PSCDEPTH_OFF                                       0
 #define     PSCDEPTH_ON                                        1
 #define     PSCDEPTH_ON_GE                                     2
@@ -4831,19 +4950,19 @@ struct GEN75_3DSTATE_WM {
 #define     EDSC_PSEXEC                                        1
 #define     EDSC_PREPS                                         2
    uint32_t                                     EarlyDepthStencilControl;
-   uint32_t                                     PixelShaderUsesSourceDepth;
-   uint32_t                                     PixelShaderUsesSourceW;
+   bool                                         PixelShaderUsesSourceDepth;
+   bool                                         PixelShaderUsesSourceW;
 #define     INTERP_PIXEL                                       0
 #define     INTERP_CENTROID                                    2
 #define     INTERP_SAMPLE                                      3
    uint32_t                                     PositionZWInterpolationMode;
    uint32_t                                     BarycentricInterpolationMode;
-   uint32_t                                     PixelShaderUsesInputCoverageMask;
+   bool                                         PixelShaderUsesInputCoverageMask;
    uint32_t                                     LineEndCapAntialiasingRegionWidth;
    uint32_t                                     LineAntialiasingRegionWidth;
-   uint32_t                                     RTIndependentRasterizationEnable;
-   uint32_t                                     PolygonStippleEnable;
-   uint32_t                                     LineStippleEnable;
+   bool                                         RTIndependentRasterizationEnable;
+   bool                                         PolygonStippleEnable;
+   bool                                         LineStippleEnable;
 #define     RASTRULE_UPPER_LEFT                                0
 #define     RASTRULE_UPPER_RIGHT                               1
    uint32_t                                     PointRasterizationRule;
@@ -4862,7 +4981,7 @@ struct GEN75_3DSTATE_WM {
 
 static inline void
 GEN75_3DSTATE_WM_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_3DSTATE_WM * restrict values)
+                      const struct GEN75_3DSTATE_WM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4905,7 +5024,6 @@ GEN75_3DSTATE_WM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_GPGPU_OBJECT_length 0x00000008
 #define GEN75_GPGPU_OBJECT_length_bias 0x00000002
 #define GEN75_GPGPU_OBJECT_header               \
    .CommandType          =  3,                  \
@@ -4914,12 +5032,14 @@ GEN75_3DSTATE_WM_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  4,                  \
    .DwordLength          =  6
 
+#define GEN75_GPGPU_OBJECT_length 0x00000008
+
 struct GEN75_GPGPU_OBJECT {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
    uint32_t                                     MediaCommandOpcode;
    uint32_t                                     SubOpcode;
-   uint32_t                                     PredicateEnable;
+   bool                                         PredicateEnable;
    uint32_t                                     DwordLength;
    uint32_t                                     SharedLocalMemoryFixedOffset;
    uint32_t                                     InterfaceDescriptorOffset;
@@ -4942,7 +5062,7 @@ struct GEN75_GPGPU_OBJECT {
 
 static inline void
 GEN75_GPGPU_OBJECT_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_GPGPU_OBJECT * restrict values)
+                        const struct GEN75_GPGPU_OBJECT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -4990,7 +5110,6 @@ GEN75_GPGPU_OBJECT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_GPGPU_WALKER_length 0x0000000b
 #define GEN75_GPGPU_WALKER_length_bias 0x00000002
 #define GEN75_GPGPU_WALKER_header               \
    .CommandType          =  3,                  \
@@ -4999,13 +5118,15 @@ GEN75_GPGPU_OBJECT_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcodeA           =  5,                  \
    .DwordLength          =  9
 
+#define GEN75_GPGPU_WALKER_length 0x0000000b
+
 struct GEN75_GPGPU_WALKER {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
    uint32_t                                     MediaCommandOpcode;
    uint32_t                                     SubOpcodeA;
-   uint32_t                                     IndirectParameterEnable;
-   uint32_t                                     PredicateEnable;
+   bool                                         IndirectParameterEnable;
+   bool                                         PredicateEnable;
    uint32_t                                     DwordLength;
    uint32_t                                     InterfaceDescriptorOffset;
 #define     SIMD8                                              0
@@ -5027,7 +5148,7 @@ struct GEN75_GPGPU_WALKER {
 
 static inline void
 GEN75_GPGPU_WALKER_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_GPGPU_WALKER * restrict values)
+                        const struct GEN75_GPGPU_WALKER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5086,7 +5207,6 @@ GEN75_GPGPU_WALKER_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MEDIA_CURBE_LOAD_length 0x00000004
 #define GEN75_MEDIA_CURBE_LOAD_length_bias 0x00000002
 #define GEN75_MEDIA_CURBE_LOAD_header           \
    .CommandType          =  3,                  \
@@ -5095,6 +5215,8 @@ GEN75_GPGPU_WALKER_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  1,                  \
    .DwordLength          =  2
 
+#define GEN75_MEDIA_CURBE_LOAD_length 0x00000004
+
 struct GEN75_MEDIA_CURBE_LOAD {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
@@ -5107,7 +5229,7 @@ struct GEN75_MEDIA_CURBE_LOAD {
 
 static inline void
 GEN75_MEDIA_CURBE_LOAD_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_MEDIA_CURBE_LOAD * restrict values)
+                            const struct GEN75_MEDIA_CURBE_LOAD * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5132,7 +5254,6 @@ GEN75_MEDIA_CURBE_LOAD_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
 #define GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length_bias 0x00000002
 #define GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_header\
    .CommandType          =  3,                  \
@@ -5141,6 +5262,8 @@ GEN75_MEDIA_CURBE_LOAD_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  2,                  \
    .DwordLength          =  2
 
+#define GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
+
 struct GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
@@ -5153,7 +5276,7 @@ struct GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD {
 
 static inline void
 GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_pack(__gen_user_data *data, void * restrict dst,
-                                         const struct GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
+                                           const struct GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5185,6 +5308,8 @@ GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_pack(__gen_user_data *data, void * restric
    .MediaCommandOpcode   =  1,                  \
    .MediaCommandSubOpcode =  0
 
+#define GEN75_MEDIA_OBJECT_length 0x00000000
+
 struct GEN75_MEDIA_OBJECT {
    uint32_t                                     CommandType;
    uint32_t                                     MediaCommandPipeline;
@@ -5192,7 +5317,7 @@ struct GEN75_MEDIA_OBJECT {
    uint32_t                                     MediaCommandSubOpcode;
    uint32_t                                     DwordLength;
    uint32_t                                     InterfaceDescriptorOffset;
-   uint32_t                                     ChildrenPresent;
+   bool                                         ChildrenPresent;
 #define     Nothreadsynchronization                            0
 #define     Threaddispatchissynchronizedbythespawnrootthreadmessage       1
    uint32_t                                     ThreadSynchronization;
@@ -5212,13 +5337,13 @@ struct GEN75_MEDIA_OBJECT {
    uint32_t                                     ScoredboardY;
    uint32_t                                     ScoreboardX;
    uint32_t                                     ScoreboardColor;
-   uint32_t                                     ScoreboardMask;
+   bool                                         ScoreboardMask;
    /* variable length fields follow */
 };
 
 static inline void
 GEN75_MEDIA_OBJECT_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_MEDIA_OBJECT * restrict values)
+                        const struct GEN75_MEDIA_OBJECT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5262,7 +5387,6 @@ GEN75_MEDIA_OBJECT_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_MEDIA_OBJECT_PRT_length 0x00000010
 #define GEN75_MEDIA_OBJECT_PRT_length_bias 0x00000002
 #define GEN75_MEDIA_OBJECT_PRT_header           \
    .CommandType          =  3,                  \
@@ -5271,6 +5395,8 @@ GEN75_MEDIA_OBJECT_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  2,                  \
    .DwordLength          = 14
 
+#define GEN75_MEDIA_OBJECT_PRT_length 0x00000010
+
 struct GEN75_MEDIA_OBJECT_PRT {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
@@ -5278,17 +5404,17 @@ struct GEN75_MEDIA_OBJECT_PRT {
    uint32_t                                     SubOpcode;
    uint32_t                                     DwordLength;
    uint32_t                                     InterfaceDescriptorOffset;
-   uint32_t                                     ChildrenPresent;
-   uint32_t                                     PRT_FenceNeeded;
+   bool                                         ChildrenPresent;
+   bool                                         PRT_FenceNeeded;
 #define     Rootthreadqueue                                    0
 #define     VFEstateflush                                      1
    uint32_t                                     PRT_FenceType;
-   uint32_t                                     InlineData;
+   uint32_t                                     InlineData[12];
 };
 
 static inline void
 GEN75_MEDIA_OBJECT_PRT_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_MEDIA_OBJECT_PRT * restrict values)
+                            const struct GEN75_MEDIA_OBJECT_PRT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5313,9 +5439,11 @@ GEN75_MEDIA_OBJECT_PRT_pack(__gen_user_data *data, void * restrict dst,
    dw[3] =
       0;
 
-   dw[4] =
-      __gen_field(values->InlineData, 0, 31) |
-      0;
+   for (uint32_t i = 0, j = 4; i < 12; i += 1, j++) {
+      dw[j] =
+         __gen_field(values->InlineData[i + 0], 0, 31) |
+         0;
+   }
 
 }
 
@@ -5326,6 +5454,8 @@ GEN75_MEDIA_OBJECT_PRT_pack(__gen_user_data *data, void * restrict dst,
    .MediaCommandOpcode   =  1,                  \
    .SubOpcode            =  3
 
+#define GEN75_MEDIA_OBJECT_WALKER_length 0x00000000
+
 struct GEN75_MEDIA_OBJECT_WALKER {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
@@ -5333,7 +5463,7 @@ struct GEN75_MEDIA_OBJECT_WALKER {
    uint32_t                                     SubOpcode;
    uint32_t                                     DwordLength;
    uint32_t                                     InterfaceDescriptorOffset;
-   uint32_t                                     ChildrenPresent;
+   bool                                         ChildrenPresent;
 #define     Nothreadsynchronization                            0
 #define     Threaddispatchissynchronizedbythespawnrootthreadmessage       1
    uint32_t                                     ThreadSynchronization;
@@ -5342,10 +5472,10 @@ struct GEN75_MEDIA_OBJECT_WALKER {
    uint32_t                                     UseScoreboard;
    uint32_t                                     IndirectDataLength;
    uint32_t                                     IndirectDataStartAddress;
-   uint32_t                                     ScoreboardMask;
-   uint32_t                                     DualMode;
-   uint32_t                                     Repel;
-   uint32_t                                     QuadMode;
+   bool                                         ScoreboardMask;
+   bool                                         DualMode;
+   bool                                         Repel;
+   bool                                         QuadMode;
    uint32_t                                     ColorCountMinusOne;
    uint32_t                                     MiddleLoopExtraSteps;
    uint32_t                                     LocalMidLoopUnitY;
@@ -5373,7 +5503,7 @@ struct GEN75_MEDIA_OBJECT_WALKER {
 
 static inline void
 GEN75_MEDIA_OBJECT_WALKER_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_MEDIA_OBJECT_WALKER * restrict values)
+                               const struct GEN75_MEDIA_OBJECT_WALKER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5468,7 +5598,6 @@ GEN75_MEDIA_OBJECT_WALKER_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_MEDIA_STATE_FLUSH_length 0x00000002
 #define GEN75_MEDIA_STATE_FLUSH_length_bias 0x00000002
 #define GEN75_MEDIA_STATE_FLUSH_header          \
    .CommandType          =  3,                  \
@@ -5477,21 +5606,23 @@ GEN75_MEDIA_OBJECT_WALKER_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  4,                  \
    .DwordLength          =  0
 
+#define GEN75_MEDIA_STATE_FLUSH_length 0x00000002
+
 struct GEN75_MEDIA_STATE_FLUSH {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
    uint32_t                                     MediaCommandOpcode;
    uint32_t                                     SubOpcode;
    uint32_t                                     DwordLength;
-   uint32_t                                     DisablePreemption;
-   uint32_t                                     FlushtoGO;
+   bool                                         DisablePreemption;
+   bool                                         FlushtoGO;
    uint32_t                                     WatermarkRequired;
    uint32_t                                     InterfaceDescriptorOffset;
 };
 
 static inline void
 GEN75_MEDIA_STATE_FLUSH_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_MEDIA_STATE_FLUSH * restrict values)
+                             const struct GEN75_MEDIA_STATE_FLUSH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5512,7 +5643,6 @@ GEN75_MEDIA_STATE_FLUSH_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MEDIA_VFE_STATE_length 0x00000008
 #define GEN75_MEDIA_VFE_STATE_length_bias 0x00000002
 #define GEN75_MEDIA_VFE_STATE_header            \
    .CommandType          =  3,                  \
@@ -5521,6 +5651,8 @@ GEN75_MEDIA_STATE_FLUSH_pack(__gen_user_data *data, void * restrict dst,
    .SubOpcode            =  0,                  \
    .DwordLength          =  6
 
+#define GEN75_MEDIA_VFE_STATE_length 0x00000008
+
 struct GEN75_MEDIA_VFE_STATE {
    uint32_t                                     CommandType;
    uint32_t                                     Pipeline;
@@ -5569,7 +5701,7 @@ struct GEN75_MEDIA_VFE_STATE {
 
 static inline void
 GEN75_MEDIA_VFE_STATE_pack(__gen_user_data *data, void * restrict dst,
-                         const struct GEN75_MEDIA_VFE_STATE * restrict values)
+                           const struct GEN75_MEDIA_VFE_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5634,12 +5766,13 @@ GEN75_MEDIA_VFE_STATE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_ARB_CHECK_length 0x00000001
 #define GEN75_MI_ARB_CHECK_length_bias 0x00000001
 #define GEN75_MI_ARB_CHECK_header               \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  5
 
+#define GEN75_MI_ARB_CHECK_length 0x00000001
+
 struct GEN75_MI_ARB_CHECK {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5647,7 +5780,7 @@ struct GEN75_MI_ARB_CHECK {
 
 static inline void
 GEN75_MI_ARB_CHECK_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_MI_ARB_CHECK * restrict values)
+                        const struct GEN75_MI_ARB_CHECK * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5658,21 +5791,22 @@ GEN75_MI_ARB_CHECK_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_ARB_ON_OFF_length 0x00000001
 #define GEN75_MI_ARB_ON_OFF_length_bias 0x00000001
 #define GEN75_MI_ARB_ON_OFF_header              \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  8
 
+#define GEN75_MI_ARB_ON_OFF_length 0x00000001
+
 struct GEN75_MI_ARB_ON_OFF {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     ArbitrationEnable;
+   bool                                         ArbitrationEnable;
 };
 
 static inline void
 GEN75_MI_ARB_ON_OFF_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_MI_ARB_ON_OFF * restrict values)
+                         const struct GEN75_MI_ARB_ON_OFF * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5684,12 +5818,13 @@ GEN75_MI_ARB_ON_OFF_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_BATCH_BUFFER_END_length 0x00000001
 #define GEN75_MI_BATCH_BUFFER_END_length_bias 0x00000001
 #define GEN75_MI_BATCH_BUFFER_END_header        \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 10
 
+#define GEN75_MI_BATCH_BUFFER_END_length 0x00000001
+
 struct GEN75_MI_BATCH_BUFFER_END {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5697,7 +5832,7 @@ struct GEN75_MI_BATCH_BUFFER_END {
 
 static inline void
 GEN75_MI_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_MI_BATCH_BUFFER_END * restrict values)
+                               const struct GEN75_MI_BATCH_BUFFER_END * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5708,24 +5843,25 @@ GEN75_MI_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_BATCH_BUFFER_START_length 0x00000002
 #define GEN75_MI_BATCH_BUFFER_START_length_bias 0x00000002
 #define GEN75_MI_BATCH_BUFFER_START_header      \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 49,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_BATCH_BUFFER_START_length 0x00000002
+
 struct GEN75_MI_BATCH_BUFFER_START {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
 #define     _1stlevelbatch                                     0
 #define     _2ndlevelbatch                                     1
    uint32_t                                     _2ndLevelBatchBuffer;
-   uint32_t                                     AddOffsetEnable;
-   uint32_t                                     PredicationEnable;
+   bool                                         AddOffsetEnable;
+   bool                                         PredicationEnable;
    uint32_t                                     NonPrivileged;
-   uint32_t                                     ClearCommandBufferEnable;
-   uint32_t                                     ResourceStreamerEnable;
+   bool                                         ClearCommandBufferEnable;
+   bool                                         ResourceStreamerEnable;
 #define     ASI_GGTT                                           0
 #define     ASI_PPGTT                                          1
    uint32_t                                     AddressSpaceIndicator;
@@ -5735,7 +5871,7 @@ struct GEN75_MI_BATCH_BUFFER_START {
 
 static inline void
 GEN75_MI_BATCH_BUFFER_START_pack(__gen_user_data *data, void * restrict dst,
-                               const struct GEN75_MI_BATCH_BUFFER_START * restrict values)
+                                 const struct GEN75_MI_BATCH_BUFFER_START * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5765,6 +5901,8 @@ GEN75_MI_BATCH_BUFFER_START_pack(__gen_user_data *data, void * restrict dst,
    .CommandType          =  0,                  \
    .MICommandOpcode      = 39
 
+#define GEN75_MI_CLFLUSH_length 0x00000000
+
 struct GEN75_MI_CLFLUSH {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5780,7 +5918,7 @@ struct GEN75_MI_CLFLUSH {
 
 static inline void
 GEN75_MI_CLFLUSH_pack(__gen_user_data *data, void * restrict dst,
-                    const struct GEN75_MI_CLFLUSH * restrict values)
+                      const struct GEN75_MI_CLFLUSH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5807,7 +5945,6 @@ GEN75_MI_CLFLUSH_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000002
 #define GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_length_bias 0x00000002
 #define GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_header\
    .CommandType          =  0,                  \
@@ -5816,6 +5953,8 @@ GEN75_MI_CLFLUSH_pack(__gen_user_data *data, void * restrict dst,
    .CompareSemaphore     =  0,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000002
+
 struct GEN75_MI_CONDITIONAL_BATCH_BUFFER_END {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5828,7 +5967,7 @@ struct GEN75_MI_CONDITIONAL_BATCH_BUFFER_END {
 
 static inline void
 GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
-                                         const struct GEN75_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
+                                           const struct GEN75_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5852,31 +5991,32 @@ GEN75_MI_CONDITIONAL_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restric
 
 }
 
-#define GEN75_MI_FLUSH_length 0x00000001
 #define GEN75_MI_FLUSH_length_bias 0x00000001
 #define GEN75_MI_FLUSH_header                   \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  4
 
+#define GEN75_MI_FLUSH_length 0x00000001
+
 struct GEN75_MI_FLUSH {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     IndirectStatePointersDisable;
-   uint32_t                                     GenericMediaStateClear;
+   bool                                         IndirectStatePointersDisable;
+   bool                                         GenericMediaStateClear;
 #define     DontReset                                          0
 #define     Reset                                              1
-   uint32_t                                     GlobalSnapshotCountReset;
+   bool                                         GlobalSnapshotCountReset;
 #define     Flush                                              0
 #define     DontFlush                                          1
-   uint32_t                                     RenderCacheFlushInhibit;
+   bool                                         RenderCacheFlushInhibit;
 #define     DontInvalidate                                     0
 #define     Invalidate                                         1
-   uint32_t                                     StateInstructionCacheInvalidate;
+   bool                                         StateInstructionCacheInvalidate;
 };
 
 static inline void
 GEN75_MI_FLUSH_pack(__gen_user_data *data, void * restrict dst,
-                  const struct GEN75_MI_FLUSH * restrict values)
+                    const struct GEN75_MI_FLUSH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5892,13 +6032,14 @@ GEN75_MI_FLUSH_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_REGISTER_IMM_length 0x00000003
 #define GEN75_MI_LOAD_REGISTER_IMM_length_bias 0x00000002
 #define GEN75_MI_LOAD_REGISTER_IMM_header       \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 34,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_LOAD_REGISTER_IMM_length 0x00000003
+
 struct GEN75_MI_LOAD_REGISTER_IMM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5910,7 +6051,7 @@ struct GEN75_MI_LOAD_REGISTER_IMM {
 
 static inline void
 GEN75_MI_LOAD_REGISTER_IMM_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_MI_LOAD_REGISTER_IMM * restrict values)
+                                const struct GEN75_MI_LOAD_REGISTER_IMM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5931,17 +6072,18 @@ GEN75_MI_LOAD_REGISTER_IMM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_REGISTER_MEM_length 0x00000003
 #define GEN75_MI_LOAD_REGISTER_MEM_length_bias 0x00000002
 #define GEN75_MI_LOAD_REGISTER_MEM_header       \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 41,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_LOAD_REGISTER_MEM_length 0x00000003
+
 struct GEN75_MI_LOAD_REGISTER_MEM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     UseGlobalGTT;
+   bool                                         UseGlobalGTT;
    uint32_t                                     AsyncModeEnable;
    uint32_t                                     DwordLength;
    uint32_t                                     RegisterAddress;
@@ -5950,7 +6092,7 @@ struct GEN75_MI_LOAD_REGISTER_MEM {
 
 static inline void
 GEN75_MI_LOAD_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_MI_LOAD_REGISTER_MEM * restrict values)
+                                const struct GEN75_MI_LOAD_REGISTER_MEM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -5974,13 +6116,14 @@ GEN75_MI_LOAD_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_REGISTER_REG_length 0x00000003
 #define GEN75_MI_LOAD_REGISTER_REG_length_bias 0x00000002
 #define GEN75_MI_LOAD_REGISTER_REG_header       \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 42,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_LOAD_REGISTER_REG_length 0x00000003
+
 struct GEN75_MI_LOAD_REGISTER_REG {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -5991,7 +6134,7 @@ struct GEN75_MI_LOAD_REGISTER_REG {
 
 static inline void
 GEN75_MI_LOAD_REGISTER_REG_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_MI_LOAD_REGISTER_REG * restrict values)
+                                const struct GEN75_MI_LOAD_REGISTER_REG * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6011,13 +6154,14 @@ GEN75_MI_LOAD_REGISTER_REG_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_SCAN_LINES_EXCL_length 0x00000002
 #define GEN75_MI_LOAD_SCAN_LINES_EXCL_length_bias 0x00000002
 #define GEN75_MI_LOAD_SCAN_LINES_EXCL_header    \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 19,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_LOAD_SCAN_LINES_EXCL_length 0x00000002
+
 struct GEN75_MI_LOAD_SCAN_LINES_EXCL {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6032,7 +6176,7 @@ struct GEN75_MI_LOAD_SCAN_LINES_EXCL {
 
 static inline void
 GEN75_MI_LOAD_SCAN_LINES_EXCL_pack(__gen_user_data *data, void * restrict dst,
-                                 const struct GEN75_MI_LOAD_SCAN_LINES_EXCL * restrict values)
+                                   const struct GEN75_MI_LOAD_SCAN_LINES_EXCL * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6050,13 +6194,14 @@ GEN75_MI_LOAD_SCAN_LINES_EXCL_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_SCAN_LINES_INCL_length 0x00000002
 #define GEN75_MI_LOAD_SCAN_LINES_INCL_length_bias 0x00000002
 #define GEN75_MI_LOAD_SCAN_LINES_INCL_header    \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 18,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_LOAD_SCAN_LINES_INCL_length 0x00000002
+
 struct GEN75_MI_LOAD_SCAN_LINES_INCL {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6071,7 +6216,7 @@ struct GEN75_MI_LOAD_SCAN_LINES_INCL {
 
 static inline void
 GEN75_MI_LOAD_SCAN_LINES_INCL_pack(__gen_user_data *data, void * restrict dst,
-                                 const struct GEN75_MI_LOAD_SCAN_LINES_INCL * restrict values)
+                                   const struct GEN75_MI_LOAD_SCAN_LINES_INCL * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6089,13 +6234,14 @@ GEN75_MI_LOAD_SCAN_LINES_INCL_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_LOAD_URB_MEM_length 0x00000003
 #define GEN75_MI_LOAD_URB_MEM_length_bias 0x00000002
 #define GEN75_MI_LOAD_URB_MEM_header            \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 44,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_LOAD_URB_MEM_length 0x00000003
+
 struct GEN75_MI_LOAD_URB_MEM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6106,7 +6252,7 @@ struct GEN75_MI_LOAD_URB_MEM {
 
 static inline void
 GEN75_MI_LOAD_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
-                         const struct GEN75_MI_LOAD_URB_MEM * restrict values)
+                           const struct GEN75_MI_LOAD_URB_MEM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6133,6 +6279,8 @@ GEN75_MI_LOAD_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
    .CommandType          =  0,                  \
    .MICommandOpcode      = 26
 
+#define GEN75_MI_MATH_length 0x00000000
+
 struct GEN75_MI_MATH {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6144,7 +6292,7 @@ struct GEN75_MI_MATH {
 
 static inline void
 GEN75_MI_MATH_pack(__gen_user_data *data, void * restrict dst,
-                 const struct GEN75_MI_MATH * restrict values)
+                   const struct GEN75_MI_MATH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6165,22 +6313,23 @@ GEN75_MI_MATH_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_MI_NOOP_length 0x00000001
 #define GEN75_MI_NOOP_length_bias 0x00000001
 #define GEN75_MI_NOOP_header                    \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  0
 
+#define GEN75_MI_NOOP_length 0x00000001
+
 struct GEN75_MI_NOOP {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     IdentificationNumberRegisterWriteEnable;
+   bool                                         IdentificationNumberRegisterWriteEnable;
    uint32_t                                     IdentificationNumber;
 };
 
 static inline void
 GEN75_MI_NOOP_pack(__gen_user_data *data, void * restrict dst,
-                 const struct GEN75_MI_NOOP * restrict values)
+                   const struct GEN75_MI_NOOP * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6193,18 +6342,19 @@ GEN75_MI_NOOP_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_PREDICATE_length 0x00000001
 #define GEN75_MI_PREDICATE_length_bias 0x00000001
 #define GEN75_MI_PREDICATE_header               \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 12
 
+#define GEN75_MI_PREDICATE_length 0x00000001
+
 struct GEN75_MI_PREDICATE {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-#define     KEEP                                               0
-#define     LOAD                                               2
-#define     LOADINV                                            3
+#define     LOAD_KEEP                                          0
+#define     LOAD_LOAD                                          2
+#define     LOAD_LOADINV                                       3
    uint32_t                                     LoadOperation;
 #define     COMBINE_SET                                        0
 #define     COMBINE_AND                                        1
@@ -6218,7 +6368,7 @@ struct GEN75_MI_PREDICATE {
 
 static inline void
 GEN75_MI_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_MI_PREDICATE * restrict values)
+                        const struct GEN75_MI_PREDICATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6232,12 +6382,13 @@ GEN75_MI_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_REPORT_HEAD_length 0x00000001
 #define GEN75_MI_REPORT_HEAD_length_bias 0x00000001
 #define GEN75_MI_REPORT_HEAD_header             \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  7
 
+#define GEN75_MI_REPORT_HEAD_length 0x00000001
+
 struct GEN75_MI_REPORT_HEAD {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6245,7 +6396,7 @@ struct GEN75_MI_REPORT_HEAD {
 
 static inline void
 GEN75_MI_REPORT_HEAD_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_MI_REPORT_HEAD * restrict values)
+                          const struct GEN75_MI_REPORT_HEAD * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6256,23 +6407,24 @@ GEN75_MI_REPORT_HEAD_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_RS_CONTEXT_length 0x00000001
 #define GEN75_MI_RS_CONTEXT_length_bias 0x00000001
 #define GEN75_MI_RS_CONTEXT_header              \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 15
 
+#define GEN75_MI_RS_CONTEXT_length 0x00000001
+
 struct GEN75_MI_RS_CONTEXT {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-#define     Restore                                            0
-#define     Save                                               1
+#define     RS_RESTORE                                         0
+#define     RS_SAVE                                            1
    uint32_t                                     ResourceStreamerSave;
 };
 
 static inline void
 GEN75_MI_RS_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_MI_RS_CONTEXT * restrict values)
+                         const struct GEN75_MI_RS_CONTEXT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6284,23 +6436,24 @@ GEN75_MI_RS_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_RS_CONTROL_length 0x00000001
 #define GEN75_MI_RS_CONTROL_length_bias 0x00000001
 #define GEN75_MI_RS_CONTROL_header              \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  6
 
+#define GEN75_MI_RS_CONTROL_length 0x00000001
+
 struct GEN75_MI_RS_CONTROL {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-#define     Stop                                               0
-#define     Start                                              1
+#define     RS_STOP                                            0
+#define     RS_START                                           1
    uint32_t                                     ResourceStreamerControl;
 };
 
 static inline void
 GEN75_MI_RS_CONTROL_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_MI_RS_CONTROL * restrict values)
+                         const struct GEN75_MI_RS_CONTROL * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6312,13 +6465,14 @@ GEN75_MI_RS_CONTROL_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_RS_STORE_DATA_IMM_length 0x00000004
 #define GEN75_MI_RS_STORE_DATA_IMM_length_bias 0x00000002
 #define GEN75_MI_RS_STORE_DATA_IMM_header       \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 43,                  \
    .DwordLength          =  2
 
+#define GEN75_MI_RS_STORE_DATA_IMM_length 0x00000004
+
 struct GEN75_MI_RS_STORE_DATA_IMM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6330,7 +6484,7 @@ struct GEN75_MI_RS_STORE_DATA_IMM {
 
 static inline void
 GEN75_MI_RS_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_MI_RS_STORE_DATA_IMM * restrict values)
+                                const struct GEN75_MI_RS_STORE_DATA_IMM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6356,13 +6510,14 @@ GEN75_MI_RS_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_SEMAPHORE_MBOX_length 0x00000003
 #define GEN75_MI_SEMAPHORE_MBOX_length_bias 0x00000002
 #define GEN75_MI_SEMAPHORE_MBOX_header          \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 22,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_SEMAPHORE_MBOX_length 0x00000003
+
 struct GEN75_MI_SEMAPHORE_MBOX {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6378,7 +6533,7 @@ struct GEN75_MI_SEMAPHORE_MBOX {
 
 static inline void
 GEN75_MI_SEMAPHORE_MBOX_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_MI_SEMAPHORE_MBOX * restrict values)
+                             const struct GEN75_MI_SEMAPHORE_MBOX * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6399,29 +6554,30 @@ GEN75_MI_SEMAPHORE_MBOX_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_SET_CONTEXT_length 0x00000002
 #define GEN75_MI_SET_CONTEXT_length_bias 0x00000002
 #define GEN75_MI_SET_CONTEXT_header             \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 24,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_SET_CONTEXT_length 0x00000002
+
 struct GEN75_MI_SET_CONTEXT {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
    uint32_t                                     DwordLength;
    __gen_address_type                           LogicalContextAddress;
    uint32_t                                     ReservedMustbe1;
-   uint32_t                                     CoreModeEnable;
-   uint32_t                                     ResourceStreamerStateSaveEnable;
-   uint32_t                                     ResourceStreamerStateRestoreEnable;
+   bool                                         CoreModeEnable;
+   bool                                         ResourceStreamerStateSaveEnable;
+   bool                                         ResourceStreamerStateRestoreEnable;
    uint32_t                                     ForceRestore;
    uint32_t                                     RestoreInhibit;
 };
 
 static inline void
 GEN75_MI_SET_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
-                        const struct GEN75_MI_SET_CONTEXT * restrict values)
+                          const struct GEN75_MI_SET_CONTEXT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6445,13 +6601,14 @@ GEN75_MI_SET_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_SET_PREDICATE_length 0x00000001
 #define GEN75_MI_SET_PREDICATE_length_bias 0x00000001
 #define GEN75_MI_SET_PREDICATE_header           \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  1,                  \
    .PREDICATEENABLE      =  6
 
+#define GEN75_MI_SET_PREDICATE_length 0x00000001
+
 struct GEN75_MI_SET_PREDICATE {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6459,12 +6616,12 @@ struct GEN75_MI_SET_PREDICATE {
 #define     PredicateonClear                                   1
 #define     PredicateonSet                                     2
 #define     PredicateDisable                                   3
-   uint32_t                                     PREDICATEENABLE;
+   bool                                         PREDICATEENABLE;
 };
 
 static inline void
 GEN75_MI_SET_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_MI_SET_PREDICATE * restrict values)
+                            const struct GEN75_MI_SET_PREDICATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6476,17 +6633,18 @@ GEN75_MI_SET_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_STORE_DATA_IMM_length 0x00000004
 #define GEN75_MI_STORE_DATA_IMM_length_bias 0x00000002
 #define GEN75_MI_STORE_DATA_IMM_header          \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 32,                  \
    .DwordLength          =  2
 
+#define GEN75_MI_STORE_DATA_IMM_length 0x00000004
+
 struct GEN75_MI_STORE_DATA_IMM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     UseGlobalGTT;
+   bool                                         UseGlobalGTT;
    uint32_t                                     DwordLength;
    uint32_t                                     Address;
    uint32_t                                     CoreModeEnable;
@@ -6496,7 +6654,7 @@ struct GEN75_MI_STORE_DATA_IMM {
 
 static inline void
 GEN75_MI_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_MI_STORE_DATA_IMM * restrict values)
+                             const struct GEN75_MI_STORE_DATA_IMM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6525,13 +6683,14 @@ GEN75_MI_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_STORE_DATA_INDEX_length 0x00000003
 #define GEN75_MI_STORE_DATA_INDEX_length_bias 0x00000002
 #define GEN75_MI_STORE_DATA_INDEX_header        \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 33,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_STORE_DATA_INDEX_length 0x00000003
+
 struct GEN75_MI_STORE_DATA_INDEX {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6543,7 +6702,7 @@ struct GEN75_MI_STORE_DATA_INDEX {
 
 static inline void
 GEN75_MI_STORE_DATA_INDEX_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_MI_STORE_DATA_INDEX * restrict values)
+                               const struct GEN75_MI_STORE_DATA_INDEX * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6567,13 +6726,14 @@ GEN75_MI_STORE_DATA_INDEX_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_STORE_URB_MEM_length 0x00000003
 #define GEN75_MI_STORE_URB_MEM_length_bias 0x00000002
 #define GEN75_MI_STORE_URB_MEM_header           \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 45,                  \
    .DwordLength          =  1
 
+#define GEN75_MI_STORE_URB_MEM_length 0x00000003
+
 struct GEN75_MI_STORE_URB_MEM {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6584,7 +6744,7 @@ struct GEN75_MI_STORE_URB_MEM {
 
 static inline void
 GEN75_MI_STORE_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_MI_STORE_URB_MEM * restrict values)
+                            const struct GEN75_MI_STORE_URB_MEM * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6606,21 +6766,22 @@ GEN75_MI_STORE_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_SUSPEND_FLUSH_length 0x00000001
 #define GEN75_MI_SUSPEND_FLUSH_length_bias 0x00000001
 #define GEN75_MI_SUSPEND_FLUSH_header           \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 11
 
+#define GEN75_MI_SUSPEND_FLUSH_length 0x00000001
+
 struct GEN75_MI_SUSPEND_FLUSH {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     SuspendFlush;
+   bool                                         SuspendFlush;
 };
 
 static inline void
 GEN75_MI_SUSPEND_FLUSH_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_MI_SUSPEND_FLUSH * restrict values)
+                            const struct GEN75_MI_SUSPEND_FLUSH * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6632,12 +6793,13 @@ GEN75_MI_SUSPEND_FLUSH_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_TOPOLOGY_FILTER_length 0x00000001
 #define GEN75_MI_TOPOLOGY_FILTER_length_bias 0x00000001
 #define GEN75_MI_TOPOLOGY_FILTER_header         \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 13
 
+#define GEN75_MI_TOPOLOGY_FILTER_length 0x00000001
+
 struct GEN75_MI_TOPOLOGY_FILTER {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6646,7 +6808,7 @@ struct GEN75_MI_TOPOLOGY_FILTER {
 
 static inline void
 GEN75_MI_TOPOLOGY_FILTER_pack(__gen_user_data *data, void * restrict dst,
-                            const struct GEN75_MI_TOPOLOGY_FILTER * restrict values)
+                              const struct GEN75_MI_TOPOLOGY_FILTER * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6663,6 +6825,8 @@ GEN75_MI_TOPOLOGY_FILTER_pack(__gen_user_data *data, void * restrict dst,
    .CommandType          =  0,                  \
    .MICommandOpcode      = 35
 
+#define GEN75_MI_UPDATE_GTT_length 0x00000000
+
 struct GEN75_MI_UPDATE_GTT {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6676,7 +6840,7 @@ struct GEN75_MI_UPDATE_GTT {
 
 static inline void
 GEN75_MI_UPDATE_GTT_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_MI_UPDATE_GTT * restrict values)
+                         const struct GEN75_MI_UPDATE_GTT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6696,12 +6860,13 @@ GEN75_MI_UPDATE_GTT_pack(__gen_user_data *data, void * restrict dst,
    /* variable length fields follow */
 }
 
-#define GEN75_MI_URB_ATOMIC_ALLOC_length 0x00000001
 #define GEN75_MI_URB_ATOMIC_ALLOC_length_bias 0x00000001
 #define GEN75_MI_URB_ATOMIC_ALLOC_header        \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  9
 
+#define GEN75_MI_URB_ATOMIC_ALLOC_length 0x00000001
+
 struct GEN75_MI_URB_ATOMIC_ALLOC {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6711,7 +6876,7 @@ struct GEN75_MI_URB_ATOMIC_ALLOC {
 
 static inline void
 GEN75_MI_URB_ATOMIC_ALLOC_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_MI_URB_ATOMIC_ALLOC * restrict values)
+                               const struct GEN75_MI_URB_ATOMIC_ALLOC * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6724,13 +6889,14 @@ GEN75_MI_URB_ATOMIC_ALLOC_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_URB_CLEAR_length 0x00000002
 #define GEN75_MI_URB_CLEAR_length_bias 0x00000002
 #define GEN75_MI_URB_CLEAR_header               \
    .CommandType          =  0,                  \
    .MICommandOpcode      = 25,                  \
    .DwordLength          =  0
 
+#define GEN75_MI_URB_CLEAR_length 0x00000002
+
 struct GEN75_MI_URB_CLEAR {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6741,7 +6907,7 @@ struct GEN75_MI_URB_CLEAR {
 
 static inline void
 GEN75_MI_URB_CLEAR_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_MI_URB_CLEAR * restrict values)
+                        const struct GEN75_MI_URB_CLEAR * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6758,12 +6924,13 @@ GEN75_MI_URB_CLEAR_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_USER_INTERRUPT_length 0x00000001
 #define GEN75_MI_USER_INTERRUPT_length_bias 0x00000001
 #define GEN75_MI_USER_INTERRUPT_header          \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  2
 
+#define GEN75_MI_USER_INTERRUPT_length 0x00000001
+
 struct GEN75_MI_USER_INTERRUPT {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
@@ -6771,7 +6938,7 @@ struct GEN75_MI_USER_INTERRUPT {
 
 static inline void
 GEN75_MI_USER_INTERRUPT_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_MI_USER_INTERRUPT * restrict values)
+                             const struct GEN75_MI_USER_INTERRUPT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6782,37 +6949,38 @@ GEN75_MI_USER_INTERRUPT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_MI_WAIT_FOR_EVENT_length 0x00000001
 #define GEN75_MI_WAIT_FOR_EVENT_length_bias 0x00000001
 #define GEN75_MI_WAIT_FOR_EVENT_header          \
    .CommandType          =  0,                  \
    .MICommandOpcode      =  3
 
+#define GEN75_MI_WAIT_FOR_EVENT_length 0x00000001
+
 struct GEN75_MI_WAIT_FOR_EVENT {
    uint32_t                                     CommandType;
    uint32_t                                     MICommandOpcode;
-   uint32_t                                     DisplayPipeCHorizontalBlankWaitEnable;
-   uint32_t                                     DisplayPipeCVerticalBlankWaitEnable;
-   uint32_t                                     DisplaySpriteCFlipPendingWaitEnable;
+   bool                                         DisplayPipeCHorizontalBlankWaitEnable;
+   bool                                         DisplayPipeCVerticalBlankWaitEnable;
+   bool                                         DisplaySpriteCFlipPendingWaitEnable;
 #define     Notenabled                                         0
    uint32_t                                     ConditionCodeWaitSelect;
-   uint32_t                                     DisplayPlaneCFlipPendingWaitEnable;
-   uint32_t                                     DisplayPipeCScanLineWaitEnable;
-   uint32_t                                     DisplayPipeBHorizontalBlankWaitEnable;
-   uint32_t                                     DisplayPipeBVerticalBlankWaitEnable;
-   uint32_t                                     DisplaySpriteBFlipPendingWaitEnable;
-   uint32_t                                     DisplayPlaneBFlipPendingWaitEnable;
-   uint32_t                                     DisplayPipeBScanLineWaitEnable;
-   uint32_t                                     DisplayPipeAHorizontalBlankWaitEnable;
-   uint32_t                                     DisplayPipeAVerticalBlankWaitEnable;
-   uint32_t                                     DisplaySpriteAFlipPendingWaitEnable;
-   uint32_t                                     DisplayPlaneAFlipPendingWaitEnable;
-   uint32_t                                     DisplayPipeAScanLineWaitEnable;
+   bool                                         DisplayPlaneCFlipPendingWaitEnable;
+   bool                                         DisplayPipeCScanLineWaitEnable;
+   bool                                         DisplayPipeBHorizontalBlankWaitEnable;
+   bool                                         DisplayPipeBVerticalBlankWaitEnable;
+   bool                                         DisplaySpriteBFlipPendingWaitEnable;
+   bool                                         DisplayPlaneBFlipPendingWaitEnable;
+   bool                                         DisplayPipeBScanLineWaitEnable;
+   bool                                         DisplayPipeAHorizontalBlankWaitEnable;
+   bool                                         DisplayPipeAVerticalBlankWaitEnable;
+   bool                                         DisplaySpriteAFlipPendingWaitEnable;
+   bool                                         DisplayPlaneAFlipPendingWaitEnable;
+   bool                                         DisplayPipeAScanLineWaitEnable;
 };
 
 static inline void
 GEN75_MI_WAIT_FOR_EVENT_pack(__gen_user_data *data, void * restrict dst,
-                           const struct GEN75_MI_WAIT_FOR_EVENT * restrict values)
+                             const struct GEN75_MI_WAIT_FOR_EVENT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6839,7 +7007,6 @@ GEN75_MI_WAIT_FOR_EVENT_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_PIPE_CONTROL_length 0x00000005
 #define GEN75_PIPE_CONTROL_length_bias 0x00000002
 #define GEN75_PIPE_CONTROL_header               \
    .CommandType          =  3,                  \
@@ -6848,6 +7015,8 @@ GEN75_MI_WAIT_FOR_EVENT_pack(__gen_user_data *data, void * restrict dst,
    ._3DCommandSubOpcode  =  0,                  \
    .DwordLength          =  3
 
+#define GEN75_PIPE_CONTROL_length 0x00000005
+
 struct GEN75_PIPE_CONTROL {
    uint32_t                                     CommandType;
    uint32_t                                     CommandSubType;
@@ -6866,29 +7035,29 @@ struct GEN75_PIPE_CONTROL {
 #define     Reset                                              1
    uint32_t                                     GlobalSnapshotCountReset;
    uint32_t                                     TLBInvalidate;
-   uint32_t                                     GenericMediaStateClear;
+   bool                                         GenericMediaStateClear;
 #define     NoWrite                                            0
 #define     WriteImmediateData                                 1
 #define     WritePSDepthCount                                  2
 #define     WriteTimestamp                                     3
    uint32_t                                     PostSyncOperation;
-   uint32_t                                     DepthStallEnable;
+   bool                                         DepthStallEnable;
 #define     DisableFlush                                       0
 #define     EnableFlush                                        1
-   uint32_t                                     RenderTargetCacheFlushEnable;
-   uint32_t                                     InstructionCacheInvalidateEnable;
-   uint32_t                                     TextureCacheInvalidationEnable;
-   uint32_t                                     IndirectStatePointersDisable;
-   uint32_t                                     NotifyEnable;
-   uint32_t                                     PipeControlFlushEnable;
-   uint32_t                                     DCFlushEnable;
-   uint32_t                                     VFCacheInvalidationEnable;
-   uint32_t                                     ConstantCacheInvalidationEnable;
-   uint32_t                                     StateCacheInvalidationEnable;
-   uint32_t                                     StallAtPixelScoreboard;
+   bool                                         RenderTargetCacheFlushEnable;
+   bool                                         InstructionCacheInvalidateEnable;
+   bool                                         TextureCacheInvalidationEnable;
+   bool                                         IndirectStatePointersDisable;
+   bool                                         NotifyEnable;
+   bool                                         PipeControlFlushEnable;
+   bool                                         DCFlushEnable;
+   bool                                         VFCacheInvalidationEnable;
+   bool                                         ConstantCacheInvalidationEnable;
+   bool                                         StateCacheInvalidationEnable;
+   bool                                         StallAtPixelScoreboard;
 #define     FlushDisabled                                      0
 #define     FlushEnabled                                       1
-   uint32_t                                     DepthCacheFlushEnable;
+   bool                                         DepthCacheFlushEnable;
    __gen_address_type                           Address;
    uint32_t                                     ImmediateData;
    uint32_t                                     ImmediateData0;
@@ -6896,7 +7065,7 @@ struct GEN75_PIPE_CONTROL {
 
 static inline void
 GEN75_PIPE_CONTROL_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_PIPE_CONTROL * restrict values)
+                        const struct GEN75_PIPE_CONTROL * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -6948,20 +7117,6 @@ 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 {
@@ -6973,7 +7128,7 @@ struct GEN75_SCISSOR_RECT {
 
 static inline void
 GEN75_SCISSOR_RECT_pack(__gen_user_data *data, void * restrict dst,
-                      const struct GEN75_SCISSOR_RECT * restrict values)
+                        const struct GEN75_SCISSOR_RECT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7006,7 +7161,7 @@ struct GEN75_SF_CLIP_VIEWPORT {
 
 static inline void
 GEN75_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_SF_CLIP_VIEWPORT * restrict values)
+                            const struct GEN75_SF_CLIP_VIEWPORT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7056,16 +7211,18 @@ GEN75_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
       __gen_float(values->YMaxClipGuardband) |
       0;
 
-   dw[12] =
-      0;
+   for (uint32_t i = 0, j = 12; i < 4; i += 1, j++) {
+      dw[j] =
+         0;
+   }
 
 }
 
 #define GEN75_BLEND_STATE_length 0x00000002
 
 struct GEN75_BLEND_STATE {
-   uint32_t                                     ColorBufferBlendEnable;
-   uint32_t                                     IndependentAlphaBlendEnable;
+   bool                                         ColorBufferBlendEnable;
+   bool                                         IndependentAlphaBlendEnable;
 #define     BLENDFUNCTION_ADD                                  0
 #define     BLENDFUNCTION_SUBTRACT                             1
 #define     BLENDFUNCTION_REVERSE_SUBTRACT                     2
@@ -7101,14 +7258,14 @@ struct GEN75_BLEND_STATE {
    uint32_t                                     ColorBlendFunction;
    uint32_t                                     SourceBlendFactor;
    uint32_t                                     DestinationBlendFactor;
-   uint32_t                                     AlphaToCoverageEnable;
-   uint32_t                                     AlphaToOneEnable;
-   uint32_t                                     AlphaToCoverageDitherEnable;
-   uint32_t                                     WriteDisableAlpha;
-   uint32_t                                     WriteDisableRed;
-   uint32_t                                     WriteDisableGreen;
-   uint32_t                                     WriteDisableBlue;
-   uint32_t                                     LogicOpEnable;
+   bool                                         AlphaToCoverageEnable;
+   bool                                         AlphaToOneEnable;
+   bool                                         AlphaToCoverageDitherEnable;
+   bool                                         WriteDisableAlpha;
+   bool                                         WriteDisableRed;
+   bool                                         WriteDisableGreen;
+   bool                                         WriteDisableBlue;
+   bool                                         LogicOpEnable;
 #define     LOGICOP_CLEAR                                      0
 #define     LOGICOP_NOR                                        1
 #define     LOGICOP_AND_INVERTED                               2
@@ -7126,7 +7283,7 @@ struct GEN75_BLEND_STATE {
 #define     LOGICOP_OR                                        14
 #define     LOGICOP_SET                                       15
    uint32_t                                     LogicOpFunction;
-   uint32_t                                     AlphaTestEnable;
+   bool                                         AlphaTestEnable;
 #define     COMPAREFUNCTION_ALWAYS                             0
 #define     COMPAREFUNCTION_NEVER                              1
 #define     COMPAREFUNCTION_LESS                               2
@@ -7136,20 +7293,20 @@ struct GEN75_BLEND_STATE {
 #define     COMPAREFUNCTION_NOTEQUAL                           6
 #define     COMPAREFUNCTION_GEQUAL                             7
    uint32_t                                     AlphaTestFunction;
-   uint32_t                                     ColorDitherEnable;
+   bool                                         ColorDitherEnable;
    uint32_t                                     XDitherOffset;
    uint32_t                                     YDitherOffset;
 #define     COLORCLAMP_UNORM                                   0
 #define     COLORCLAMP_SNORM                                   1
 #define     COLORCLAMP_RTFORMAT                                2
    uint32_t                                     ColorClampRange;
-   uint32_t                                     PreBlendColorClampEnable;
-   uint32_t                                     PostBlendColorClampEnable;
+   bool                                         PreBlendColorClampEnable;
+   bool                                         PostBlendColorClampEnable;
 };
 
 static inline void
 GEN75_BLEND_STATE_pack(__gen_user_data *data, void * restrict dst,
-                     const struct GEN75_BLEND_STATE * restrict values)
+                       const struct GEN75_BLEND_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7195,7 +7352,7 @@ struct GEN75_CC_VIEWPORT {
 
 static inline void
 GEN75_CC_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
-                     const struct GEN75_CC_VIEWPORT * restrict values)
+                       const struct GEN75_CC_VIEWPORT * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7230,7 +7387,7 @@ struct GEN75_COLOR_CALC_STATE {
 
 static inline void
 GEN75_COLOR_CALC_STATE_pack(__gen_user_data *data, void * restrict dst,
-                          const struct GEN75_COLOR_CALC_STATE * restrict values)
+                            const struct GEN75_COLOR_CALC_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7267,7 +7424,7 @@ 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;
+   bool                                         StencilTestEnable;
 #define     COMPAREFUNCTION_ALWAYS                             0
 #define     COMPAREFUNCTION_NEVER                              1
 #define     COMPAREFUNCTION_LESS                               2
@@ -7288,8 +7445,8 @@ struct GEN75_DEPTH_STENCIL_STATE {
    uint32_t                                     StencilFailOp;
    uint32_t                                     StencilPassDepthFailOp;
    uint32_t                                     StencilPassDepthPassOp;
-   uint32_t                                     StencilBufferWriteEnable;
-   uint32_t                                     DoubleSidedStencilEnable;
+   bool                                         StencilBufferWriteEnable;
+   bool                                         DoubleSidedStencilEnable;
 #define     COMPAREFUNCTION_ALWAYS                             0
 #define     COMPAREFUNCTION_NEVER                              1
 #define     COMPAREFUNCTION_LESS                               2
@@ -7314,7 +7471,7 @@ struct GEN75_DEPTH_STENCIL_STATE {
    uint32_t                                     StencilWriteMask;
    uint32_t                                     BackfaceStencilTestMask;
    uint32_t                                     BackfaceStencilWriteMask;
-   uint32_t                                     DepthTestEnable;
+   bool                                         DepthTestEnable;
 #define     COMPAREFUNCTION_ALWAYS                             0
 #define     COMPAREFUNCTION_NEVER                              1
 #define     COMPAREFUNCTION_LESS                               2
@@ -7324,12 +7481,12 @@ struct GEN75_DEPTH_STENCIL_STATE {
 #define     COMPAREFUNCTION_NOTEQUAL                           6
 #define     COMPAREFUNCTION_GEQUAL                             7
    uint32_t                                     DepthTestFunction;
-   uint32_t                                     DepthBufferWriteEnable;
+   bool                                         DepthBufferWriteEnable;
 };
 
 static inline void
 GEN75_DEPTH_STENCIL_STATE_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_DEPTH_STENCIL_STATE * restrict values)
+                               const struct GEN75_DEPTH_STENCIL_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7362,38 +7519,6 @@ 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
-#define     Thirdhighestpriority                               2
-#define     Lowestpriority                                     3
-   uint32_t                                     ArbitrationPriorityControl;
-#define     PTE                                                0
-#define     UC                                                 1
-#define     LLCeLLCWBcacheable                                 2
-#define     eLLCWBcacheable                                    3
-   uint32_t                                     LLCeLLCCacheabilityControlLLCCC;
-   uint32_t                                     L3CacheabilityControlL3CC;
-};
-
-static inline void
-GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_pack(__gen_user_data *data, void * restrict dst,
-                                                  const struct GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS * restrict values)
-{
-   uint32_t *dw = (uint32_t * restrict) dst;
-
-   dw[0] =
-      __gen_field(values->ArbitrationPriorityControl, 4, 5) |
-      __gen_field(values->LLCeLLCCacheabilityControlLLCCC, 1, 2) |
-      __gen_field(values->L3CacheabilityControlL3CC, 0, 0) |
-      0;
-
-}
-
 #define GEN75_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
 
 struct GEN75_INTERFACE_DESCRIPTOR_DATA {
@@ -7407,9 +7532,9 @@ struct GEN75_INTERFACE_DESCRIPTOR_DATA {
 #define     IEEE754                                            0
 #define     Alternate                                          1
    uint32_t                                     FloatingPointMode;
-   uint32_t                                     IllegalOpcodeExceptionEnable;
-   uint32_t                                     MaskStackExceptionEnable;
-   uint32_t                                     SoftwareExceptionEnable;
+   bool                                         IllegalOpcodeExceptionEnable;
+   bool                                         MaskStackExceptionEnable;
+   bool                                         SoftwareExceptionEnable;
    uint32_t                                     SamplerStatePointer;
 #define     Nosamplersused                                     0
 #define     Between1and4samplersused                           1
@@ -7425,7 +7550,7 @@ struct GEN75_INTERFACE_DESCRIPTOR_DATA {
 #define     RD                                                 2
 #define     RTZ                                                3
    uint32_t                                     RoundingMode;
-   uint32_t                                     BarrierEnable;
+   bool                                         BarrierEnable;
    uint32_t                                     SharedLocalMemorySize;
    uint32_t                                     NumberofThreadsinGPGPUThreadGroup;
    uint32_t                                     CrossThreadConstantDataReadLength;
@@ -7433,7 +7558,7 @@ struct GEN75_INTERFACE_DESCRIPTOR_DATA {
 
 static inline void
 GEN75_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst,
-                                   const struct GEN75_INTERFACE_DESCRIPTOR_DATA * restrict values)
+                                     const struct GEN75_INTERFACE_DESCRIPTOR_DATA * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7480,8 +7605,6 @@ GEN75_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst,
 
 }
 
-#define GEN75_PALETTE_ENTRY_length 0x00000001
-
 #define GEN75_BINDING_TABLE_STATE_length 0x00000001
 
 struct GEN75_BINDING_TABLE_STATE {
@@ -7490,7 +7613,7 @@ struct GEN75_BINDING_TABLE_STATE {
 
 static inline void
 GEN75_BINDING_TABLE_STATE_pack(__gen_user_data *data, void * restrict dst,
-                             const struct GEN75_BINDING_TABLE_STATE * restrict values)
+                               const struct GEN75_BINDING_TABLE_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7511,8 +7634,10 @@ struct GEN75_RENDER_SURFACE_STATE {
 #define     SURFTYPE_STRBUF                                    5
 #define     SURFTYPE_NULL                                      7
    uint32_t                                     SurfaceType;
-   uint32_t                                     SurfaceArray;
+   bool                                         SurfaceArray;
    uint32_t                                     SurfaceFormat;
+#define     VALIGN_2                                           0
+#define     VALIGN_4                                           1
    uint32_t                                     SurfaceVerticalAlignment;
 #define     HALIGN_4                                           0
 #define     HALIGN_8                                           1
@@ -7561,9 +7686,8 @@ struct GEN75_RENDER_SURFACE_STATE {
    __gen_address_type                           MCSBaseAddress;
    uint32_t                                     MCSSurfacePitch;
    __gen_address_type                           AppendCounterAddress;
-   uint32_t                                     AppendCounterEnable;
-   uint32_t                                     MCSEnable;
-   uint32_t                                     ReservedMBZ;
+   bool                                         AppendCounterEnable;
+   bool                                         MCSEnable;
    uint32_t                                     XOffsetforUVPlane;
    uint32_t                                     YOffsetforUVPlane;
 #define     SCS_ZERO                                           0
@@ -7581,7 +7705,7 @@ struct GEN75_RENDER_SURFACE_STATE {
 
 static inline void
 GEN75_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst,
-                              const struct GEN75_RENDER_SURFACE_STATE * restrict values)
+                                const struct GEN75_RENDER_SURFACE_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7642,7 +7766,6 @@ GEN75_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst,
       __gen_field(values->MCSSurfacePitch, 3, 11) |
       __gen_field(values->AppendCounterEnable, 1, 1) |
       __gen_field(values->MCSEnable, 0, 0) |
-      __gen_field(values->ReservedMBZ, 30, 31) |
       __gen_field(values->XOffsetforUVPlane, 16, 29) |
       __gen_field(values->YOffsetforUVPlane, 0, 13) |
       0;
@@ -7662,28 +7785,155 @@ GEN75_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst,
 
 #define GEN75_SAMPLER_BORDER_COLOR_STATE_length 0x00000014
 
+#define GEN75_BORDER_COLOR_UINT32_SINT32_length 0x00000004
+
+struct GEN75_BORDER_COLOR_UINT32_SINT32 {
+   uint32_t                                     BorderColorRedui32integerunclamp;
+   uint32_t                                     BorderColorRedsi32integerunclamp;
+   uint32_t                                     BorderColorGreenui32integerunclamp;
+   uint32_t                                     BorderColorGreensi32integerunclamp;
+   uint32_t                                     BorderColorBlueui32integerunclamp;
+   uint32_t                                     BorderColorBluesi32integerunclamp;
+   uint32_t                                     BorderColorGreenui32integerunclamp0;
+   uint32_t                                     BorderColorGreensi32integerunclamp0;
+   uint32_t                                     BorderColorAlphaui32integerunclamp;
+   uint32_t                                     BorderColorAlphasi32integerunclamp;
+};
+
+static inline void
+GEN75_BORDER_COLOR_UINT32_SINT32_pack(__gen_user_data *data, void * restrict dst,
+                                      const struct GEN75_BORDER_COLOR_UINT32_SINT32 * restrict values)
+{
+   uint32_t *dw = (uint32_t * restrict) dst;
+
+   dw[0] =
+      __gen_field(values->BorderColorRedui32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorRedsi32integerunclamp, 0, 31) |
+      0;
+
+   dw[1] =
+      __gen_field(values->BorderColorGreenui32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorGreensi32integerunclamp, 0, 31) |
+      0;
+
+   dw[2] =
+      __gen_field(values->BorderColorBlueui32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorBluesi32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorGreenui32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorGreensi32integerunclamp, 0, 31) |
+      0;
+
+   dw[3] =
+      __gen_field(values->BorderColorAlphaui32integerunclamp, 0, 31) |
+      __gen_field(values->BorderColorAlphasi32integerunclamp, 0, 31) |
+      0;
+
+}
+
+#define GEN75_BORDER_COLOR_UINT16_SINT16_length 0x00000004
+
+struct GEN75_BORDER_COLOR_UINT16_SINT16 {
+   uint32_t                                     BorderColorGreenclamptouint16;
+   uint32_t                                     BorderColorGreenclamptosint16;
+   uint32_t                                     BorderColorRedclamptouint16;
+   uint32_t                                     BorderColorRedclamptosint16;
+   uint32_t                                     BorderColorAlphaclamptouint16;
+   uint32_t                                     BorderColorAlphaclamptosint16;
+   uint32_t                                     BorderColorBlueclamptouint16;
+   uint32_t                                     BorderColorBlueclamptosint16;
+};
+
+static inline void
+GEN75_BORDER_COLOR_UINT16_SINT16_pack(__gen_user_data *data, void * restrict dst,
+                                      const struct GEN75_BORDER_COLOR_UINT16_SINT16 * restrict values)
+{
+   uint32_t *dw = (uint32_t * restrict) dst;
+
+   dw[0] =
+      __gen_field(values->BorderColorGreenclamptouint16, 16, 31) |
+      __gen_field(values->BorderColorGreenclamptosint16, 16, 31) |
+      __gen_field(values->BorderColorRedclamptouint16, 0, 15) |
+      __gen_field(values->BorderColorRedclamptosint16, 0, 15) |
+      0;
+
+   dw[1] =
+      0;
+
+   dw[2] =
+      __gen_field(values->BorderColorAlphaclamptouint16, 16, 31) |
+      __gen_field(values->BorderColorAlphaclamptosint16, 16, 31) |
+      __gen_field(values->BorderColorBlueclamptouint16, 0, 15) |
+      __gen_field(values->BorderColorBlueclamptosint16, 0, 15) |
+      0;
+
+   dw[3] =
+      0;
+
+}
+
+#define GEN75_BORDER_COLOR_UINT8_SINT8_length 0x00000004
+
+struct GEN75_BORDER_COLOR_UINT8_SINT8 {
+   uint32_t                                     BorderColorAlphaclamptouint8;
+   uint32_t                                     BorderColorAlphaclamptosint8;
+   uint32_t                                     BorderColorBlueclamptouint8;
+   uint32_t                                     BorderColorBlueclamptosint8;
+   uint32_t                                     BorderColorGreenclamptouint8;
+   uint32_t                                     BorderColorGreenclamptosint8;
+   uint32_t                                     BorderRedAlphaclamptouint8;
+   uint32_t                                     BorderRedAlphaclamptosint8;
+};
+
+static inline void
+GEN75_BORDER_COLOR_UINT8_SINT8_pack(__gen_user_data *data, void * restrict dst,
+                                    const struct GEN75_BORDER_COLOR_UINT8_SINT8 * restrict values)
+{
+   uint32_t *dw = (uint32_t * restrict) dst;
+
+   dw[0] =
+      __gen_field(values->BorderColorAlphaclamptouint8, 24, 31) |
+      __gen_field(values->BorderColorAlphaclamptosint8, 24, 31) |
+      __gen_field(values->BorderColorBlueclamptouint8, 16, 23) |
+      __gen_field(values->BorderColorBlueclamptosint8, 16, 23) |
+      __gen_field(values->BorderColorGreenclamptouint8, 8, 15) |
+      __gen_field(values->BorderColorGreenclamptosint8, 8, 15) |
+      __gen_field(values->BorderRedAlphaclamptouint8, 0, 7) |
+      __gen_field(values->BorderRedAlphaclamptosint8, 0, 7) |
+      0;
+
+   dw[1] =
+      0;
+
+   dw[2] =
+      0;
+
+   dw[3] =
+      0;
+
+}
+
 struct GEN75_SAMPLER_BORDER_COLOR_STATE {
-   uint32_t                                     BorderColorRedDX100GL;
+   float                                        BorderColorRedDX100GL;
    uint32_t                                     BorderColorAlpha;
    uint32_t                                     BorderColorBlue;
    uint32_t                                     BorderColorGreen;
    uint32_t                                     BorderColorRedDX9;
-   uint32_t                                     BorderColorGreen0;
-   uint32_t                                     BorderColorBlue0;
-   uint32_t                                     BorderColorAlpha0;
-   uint64_t                                     BorderColor;
-   uint64_t                                     BorderColor0;
-   uint64_t                                     BorderColor1;
+   float                                        BorderColorGreen0;
+   float                                        BorderColorBlue0;
+   float                                        BorderColorAlpha0;
+   struct GEN75_BORDER_COLOR_UINT32_SINT32      BorderColor;
+   struct GEN75_BORDER_COLOR_UINT16_SINT16      BorderColor0;
+   struct GEN75_BORDER_COLOR_UINT8_SINT8        BorderColor1;
 };
 
 static inline void
 GEN75_SAMPLER_BORDER_COLOR_STATE_pack(__gen_user_data *data, void * restrict dst,
-                                    const struct GEN75_SAMPLER_BORDER_COLOR_STATE * restrict values)
+                                      const struct GEN75_SAMPLER_BORDER_COLOR_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
    dw[0] =
-      __gen_field(values->BorderColorRedDX100GL, 0, 31) |
+      __gen_float(values->BorderColorRedDX100GL) |
       __gen_field(values->BorderColorAlpha, 24, 31) |
       __gen_field(values->BorderColorBlue, 16, 23) |
       __gen_field(values->BorderColorGreen, 8, 15) |
@@ -7691,32 +7941,29 @@ GEN75_SAMPLER_BORDER_COLOR_STATE_pack(__gen_user_data *data, void * restrict dst
       0;
 
    dw[1] =
-      __gen_field(values->BorderColorGreen, 0, 31) |
+      __gen_float(values->BorderColorGreen) |
       0;
 
    dw[2] =
-      __gen_field(values->BorderColorBlue, 0, 31) |
+      __gen_float(values->BorderColorBlue) |
       0;
 
    dw[3] =
-      __gen_field(values->BorderColorAlpha, 0, 31) |
+      __gen_float(values->BorderColorAlpha) |
       0;
 
-   dw[4] =
-      0;
-
-   dw[16] =
-      __gen_field(values->BorderColor, 0, 127) |
-      __gen_field(values->BorderColor, 0, 127) |
-      __gen_field(values->BorderColor, 0, 127) |
-      0;
+   for (uint32_t i = 0, j = 4; i < 12; i += 1, j++) {
+      dw[j] =
+         0;
+   }
 
+   GEN75_BORDER_COLOR_UINT32_SINT32_pack(data, &dw[16], &values->BorderColor);
 }
 
 #define GEN75_SAMPLER_STATE_length 0x00000004
 
 struct GEN75_SAMPLER_STATE {
-   uint32_t                                     SamplerDisable;
+   bool                                         SamplerDisable;
 #define     DX10OGL                                            0
 #define     DX9                                                1
    uint32_t                                     TextureBorderColorMode;
@@ -7756,7 +8003,7 @@ struct GEN75_SAMPLER_STATE {
 #define     OVERRIDE                                           1
    uint32_t                                     CubeSurfaceControlMode;
    uint32_t                                     BorderColorPointer;
-   uint32_t                                     ChromaKeyEnable;
+   bool                                         ChromaKeyEnable;
    uint32_t                                     ChromaKeyIndex;
 #define     KEYFILTER_KILL_ON_ANY_MATCH                        0
 #define     KEYFILTER_REPLACE_BLACK                            1
@@ -7770,18 +8017,18 @@ struct GEN75_SAMPLER_STATE {
 #define     RATIO141                                           6
 #define     RATIO161                                           7
    uint32_t                                     MaximumAnisotropy;
-   uint32_t                                     RAddressMinFilterRoundingEnable;
-   uint32_t                                     RAddressMagFilterRoundingEnable;
-   uint32_t                                     VAddressMinFilterRoundingEnable;
-   uint32_t                                     VAddressMagFilterRoundingEnable;
-   uint32_t                                     UAddressMinFilterRoundingEnable;
-   uint32_t                                     UAddressMagFilterRoundingEnable;
+   bool                                         RAddressMinFilterRoundingEnable;
+   bool                                         RAddressMagFilterRoundingEnable;
+   bool                                         VAddressMinFilterRoundingEnable;
+   bool                                         VAddressMagFilterRoundingEnable;
+   bool                                         UAddressMinFilterRoundingEnable;
+   bool                                         UAddressMagFilterRoundingEnable;
 #define     FULL                                               0
 #define     TRIQUAL_HIGHMAG_CLAMP_MIPFILTER                    1
 #define     MED                                                2
 #define     LOW                                                3
    uint32_t                                     TrilinearFilterQuality;
-   uint32_t                                     NonnormalizedCoordinateEnable;
+   bool                                         NonnormalizedCoordinateEnable;
    uint32_t                                     TCXAddressControlMode;
    uint32_t                                     TCYAddressControlMode;
    uint32_t                                     TCZAddressControlMode;
@@ -7789,7 +8036,7 @@ struct GEN75_SAMPLER_STATE {
 
 static inline void
 GEN75_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
-                       const struct GEN75_SAMPLER_STATE * restrict values)
+                         const struct GEN75_SAMPLER_STATE * restrict values)
 {
    uint32_t *dw = (uint32_t * restrict) dst;
 
@@ -7846,7 +8093,7 @@ GEN75_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
 #define     _3DPRIM_QUADLIST                                   7
 #define     _3DPRIM_QUADSTRIP                                  8
 #define     _3DPRIM_LINELIST_ADJ                               9
-#define     _3DPRIM_LISTSTRIP_ADJ                             10
+#define     _3DPRIM_LINESTRIP_ADJ                             10
 #define     _3DPRIM_TRILIST_ADJ                               11
 #define     _3DPRIM_TRISTRIP_ADJ                              12
 #define     _3DPRIM_TRISTRIP_REVERSE                          13