#endif
-#define GEN75_3DSTATE_URB_VS_length 0x00000002
#define GEN75_3DSTATE_URB_VS_length_bias 0x00000002
#define GEN75_3DSTATE_URB_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 48, \
.DwordLength = 0
+#define GEN75_3DSTATE_URB_VS_length 0x00000002
+
struct GEN75_3DSTATE_URB_VS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 4, \
.DwordLength = 0
+#define GEN75_GPGPU_CSR_BASE_ADDRESS_length 0x00000002
+
struct GEN75_GPGPU_CSR_BASE_ADDRESS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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;
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;
}
-#define GEN75_PIPELINE_SELECT_length 0x00000001
#define GEN75_PIPELINE_SELECT_length_bias 0x00000001
#define GEN75_PIPELINE_SELECT_header \
.CommandType = 3, \
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 4
+#define GEN75_PIPELINE_SELECT_length 0x00000001
+
struct GEN75_PIPELINE_SELECT {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_STATE_BASE_ADDRESS_length 0x0000000a
#define GEN75_STATE_BASE_ADDRESS_length_bias 0x00000002
#define GEN75_STATE_BASE_ADDRESS_header \
.CommandType = 3, \
._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;
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;
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;
}
-#define GEN75_STATE_PREFETCH_length 0x00000002
#define GEN75_STATE_PREFETCH_length_bias 0x00000002
#define GEN75_STATE_PREFETCH_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN75_STATE_PREFETCH_length 0x00000002
+
struct GEN75_STATE_PREFETCH {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_STATE_SIP_length 0x00000002
#define GEN75_STATE_SIP_length_bias 0x00000002
#define GEN75_STATE_SIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 2, \
.DwordLength = 0
+#define GEN75_STATE_SIP_length 0x00000002
+
struct GEN75_STATE_SIP {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_SWTESS_BASE_ADDRESS_length 0x00000002
#define GEN75_SWTESS_BASE_ADDRESS_length_bias 0x00000002
#define GEN75_SWTESS_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN75_SWTESS_BASE_ADDRESS_length 0x00000002
+
struct GEN75_SWTESS_BASE_ADDRESS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DPRIMITIVE_length 0x00000007
#define GEN75_3DPRIMITIVE_length_bias 0x00000002
#define GEN75_3DPRIMITIVE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 5
+#define GEN75_3DPRIMITIVE_length 0x00000007
+
struct GEN75_3DPRIMITIVE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 10, \
.DwordLength = 1
+#define GEN75_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
+
struct GEN75_3DSTATE_AA_LINE_PARAMETERS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._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;
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;
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;
._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;
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;
._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;
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;
._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;
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;
._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;
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;
/* 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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._3DCommandSubOpcode = 36, \
.DwordLength = 0
+#define GEN75_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
+
struct GEN75_3DSTATE_BLEND_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 14, \
.DwordLength = 0
+#define GEN75_3DSTATE_CC_STATE_POINTERS_length 0x00000002
+
struct GEN75_3DSTATE_CC_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_CHROMA_KEY_length 0x00000004
#define GEN75_3DSTATE_CHROMA_KEY_length_bias 0x00000002
#define GEN75_3DSTATE_CHROMA_KEY_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 2
+#define GEN75_3DSTATE_CHROMA_KEY_length 0x00000004
+
struct GEN75_3DSTATE_CHROMA_KEY {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_CLEAR_PARAMS_length 0x00000003
#define GEN75_3DSTATE_CLEAR_PARAMS_length_bias 0x00000002
#define GEN75_3DSTATE_CLEAR_PARAMS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 1
+#define GEN75_3DSTATE_CLEAR_PARAMS_length 0x00000003
+
struct GEN75_3DSTATE_CLEAR_PARAMS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_CLIP_length 0x00000004
#define GEN75_3DSTATE_CLIP_length_bias 0x00000002
#define GEN75_3DSTATE_CLIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 18, \
.DwordLength = 2
+#define GEN75_3DSTATE_CLIP_length 0x00000004
+
struct GEN75_3DSTATE_CLIP {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_CONSTANT_DS_length 0x00000007
#define GEN75_3DSTATE_CONSTANT_DS_length_bias 0x00000002
#define GEN75_3DSTATE_CONSTANT_DS_header \
.CommandType = 3, \
._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;
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;
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;
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, \
._3DCommandSubOpcode = 22, \
.DwordLength = 5
+#define GEN75_3DSTATE_CONSTANT_GS_length 0x00000007
+
struct GEN75_3DSTATE_CONSTANT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
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, \
._3DCommandSubOpcode = 25, \
.DwordLength = 5
+#define GEN75_3DSTATE_CONSTANT_HS_length 0x00000007
+
struct GEN75_3DSTATE_CONSTANT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
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, \
._3DCommandSubOpcode = 23, \
.DwordLength = 5
+#define GEN75_3DSTATE_CONSTANT_PS_length 0x00000007
+
struct GEN75_3DSTATE_CONSTANT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
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, \
._3DCommandSubOpcode = 21, \
.DwordLength = 5
+#define GEN75_3DSTATE_CONSTANT_VS_length 0x00000007
+
struct GEN75_3DSTATE_CONSTANT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
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, \
._3DCommandSubOpcode = 5, \
.DwordLength = 5
+#define GEN75_3DSTATE_DEPTH_BUFFER_length 0x00000007
+
struct GEN75_3DSTATE_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._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;
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;
}
-#define GEN75_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
#define GEN75_3DSTATE_DRAWING_RECTANGLE_length_bias 0x00000002
#define GEN75_3DSTATE_DRAWING_RECTANGLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 2
+#define GEN75_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
+
struct GEN75_3DSTATE_DRAWING_RECTANGLE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_DS_length 0x00000006
#define GEN75_3DSTATE_DS_length_bias 0x00000002
#define GEN75_3DSTATE_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 29, \
.DwordLength = 4
+#define GEN75_3DSTATE_DS_length 0x00000006
+
struct GEN75_3DSTATE_DS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._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;
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;
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;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 53
+#define GEN75_3DSTATE_GATHER_CONSTANT_GS_length 0x00000000
+
struct GEN75_3DSTATE_GATHER_CONSTANT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 54
+#define GEN75_3DSTATE_GATHER_CONSTANT_HS_length 0x00000000
+
struct GEN75_3DSTATE_GATHER_CONSTANT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 56
+#define GEN75_3DSTATE_GATHER_CONSTANT_PS_length 0x00000000
+
struct GEN75_3DSTATE_GATHER_CONSTANT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 52
+#define GEN75_3DSTATE_GATHER_CONSTANT_VS_length 0x00000000
+
struct GEN75_3DSTATE_GATHER_CONSTANT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
/* 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, \
._3DCommandSubOpcode = 26, \
.DwordLength = 1
+#define GEN75_3DSTATE_GATHER_POOL_ALLOC_length 0x00000003
+
struct GEN75_3DSTATE_GATHER_POOL_ALLOC {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_GS_length 0x00000007
#define GEN75_3DSTATE_GS_length_bias 0x00000002
#define GEN75_3DSTATE_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 5
+#define GEN75_3DSTATE_GS_length 0x00000007
+
struct GEN75_3DSTATE_GS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 7, \
.DwordLength = 1
+#define GEN75_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000003
+
struct GEN75_3DSTATE_HIER_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_HS_length 0x00000007
#define GEN75_3DSTATE_HS_length_bias 0x00000002
#define GEN75_3DSTATE_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 27, \
.DwordLength = 5
+#define GEN75_3DSTATE_HS_length 0x00000007
+
struct GEN75_3DSTATE_HS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_INDEX_BUFFER_length 0x00000003
#define GEN75_3DSTATE_INDEX_BUFFER_length_bias 0x00000002
#define GEN75_3DSTATE_INDEX_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 10, \
.DwordLength = 1
+#define GEN75_3DSTATE_INDEX_BUFFER_length 0x00000003
+
struct GEN75_3DSTATE_INDEX_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_LINE_STIPPLE_length 0x00000003
#define GEN75_3DSTATE_LINE_STIPPLE_length_bias 0x00000002
#define GEN75_3DSTATE_LINE_STIPPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 8, \
.DwordLength = 1
+#define GEN75_3DSTATE_LINE_STIPPLE_length 0x00000003
+
struct GEN75_3DSTATE_LINE_STIPPLE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_MONOFILTER_SIZE_length 0x00000002
#define GEN75_3DSTATE_MONOFILTER_SIZE_length_bias 0x00000002
#define GEN75_3DSTATE_MONOFILTER_SIZE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 0
+#define GEN75_3DSTATE_MONOFILTER_SIZE_length 0x00000002
+
struct GEN75_3DSTATE_MONOFILTER_SIZE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_MULTISAMPLE_length 0x00000004
#define GEN75_3DSTATE_MULTISAMPLE_length_bias 0x00000002
#define GEN75_3DSTATE_MULTISAMPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 13, \
.DwordLength = 2
+#define GEN75_3DSTATE_MULTISAMPLE_length 0x00000004
+
struct GEN75_3DSTATE_MULTISAMPLE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 6, \
.DwordLength = 0
+#define GEN75_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
+
struct GEN75_3DSTATE_POLY_STIPPLE_OFFSET {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 7, \
.DwordLength = 31
+#define GEN75_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
+
struct GEN75_3DSTATE_POLY_STIPPLE_PATTERN {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_PS_length 0x00000008
#define GEN75_3DSTATE_PS_length_bias 0x00000002
#define GEN75_3DSTATE_PS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 32, \
.DwordLength = 6
+#define GEN75_3DSTATE_PS_length 0x00000008
+
struct GEN75_3DSTATE_PS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#define GEN75_3DSTATE_RAST_MULTISAMPLE_length 0x00000006
#define GEN75_3DSTATE_RAST_MULTISAMPLE_length_bias 0x00000002
#define GEN75_3DSTATE_RAST_MULTISAMPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 14, \
.DwordLength = 4
+#define GEN75_3DSTATE_RAST_MULTISAMPLE_length 0x00000006
+
struct GEN75_3DSTATE_RAST_MULTISAMPLE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._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;
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;
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;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 12
+#define GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1_length 0x00000000
+
struct GEN75_3DSTATE_SAMPLER_PALETTE_LOAD1 {
uint32_t CommandType;
uint32_t CommandSubType;
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;
/* 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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#define GEN75_3DSTATE_SAMPLE_MASK_length 0x00000002
#define GEN75_3DSTATE_SAMPLE_MASK_length_bias 0x00000002
#define GEN75_3DSTATE_SAMPLE_MASK_header \
.CommandType = 3, \
._3DCommandSubOpcode = 24, \
.DwordLength = 0
+#define GEN75_3DSTATE_SAMPLE_MASK_length 0x00000002
+
struct GEN75_3DSTATE_SAMPLE_MASK {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_SBE_length 0x0000000e
#define GEN75_3DSTATE_SBE_length_bias 0x00000002
#define GEN75_3DSTATE_SBE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 31, \
.DwordLength = 12
+#define GEN75_3DSTATE_SBE_length 0x0000000e
+
struct GEN75_3DSTATE_SBE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._3DCommandSubOpcode = 15, \
.DwordLength = 0
+#define GEN75_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
+
struct GEN75_3DSTATE_SCISSOR_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_SF_length 0x00000007
#define GEN75_3DSTATE_SF_length_bias 0x00000002
#define GEN75_3DSTATE_SF_header \
.CommandType = 3, \
._3DCommandSubOpcode = 19, \
.DwordLength = 5
+#define GEN75_3DSTATE_SF_length 0x00000007
+
struct GEN75_3DSTATE_SF {
uint32_t CommandType;
uint32_t CommandSubType;
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;
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, \
._3DCommandSubOpcode = 24, \
.DwordLength = 2
+#define GEN75_3DSTATE_SO_BUFFER_length 0x00000004
+
struct GEN75_3DSTATE_SO_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._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;
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;
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;
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;
/* 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, \
._3DCommandSubOpcode = 6, \
.DwordLength = 1
+#define GEN75_3DSTATE_STENCIL_BUFFER_length 0x00000003
+
struct GEN75_3DSTATE_STENCIL_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_STREAMOUT_length 0x00000003
#define GEN75_3DSTATE_STREAMOUT_length_bias 0x00000002
#define GEN75_3DSTATE_STREAMOUT_header \
.CommandType = 3, \
._3DCommandSubOpcode = 30, \
.DwordLength = 1
+#define GEN75_3DSTATE_STREAMOUT_length 0x00000003
+
struct GEN75_3DSTATE_STREAMOUT {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_TE_length 0x00000004
#define GEN75_3DSTATE_TE_length_bias 0x00000002
#define GEN75_3DSTATE_TE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 28, \
.DwordLength = 2
+#define GEN75_3DSTATE_TE_length 0x00000004
+
struct GEN75_3DSTATE_TE {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_URB_DS_length 0x00000002
#define GEN75_3DSTATE_URB_DS_length_bias 0x00000002
#define GEN75_3DSTATE_URB_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 50, \
.DwordLength = 0
+#define GEN75_3DSTATE_URB_DS_length 0x00000002
+
struct GEN75_3DSTATE_URB_DS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_URB_GS_length 0x00000002
#define GEN75_3DSTATE_URB_GS_length_bias 0x00000002
#define GEN75_3DSTATE_URB_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 51, \
.DwordLength = 0
+#define GEN75_3DSTATE_URB_GS_length 0x00000002
+
struct GEN75_3DSTATE_URB_GS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_URB_HS_length 0x00000002
#define GEN75_3DSTATE_URB_HS_length_bias 0x00000002
#define GEN75_3DSTATE_URB_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 49, \
.DwordLength = 0
+#define GEN75_3DSTATE_URB_HS_length 0x00000002
+
struct GEN75_3DSTATE_URB_HS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
._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
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;
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;
._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;
bool Valid;
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;
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;
/* variable length fields follow */
}
-#define GEN75_3DSTATE_VF_length 0x00000002
#define GEN75_3DSTATE_VF_length_bias 0x00000002
#define GEN75_3DSTATE_VF_header \
.CommandType = 3, \
._3DCommandSubOpcode = 12, \
.DwordLength = 0
+#define GEN75_3DSTATE_VF_length 0x00000002
+
struct GEN75_3DSTATE_VF {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_VF_STATISTICS_length 0x00000001
#define GEN75_3DSTATE_VF_STATISTICS_length_bias 0x00000001
#define GEN75_3DSTATE_VF_STATISTICS_header \
.CommandType = 3, \
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 11
+#define GEN75_3DSTATE_VF_STATISTICS_length 0x00000001
+
struct GEN75_3DSTATE_VF_STATISTICS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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, \
._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;
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;
}
-#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, \
._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;
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;
}
-#define GEN75_3DSTATE_VS_length 0x00000006
#define GEN75_3DSTATE_VS_length_bias 0x00000002
#define GEN75_3DSTATE_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 16, \
.DwordLength = 4
+#define GEN75_3DSTATE_VS_length 0x00000006
+
struct GEN75_3DSTATE_VS {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_3DSTATE_WM_length 0x00000003
#define GEN75_3DSTATE_WM_length_bias 0x00000002
#define GEN75_3DSTATE_WM_header \
.CommandType = 3, \
._3DCommandSubOpcode = 20, \
.DwordLength = 1
+#define GEN75_3DSTATE_WM_length 0x00000003
+
struct GEN75_3DSTATE_WM {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#define GEN75_GPGPU_OBJECT_length 0x00000008
#define GEN75_GPGPU_OBJECT_length_bias 0x00000002
#define GEN75_GPGPU_OBJECT_header \
.CommandType = 3, \
.SubOpcode = 4, \
.DwordLength = 6
+#define GEN75_GPGPU_OBJECT_length 0x00000008
+
struct GEN75_GPGPU_OBJECT {
uint32_t CommandType;
uint32_t Pipeline;
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;
}
-#define GEN75_GPGPU_WALKER_length 0x0000000b
#define GEN75_GPGPU_WALKER_length_bias 0x00000002
#define GEN75_GPGPU_WALKER_header \
.CommandType = 3, \
.SubOpcodeA = 5, \
.DwordLength = 9
+#define GEN75_GPGPU_WALKER_length 0x0000000b
+
struct GEN75_GPGPU_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
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;
}
-#define GEN75_MEDIA_CURBE_LOAD_length 0x00000004
#define GEN75_MEDIA_CURBE_LOAD_length_bias 0x00000002
#define GEN75_MEDIA_CURBE_LOAD_header \
.CommandType = 3, \
.SubOpcode = 1, \
.DwordLength = 2
+#define GEN75_MEDIA_CURBE_LOAD_length 0x00000004
+
struct GEN75_MEDIA_CURBE_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
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;
}
-#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, \
.SubOpcode = 2, \
.DwordLength = 2
+#define GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
+
struct GEN75_MEDIA_INTERFACE_DESCRIPTOR_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
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;
.MediaCommandOpcode = 1, \
.MediaCommandSubOpcode = 0
+#define GEN75_MEDIA_OBJECT_length 0x00000000
+
struct GEN75_MEDIA_OBJECT {
uint32_t CommandType;
uint32_t MediaCommandPipeline;
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;
/* 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, \
.SubOpcode = 2, \
.DwordLength = 14
+#define GEN75_MEDIA_OBJECT_PRT_length 0x00000010
+
struct GEN75_MEDIA_OBJECT_PRT {
uint32_t CommandType;
uint32_t Pipeline;
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;
.MediaCommandOpcode = 1, \
.SubOpcode = 3
+#define GEN75_MEDIA_OBJECT_WALKER_length 0x00000000
+
struct GEN75_MEDIA_OBJECT_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
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;
/* 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, \
.SubOpcode = 4, \
.DwordLength = 0
+#define GEN75_MEDIA_STATE_FLUSH_length 0x00000002
+
struct GEN75_MEDIA_STATE_FLUSH {
uint32_t CommandType;
uint32_t Pipeline;
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;
}
-#define GEN75_MEDIA_VFE_STATE_length 0x00000008
#define GEN75_MEDIA_VFE_STATE_length_bias 0x00000002
#define GEN75_MEDIA_VFE_STATE_header \
.CommandType = 3, \
.SubOpcode = 0, \
.DwordLength = 6
+#define GEN75_MEDIA_VFE_STATE_length 0x00000008
+
struct GEN75_MEDIA_VFE_STATE {
uint32_t CommandType;
uint32_t Pipeline;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
.CommandType = 0, \
.MICommandOpcode = 39
+#define GEN75_MI_CLFLUSH_length 0x00000000
+
struct GEN75_MI_CLFLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
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;
/* 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, \
.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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
.CommandType = 0, \
.MICommandOpcode = 26
+#define GEN75_MI_MATH_length 0x00000000
+
struct GEN75_MI_MATH {
uint32_t CommandType;
uint32_t MICommandOpcode;
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;
/* 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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
.CommandType = 0, \
.MICommandOpcode = 35
+#define GEN75_MI_UPDATE_GTT_length 0x00000000
+
struct GEN75_MI_UPDATE_GTT {
uint32_t CommandType;
uint32_t MICommandOpcode;
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;
/* 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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#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;
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;
}
-#define GEN75_PIPE_CONTROL_length 0x00000005
#define GEN75_PIPE_CONTROL_length_bias 0x00000002
#define GEN75_PIPE_CONTROL_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 3
+#define GEN75_PIPE_CONTROL_length 0x00000005
+
struct GEN75_PIPE_CONTROL {
uint32_t CommandType;
uint32_t CommandSubType;
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;
}
-#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 {
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;
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;
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;
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;
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;
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;
}
-#define GEN75_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
-
#define GEN75_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
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;
}
-#define GEN75_PALETTE_ENTRY_length 0x00000001
-
#define GEN75_BINDING_TABLE_STATE_length 0x00000001
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;
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;
#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) |
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;
for (uint32_t i = 0, j = 4; i < 12; i += 1, j++) {
0;
}
- dw[16] =
- __gen_field(values->BorderColor, 0, 127) |
- __gen_field(values->BorderColor, 0, 127) |
- __gen_field(values->BorderColor, 0, 127) |
- 0;
-
+ GEN75_BORDER_COLOR_UINT32_SINT32_pack(data, &dw[16], &values->BorderColor);
}
#define GEN75_SAMPLER_STATE_length 0x00000004
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;
#endif
-#define GEN7_3DSTATE_URB_VS_length 0x00000002
#define GEN7_3DSTATE_URB_VS_length_bias 0x00000002
#define GEN7_3DSTATE_URB_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 48, \
.DwordLength = 0
+#define GEN7_3DSTATE_URB_VS_length 0x00000002
+
struct GEN7_3DSTATE_URB_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_URB_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_URB_VS * restrict values)
+ const struct GEN7_3DSTATE_URB_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_STORE_REGISTER_MEM_length 0x00000003
#define GEN7_MI_STORE_REGISTER_MEM_length_bias 0x00000002
#define GEN7_MI_STORE_REGISTER_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 36, \
.DwordLength = 1
+#define GEN7_MI_STORE_REGISTER_MEM_length 0x00000003
+
struct GEN7_MI_STORE_REGISTER_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_STORE_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_STORE_REGISTER_MEM * restrict values)
+ const struct GEN7_MI_STORE_REGISTER_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_PIPELINE_SELECT_length 0x00000001
#define GEN7_PIPELINE_SELECT_length_bias 0x00000001
#define GEN7_PIPELINE_SELECT_header \
.CommandType = 3, \
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 4
+#define GEN7_PIPELINE_SELECT_length 0x00000001
+
struct GEN7_PIPELINE_SELECT {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_PIPELINE_SELECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_PIPELINE_SELECT * restrict values)
+ const struct GEN7_PIPELINE_SELECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_STATE_BASE_ADDRESS_length 0x0000000a
#define GEN7_STATE_BASE_ADDRESS_length_bias 0x00000002
#define GEN7_STATE_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 1, \
.DwordLength = 8
+#define GEN7_STATE_BASE_ADDRESS_length 0x0000000a
+
+#define GEN7_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
+
struct GEN7_MEMORY_OBJECT_CONTROL_STATE {
uint32_t GraphicsDataTypeGFDT;
uint32_t LLCCacheabilityControlLLCCC;
static inline void
GEN7_MEMORY_OBJECT_CONTROL_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEMORY_OBJECT_CONTROL_STATE * restrict values)
+ const struct GEN7_MEMORY_OBJECT_CONTROL_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_STATE_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_STATE_BASE_ADDRESS * restrict values)
+ const struct GEN7_STATE_BASE_ADDRESS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_STATE_PREFETCH_length 0x00000002
#define GEN7_STATE_PREFETCH_length_bias 0x00000002
#define GEN7_STATE_PREFETCH_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN7_STATE_PREFETCH_length 0x00000002
+
struct GEN7_STATE_PREFETCH {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_STATE_PREFETCH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_STATE_PREFETCH * restrict values)
+ const struct GEN7_STATE_PREFETCH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_STATE_SIP_length 0x00000002
#define GEN7_STATE_SIP_length_bias 0x00000002
#define GEN7_STATE_SIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 2, \
.DwordLength = 0
+#define GEN7_STATE_SIP_length 0x00000002
+
struct GEN7_STATE_SIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_STATE_SIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_STATE_SIP * restrict values)
+ const struct GEN7_STATE_SIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_SWTESS_BASE_ADDRESS_length 0x00000002
#define GEN7_SWTESS_BASE_ADDRESS_length_bias 0x00000002
#define GEN7_SWTESS_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN7_SWTESS_BASE_ADDRESS_length 0x00000002
+
struct GEN7_SWTESS_BASE_ADDRESS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_SWTESS_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SWTESS_BASE_ADDRESS * restrict values)
+ const struct GEN7_SWTESS_BASE_ADDRESS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DPRIMITIVE_length 0x00000007
#define GEN7_3DPRIMITIVE_length_bias 0x00000002
#define GEN7_3DPRIMITIVE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 5
+#define GEN7_3DPRIMITIVE_length 0x00000007
+
struct GEN7_3DPRIMITIVE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DPRIMITIVE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DPRIMITIVE * restrict values)
+ const struct GEN7_3DPRIMITIVE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
#define GEN7_3DSTATE_AA_LINE_PARAMETERS_length_bias 0x00000002
#define GEN7_3DSTATE_AA_LINE_PARAMETERS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 10, \
.DwordLength = 1
+#define GEN7_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
+
struct GEN7_3DSTATE_AA_LINE_PARAMETERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_AA_LINE_PARAMETERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_AA_LINE_PARAMETERS * restrict values)
+ const struct GEN7_3DSTATE_AA_LINE_PARAMETERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS_length_bias 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 40, \
.DwordLength = 0
+#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
+
struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
+ const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS_length_bias 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 41, \
.DwordLength = 0
+#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
+
struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
+ const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS_length_bias 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 39, \
.DwordLength = 0
+#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
+
struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
+ const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS_length_bias 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 42, \
.DwordLength = 0
+#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
+
struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
+ const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS_length_bias 0x00000002
#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 38, \
.DwordLength = 0
+#define GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
+
struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
+ const struct GEN7_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
#define GEN7_3DSTATE_BLEND_STATE_POINTERS_length_bias 0x00000002
#define GEN7_3DSTATE_BLEND_STATE_POINTERS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 36, \
.DwordLength = 0
+#define GEN7_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
+
struct GEN7_3DSTATE_BLEND_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_BLEND_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_BLEND_STATE_POINTERS * restrict values)
+ const struct GEN7_3DSTATE_BLEND_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CC_STATE_POINTERS_length 0x00000002
#define GEN7_3DSTATE_CC_STATE_POINTERS_length_bias 0x00000002
#define GEN7_3DSTATE_CC_STATE_POINTERS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 14, \
.DwordLength = 0
+#define GEN7_3DSTATE_CC_STATE_POINTERS_length 0x00000002
+
struct GEN7_3DSTATE_CC_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CC_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CC_STATE_POINTERS * restrict values)
+ const struct GEN7_3DSTATE_CC_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CHROMA_KEY_length 0x00000004
#define GEN7_3DSTATE_CHROMA_KEY_length_bias 0x00000002
#define GEN7_3DSTATE_CHROMA_KEY_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 2
+#define GEN7_3DSTATE_CHROMA_KEY_length 0x00000004
+
struct GEN7_3DSTATE_CHROMA_KEY {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CHROMA_KEY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CHROMA_KEY * restrict values)
+ const struct GEN7_3DSTATE_CHROMA_KEY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CLEAR_PARAMS_length 0x00000003
#define GEN7_3DSTATE_CLEAR_PARAMS_length_bias 0x00000002
#define GEN7_3DSTATE_CLEAR_PARAMS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 1
+#define GEN7_3DSTATE_CLEAR_PARAMS_length 0x00000003
+
struct GEN7_3DSTATE_CLEAR_PARAMS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CLEAR_PARAMS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CLEAR_PARAMS * restrict values)
+ const struct GEN7_3DSTATE_CLEAR_PARAMS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CLIP_length 0x00000004
#define GEN7_3DSTATE_CLIP_length_bias 0x00000002
#define GEN7_3DSTATE_CLIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 18, \
.DwordLength = 2
+#define GEN7_3DSTATE_CLIP_length 0x00000004
+
struct GEN7_3DSTATE_CLIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CLIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CLIP * restrict values)
+ const struct GEN7_3DSTATE_CLIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CONSTANT_DS_length 0x00000007
#define GEN7_3DSTATE_CONSTANT_DS_length_bias 0x00000002
#define GEN7_3DSTATE_CONSTANT_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 26, \
.DwordLength = 5
+#define GEN7_3DSTATE_CONSTANT_DS_length 0x00000007
+
+#define GEN7_3DSTATE_CONSTANT_BODY_length 0x00000006
+
struct GEN7_3DSTATE_CONSTANT_BODY {
uint32_t ConstantBuffer1ReadLength;
uint32_t ConstantBuffer0ReadLength;
static inline void
GEN7_3DSTATE_CONSTANT_BODY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_BODY * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_BODY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_3DSTATE_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_DS * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN7_3DSTATE_CONSTANT_GS_length 0x00000007
#define GEN7_3DSTATE_CONSTANT_GS_length_bias 0x00000002
#define GEN7_3DSTATE_CONSTANT_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 22, \
.DwordLength = 5
+#define GEN7_3DSTATE_CONSTANT_GS_length 0x00000007
+
struct GEN7_3DSTATE_CONSTANT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_GS * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN7_3DSTATE_CONSTANT_HS_length 0x00000007
#define GEN7_3DSTATE_CONSTANT_HS_length_bias 0x00000002
#define GEN7_3DSTATE_CONSTANT_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 25, \
.DwordLength = 5
+#define GEN7_3DSTATE_CONSTANT_HS_length 0x00000007
+
struct GEN7_3DSTATE_CONSTANT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_HS * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN7_3DSTATE_CONSTANT_PS_length 0x00000007
#define GEN7_3DSTATE_CONSTANT_PS_length_bias 0x00000002
#define GEN7_3DSTATE_CONSTANT_PS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 23, \
.DwordLength = 5
+#define GEN7_3DSTATE_CONSTANT_PS_length 0x00000007
+
struct GEN7_3DSTATE_CONSTANT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_PS * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN7_3DSTATE_CONSTANT_VS_length 0x00000007
#define GEN7_3DSTATE_CONSTANT_VS_length_bias 0x00000002
#define GEN7_3DSTATE_CONSTANT_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 21, \
.DwordLength = 5
+#define GEN7_3DSTATE_CONSTANT_VS_length 0x00000007
+
struct GEN7_3DSTATE_CONSTANT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_CONSTANT_VS * restrict values)
+ const struct GEN7_3DSTATE_CONSTANT_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN7_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN7_3DSTATE_DEPTH_BUFFER_length 0x00000007
#define GEN7_3DSTATE_DEPTH_BUFFER_length_bias 0x00000002
#define GEN7_3DSTATE_DEPTH_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 5, \
.DwordLength = 5
+#define GEN7_3DSTATE_DEPTH_BUFFER_length 0x00000007
+
struct GEN7_3DSTATE_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_DEPTH_BUFFER * restrict values)
+ const struct GEN7_3DSTATE_DEPTH_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length 0x00000002
#define GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length_bias 0x00000002
#define GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 37, \
.DwordLength = 0
+#define GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_length 0x00000002
+
struct GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS * restrict values)
+ const struct GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
#define GEN7_3DSTATE_DRAWING_RECTANGLE_length_bias 0x00000002
#define GEN7_3DSTATE_DRAWING_RECTANGLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 2
+#define GEN7_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
+
struct GEN7_3DSTATE_DRAWING_RECTANGLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_DRAWING_RECTANGLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_DRAWING_RECTANGLE * restrict values)
+ const struct GEN7_3DSTATE_DRAWING_RECTANGLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_DS_length 0x00000006
#define GEN7_3DSTATE_DS_length_bias 0x00000002
#define GEN7_3DSTATE_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 29, \
.DwordLength = 4
+#define GEN7_3DSTATE_DS_length 0x00000006
+
struct GEN7_3DSTATE_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_DS * restrict values)
+ const struct GEN7_3DSTATE_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_GS_length 0x00000007
#define GEN7_3DSTATE_GS_length_bias 0x00000002
#define GEN7_3DSTATE_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 5
+#define GEN7_3DSTATE_GS_length 0x00000007
+
struct GEN7_3DSTATE_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_GS * restrict values)
+ const struct GEN7_3DSTATE_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000003
#define GEN7_3DSTATE_HIER_DEPTH_BUFFER_length_bias 0x00000002
#define GEN7_3DSTATE_HIER_DEPTH_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 7, \
.DwordLength = 1
+#define GEN7_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000003
+
struct GEN7_3DSTATE_HIER_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_HIER_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
+ const struct GEN7_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_HS_length 0x00000007
#define GEN7_3DSTATE_HS_length_bias 0x00000002
#define GEN7_3DSTATE_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 27, \
.DwordLength = 5
+#define GEN7_3DSTATE_HS_length 0x00000007
+
struct GEN7_3DSTATE_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_HS * restrict values)
+ const struct GEN7_3DSTATE_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_INDEX_BUFFER_length 0x00000003
#define GEN7_3DSTATE_INDEX_BUFFER_length_bias 0x00000002
#define GEN7_3DSTATE_INDEX_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 10, \
.DwordLength = 1
+#define GEN7_3DSTATE_INDEX_BUFFER_length 0x00000003
+
struct GEN7_3DSTATE_INDEX_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_INDEX_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_INDEX_BUFFER * restrict values)
+ const struct GEN7_3DSTATE_INDEX_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_LINE_STIPPLE_length 0x00000003
#define GEN7_3DSTATE_LINE_STIPPLE_length_bias 0x00000002
#define GEN7_3DSTATE_LINE_STIPPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 8, \
.DwordLength = 1
+#define GEN7_3DSTATE_LINE_STIPPLE_length 0x00000003
+
struct GEN7_3DSTATE_LINE_STIPPLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_LINE_STIPPLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_LINE_STIPPLE * restrict values)
+ const struct GEN7_3DSTATE_LINE_STIPPLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_MONOFILTER_SIZE_length 0x00000002
#define GEN7_3DSTATE_MONOFILTER_SIZE_length_bias 0x00000002
#define GEN7_3DSTATE_MONOFILTER_SIZE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 0
+#define GEN7_3DSTATE_MONOFILTER_SIZE_length 0x00000002
+
struct GEN7_3DSTATE_MONOFILTER_SIZE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_MONOFILTER_SIZE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_MONOFILTER_SIZE * restrict values)
+ const struct GEN7_3DSTATE_MONOFILTER_SIZE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_MULTISAMPLE_length 0x00000004
#define GEN7_3DSTATE_MULTISAMPLE_length_bias 0x00000002
#define GEN7_3DSTATE_MULTISAMPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 13, \
.DwordLength = 2
+#define GEN7_3DSTATE_MULTISAMPLE_length 0x00000004
+
struct GEN7_3DSTATE_MULTISAMPLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_MULTISAMPLE * restrict values)
+ const struct GEN7_3DSTATE_MULTISAMPLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
#define GEN7_3DSTATE_POLY_STIPPLE_OFFSET_length_bias 0x00000002
#define GEN7_3DSTATE_POLY_STIPPLE_OFFSET_header \
.CommandType = 3, \
._3DCommandSubOpcode = 6, \
.DwordLength = 0
+#define GEN7_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
+
struct GEN7_3DSTATE_POLY_STIPPLE_OFFSET {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_POLY_STIPPLE_OFFSET_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
+ const struct GEN7_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
#define GEN7_3DSTATE_POLY_STIPPLE_PATTERN_length_bias 0x00000002
#define GEN7_3DSTATE_POLY_STIPPLE_PATTERN_header\
.CommandType = 3, \
._3DCommandSubOpcode = 7, \
.DwordLength = 31
+#define GEN7_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
+
struct GEN7_3DSTATE_POLY_STIPPLE_PATTERN {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_POLY_STIPPLE_PATTERN_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
+ const struct GEN7_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PS_length 0x00000008
#define GEN7_3DSTATE_PS_length_bias 0x00000002
#define GEN7_3DSTATE_PS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 32, \
.DwordLength = 6
+#define GEN7_3DSTATE_PS_length 0x00000008
+
struct GEN7_3DSTATE_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PS * restrict values)
+ const struct GEN7_3DSTATE_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length_bias 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 20, \
.DwordLength = 0
+#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
+
struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
+ const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length_bias 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 21, \
.DwordLength = 0
+#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
+
struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
+ const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length_bias 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 19, \
.DwordLength = 0
+#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
+
struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
+ const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length_bias 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 22, \
.DwordLength = 0
+#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
+
struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
+ const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length_bias 0x00000002
#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 18, \
.DwordLength = 0
+#define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
+
struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
+ const struct GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 2
+#define GEN7_3DSTATE_SAMPLER_PALETTE_LOAD0_length 0x00000000
+
+#define GEN7_PALETTE_ENTRY_length 0x00000001
+
struct GEN7_PALETTE_ENTRY {
uint32_t Alpha;
uint32_t Red;
static inline void
GEN7_PALETTE_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_PALETTE_ENTRY * restrict values)
+ const struct GEN7_PALETTE_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_3DSTATE_SAMPLER_PALETTE_LOAD0_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 12
+#define GEN7_3DSTATE_SAMPLER_PALETTE_LOAD1_length 0x00000000
+
struct GEN7_3DSTATE_SAMPLER_PALETTE_LOAD1 {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_PALETTE_LOAD1_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 45, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 46, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 44, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 47, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 43, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
+ const struct GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SAMPLE_MASK_length 0x00000002
#define GEN7_3DSTATE_SAMPLE_MASK_length_bias 0x00000002
#define GEN7_3DSTATE_SAMPLE_MASK_header \
.CommandType = 3, \
._3DCommandSubOpcode = 24, \
.DwordLength = 0
+#define GEN7_3DSTATE_SAMPLE_MASK_length 0x00000002
+
struct GEN7_3DSTATE_SAMPLE_MASK {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SAMPLE_MASK_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SAMPLE_MASK * restrict values)
+ const struct GEN7_3DSTATE_SAMPLE_MASK * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SBE_length 0x0000000e
#define GEN7_3DSTATE_SBE_length_bias 0x00000002
#define GEN7_3DSTATE_SBE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 31, \
.DwordLength = 12
+#define GEN7_3DSTATE_SBE_length 0x0000000e
+
struct GEN7_3DSTATE_SBE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SBE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SBE * restrict values)
+ const struct GEN7_3DSTATE_SBE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
#define GEN7_3DSTATE_SCISSOR_STATE_POINTERS_length_bias 0x00000002
#define GEN7_3DSTATE_SCISSOR_STATE_POINTERS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 15, \
.DwordLength = 0
+#define GEN7_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
+
struct GEN7_3DSTATE_SCISSOR_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SCISSOR_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
+ const struct GEN7_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_SF_length 0x00000007
#define GEN7_3DSTATE_SF_length_bias 0x00000002
#define GEN7_3DSTATE_SF_header \
.CommandType = 3, \
._3DCommandSubOpcode = 19, \
.DwordLength = 5
+#define GEN7_3DSTATE_SF_length 0x00000007
+
struct GEN7_3DSTATE_SF {
uint32_t CommandType;
uint32_t CommandSubType;
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
GEN7_3DSTATE_SF_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SF * restrict values)
+ const struct GEN7_3DSTATE_SF * restrict values)
{
uint32_t *dw = (uint32_t * 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 GEN7_3DSTATE_SO_BUFFER_length 0x00000004
#define GEN7_3DSTATE_SO_BUFFER_length_bias 0x00000002
#define GEN7_3DSTATE_SO_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 24, \
.DwordLength = 2
+#define GEN7_3DSTATE_SO_BUFFER_length 0x00000004
+
struct GEN7_3DSTATE_SO_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_SO_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SO_BUFFER * restrict values)
+ const struct GEN7_3DSTATE_SO_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 23
+#define GEN7_3DSTATE_SO_DECL_LIST_length 0x00000000
+
+#define GEN7_SO_DECL_ENTRY_length 0x00000002
+
+#define GEN7_SO_DECL_length 0x00000001
+
struct GEN7_SO_DECL {
uint32_t OutputBufferSlot;
uint32_t HoleFlag;
static inline void
GEN7_SO_DECL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SO_DECL * restrict values)
+ const struct GEN7_SO_DECL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_SO_DECL_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SO_DECL_ENTRY * restrict values)
+ const struct GEN7_SO_DECL_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_3DSTATE_SO_DECL_LIST_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_SO_DECL_LIST * restrict values)
+ const struct GEN7_3DSTATE_SO_DECL_LIST * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_3DSTATE_STENCIL_BUFFER_length 0x00000003
#define GEN7_3DSTATE_STENCIL_BUFFER_length_bias 0x00000002
#define GEN7_3DSTATE_STENCIL_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 6, \
.DwordLength = 1
+#define GEN7_3DSTATE_STENCIL_BUFFER_length 0x00000003
+
struct GEN7_3DSTATE_STENCIL_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_STENCIL_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_STENCIL_BUFFER * restrict values)
+ const struct GEN7_3DSTATE_STENCIL_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_STREAMOUT_length 0x00000003
#define GEN7_3DSTATE_STREAMOUT_length_bias 0x00000002
#define GEN7_3DSTATE_STREAMOUT_header \
.CommandType = 3, \
._3DCommandSubOpcode = 30, \
.DwordLength = 1
+#define GEN7_3DSTATE_STREAMOUT_length 0x00000003
+
struct GEN7_3DSTATE_STREAMOUT {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_STREAMOUT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_STREAMOUT * restrict values)
+ const struct GEN7_3DSTATE_STREAMOUT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_TE_length 0x00000004
#define GEN7_3DSTATE_TE_length_bias 0x00000002
#define GEN7_3DSTATE_TE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 28, \
.DwordLength = 2
+#define GEN7_3DSTATE_TE_length 0x00000004
+
struct GEN7_3DSTATE_TE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_TE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_TE * restrict values)
+ const struct GEN7_3DSTATE_TE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_URB_DS_length 0x00000002
#define GEN7_3DSTATE_URB_DS_length_bias 0x00000002
#define GEN7_3DSTATE_URB_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 50, \
.DwordLength = 0
+#define GEN7_3DSTATE_URB_DS_length 0x00000002
+
struct GEN7_3DSTATE_URB_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_URB_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_URB_DS * restrict values)
+ const struct GEN7_3DSTATE_URB_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_URB_GS_length 0x00000002
#define GEN7_3DSTATE_URB_GS_length_bias 0x00000002
#define GEN7_3DSTATE_URB_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 51, \
.DwordLength = 0
+#define GEN7_3DSTATE_URB_GS_length 0x00000002
+
struct GEN7_3DSTATE_URB_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_URB_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_URB_GS * restrict values)
+ const struct GEN7_3DSTATE_URB_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_URB_HS_length 0x00000002
#define GEN7_3DSTATE_URB_HS_length_bias 0x00000002
#define GEN7_3DSTATE_URB_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 49, \
.DwordLength = 0
+#define GEN7_3DSTATE_URB_HS_length 0x00000002
+
struct GEN7_3DSTATE_URB_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_URB_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_URB_HS * restrict values)
+ const struct GEN7_3DSTATE_URB_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 8
+#define GEN7_3DSTATE_VERTEX_BUFFERS_length 0x00000000
+
+#define GEN7_VERTEX_BUFFER_STATE_length 0x00000004
+
struct GEN7_VERTEX_BUFFER_STATE {
uint32_t VertexBufferIndex;
#define VERTEXDATA 0
static inline void
GEN7_VERTEX_BUFFER_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_VERTEX_BUFFER_STATE * restrict values)
+ const struct GEN7_VERTEX_BUFFER_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_3DSTATE_VERTEX_BUFFERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VERTEX_BUFFERS * restrict values)
+ const struct GEN7_3DSTATE_VERTEX_BUFFERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 9
+#define GEN7_3DSTATE_VERTEX_ELEMENTS_length 0x00000000
+
+#define GEN7_VERTEX_ELEMENT_STATE_length 0x00000002
+
struct GEN7_VERTEX_ELEMENT_STATE {
uint32_t VertexBufferIndex;
bool Valid;
static inline void
GEN7_VERTEX_ELEMENT_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_VERTEX_ELEMENT_STATE * restrict values)
+ const struct GEN7_VERTEX_ELEMENT_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_3DSTATE_VERTEX_ELEMENTS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VERTEX_ELEMENTS * restrict values)
+ const struct GEN7_3DSTATE_VERTEX_ELEMENTS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_3DSTATE_VF_STATISTICS_length 0x00000001
#define GEN7_3DSTATE_VF_STATISTICS_length_bias 0x00000001
#define GEN7_3DSTATE_VF_STATISTICS_header \
.CommandType = 3, \
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 11
+#define GEN7_3DSTATE_VF_STATISTICS_length 0x00000001
+
struct GEN7_3DSTATE_VF_STATISTICS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_VF_STATISTICS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VF_STATISTICS * restrict values)
+ const struct GEN7_3DSTATE_VF_STATISTICS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length_bias 0x00000002
#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC_header\
.CommandType = 3, \
._3DCommandSubOpcode = 35, \
.DwordLength = 0
+#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
+
struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
+ const struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length_bias 0x00000002
#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_header\
.CommandType = 3, \
._3DCommandSubOpcode = 33, \
.DwordLength = 0
+#define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
+
struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
+ const struct GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_VS_length 0x00000006
#define GEN7_3DSTATE_VS_length_bias 0x00000002
#define GEN7_3DSTATE_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 16, \
.DwordLength = 4
+#define GEN7_3DSTATE_VS_length 0x00000006
+
struct GEN7_3DSTATE_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_VS * restrict values)
+ const struct GEN7_3DSTATE_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_WM_length 0x00000003
#define GEN7_3DSTATE_WM_length_bias 0x00000002
#define GEN7_3DSTATE_WM_header \
.CommandType = 3, \
._3DCommandSubOpcode = 20, \
.DwordLength = 1
+#define GEN7_3DSTATE_WM_length 0x00000003
+
struct GEN7_3DSTATE_WM {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_3DSTATE_WM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_3DSTATE_WM * restrict values)
+ const struct GEN7_3DSTATE_WM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_GPGPU_OBJECT_length 0x00000008
#define GEN7_GPGPU_OBJECT_length_bias 0x00000002
#define GEN7_GPGPU_OBJECT_header \
.CommandType = 3, \
.SubOpcode = 4, \
.DwordLength = 6
+#define GEN7_GPGPU_OBJECT_length 0x00000008
+
struct GEN7_GPGPU_OBJECT {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_GPGPU_OBJECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_GPGPU_OBJECT * restrict values)
+ const struct GEN7_GPGPU_OBJECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_GPGPU_WALKER_length 0x0000000b
#define GEN7_GPGPU_WALKER_length_bias 0x00000002
#define GEN7_GPGPU_WALKER_header \
.CommandType = 3, \
.SubOpcodeA = 5, \
.DwordLength = 9
+#define GEN7_GPGPU_WALKER_length 0x0000000b
+
struct GEN7_GPGPU_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_GPGPU_WALKER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_GPGPU_WALKER * restrict values)
+ const struct GEN7_GPGPU_WALKER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MEDIA_CURBE_LOAD_length 0x00000004
#define GEN7_MEDIA_CURBE_LOAD_length_bias 0x00000002
#define GEN7_MEDIA_CURBE_LOAD_header \
.CommandType = 3, \
.SubOpcode = 1, \
.DwordLength = 2
+#define GEN7_MEDIA_CURBE_LOAD_length 0x00000004
+
struct GEN7_MEDIA_CURBE_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_CURBE_LOAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_CURBE_LOAD * restrict values)
+ const struct GEN7_MEDIA_CURBE_LOAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
#define GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length_bias 0x00000002
#define GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD_header\
.CommandType = 3, \
.SubOpcode = 2, \
.DwordLength = 2
+#define GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
+
struct GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
+ const struct GEN7_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.MediaCommandOpcode = 1, \
.MediaCommandSubOpcode = 0
+#define GEN7_MEDIA_OBJECT_length 0x00000000
+
struct GEN7_MEDIA_OBJECT {
uint32_t CommandType;
uint32_t MediaCommandPipeline;
static inline void
GEN7_MEDIA_OBJECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_OBJECT * restrict values)
+ const struct GEN7_MEDIA_OBJECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_MEDIA_OBJECT_PRT_length 0x00000010
#define GEN7_MEDIA_OBJECT_PRT_length_bias 0x00000002
#define GEN7_MEDIA_OBJECT_PRT_header \
.CommandType = 3, \
.SubOpcode = 2, \
.DwordLength = 14
+#define GEN7_MEDIA_OBJECT_PRT_length 0x00000010
+
struct GEN7_MEDIA_OBJECT_PRT {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_OBJECT_PRT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_OBJECT_PRT * restrict values)
+ const struct GEN7_MEDIA_OBJECT_PRT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.MediaCommandOpcode = 1, \
.SubOpcode = 3
+#define GEN7_MEDIA_OBJECT_WALKER_length 0x00000000
+
struct GEN7_MEDIA_OBJECT_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_OBJECT_WALKER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_OBJECT_WALKER * restrict values)
+ const struct GEN7_MEDIA_OBJECT_WALKER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_MEDIA_STATE_FLUSH_length 0x00000002
#define GEN7_MEDIA_STATE_FLUSH_length_bias 0x00000002
#define GEN7_MEDIA_STATE_FLUSH_header \
.CommandType = 3, \
.SubOpcode = 4, \
.DwordLength = 0
+#define GEN7_MEDIA_STATE_FLUSH_length 0x00000002
+
struct GEN7_MEDIA_STATE_FLUSH {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_STATE_FLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_STATE_FLUSH * restrict values)
+ const struct GEN7_MEDIA_STATE_FLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MEDIA_VFE_STATE_length 0x00000008
#define GEN7_MEDIA_VFE_STATE_length_bias 0x00000002
#define GEN7_MEDIA_VFE_STATE_header \
.CommandType = 3, \
.SubOpcode = 0, \
.DwordLength = 6
+#define GEN7_MEDIA_VFE_STATE_length 0x00000008
+
struct GEN7_MEDIA_VFE_STATE {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN7_MEDIA_VFE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MEDIA_VFE_STATE * restrict values)
+ const struct GEN7_MEDIA_VFE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_ARB_CHECK_length 0x00000001
#define GEN7_MI_ARB_CHECK_length_bias 0x00000001
#define GEN7_MI_ARB_CHECK_header \
.CommandType = 0, \
.MICommandOpcode = 5
+#define GEN7_MI_ARB_CHECK_length 0x00000001
+
struct GEN7_MI_ARB_CHECK {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_ARB_CHECK_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_ARB_CHECK * restrict values)
+ const struct GEN7_MI_ARB_CHECK * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_ARB_ON_OFF_length 0x00000001
#define GEN7_MI_ARB_ON_OFF_length_bias 0x00000001
#define GEN7_MI_ARB_ON_OFF_header \
.CommandType = 0, \
.MICommandOpcode = 8
+#define GEN7_MI_ARB_ON_OFF_length 0x00000001
+
struct GEN7_MI_ARB_ON_OFF {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_ARB_ON_OFF_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_ARB_ON_OFF * restrict values)
+ const struct GEN7_MI_ARB_ON_OFF * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_BATCH_BUFFER_END_length 0x00000001
#define GEN7_MI_BATCH_BUFFER_END_length_bias 0x00000001
#define GEN7_MI_BATCH_BUFFER_END_header \
.CommandType = 0, \
.MICommandOpcode = 10
+#define GEN7_MI_BATCH_BUFFER_END_length 0x00000001
+
struct GEN7_MI_BATCH_BUFFER_END {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_BATCH_BUFFER_END * restrict values)
+ const struct GEN7_MI_BATCH_BUFFER_END * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_BATCH_BUFFER_START_length 0x00000002
#define GEN7_MI_BATCH_BUFFER_START_length_bias 0x00000002
#define GEN7_MI_BATCH_BUFFER_START_header \
.CommandType = 0, \
.MICommandOpcode = 49, \
.DwordLength = 0
+#define GEN7_MI_BATCH_BUFFER_START_length 0x00000002
+
struct GEN7_MI_BATCH_BUFFER_START {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_BATCH_BUFFER_START_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_BATCH_BUFFER_START * restrict values)
+ const struct GEN7_MI_BATCH_BUFFER_START * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.CommandType = 0, \
.MICommandOpcode = 39
+#define GEN7_MI_CLFLUSH_length 0x00000000
+
struct GEN7_MI_CLFLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_CLFLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_CLFLUSH * restrict values)
+ const struct GEN7_MI_CLFLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000002
#define GEN7_MI_CONDITIONAL_BATCH_BUFFER_END_length_bias 0x00000002
#define GEN7_MI_CONDITIONAL_BATCH_BUFFER_END_header\
.CommandType = 0, \
.CompareSemaphore = 0, \
.DwordLength = 0
+#define GEN7_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000002
+
struct GEN7_MI_CONDITIONAL_BATCH_BUFFER_END {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_CONDITIONAL_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
+ const struct GEN7_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_FLUSH_length 0x00000001
#define GEN7_MI_FLUSH_length_bias 0x00000001
#define GEN7_MI_FLUSH_header \
.CommandType = 0, \
.MICommandOpcode = 4
+#define GEN7_MI_FLUSH_length 0x00000001
+
struct GEN7_MI_FLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_FLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_FLUSH * restrict values)
+ const struct GEN7_MI_FLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_LOAD_REGISTER_IMM_length 0x00000003
#define GEN7_MI_LOAD_REGISTER_IMM_length_bias 0x00000002
#define GEN7_MI_LOAD_REGISTER_IMM_header \
.CommandType = 0, \
.MICommandOpcode = 34, \
.DwordLength = 1
+#define GEN7_MI_LOAD_REGISTER_IMM_length 0x00000003
+
struct GEN7_MI_LOAD_REGISTER_IMM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_LOAD_REGISTER_IMM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_LOAD_REGISTER_IMM * restrict values)
+ const struct GEN7_MI_LOAD_REGISTER_IMM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_LOAD_REGISTER_MEM_length 0x00000003
#define GEN7_MI_LOAD_REGISTER_MEM_length_bias 0x00000002
#define GEN7_MI_LOAD_REGISTER_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 41, \
.DwordLength = 1
+#define GEN7_MI_LOAD_REGISTER_MEM_length 0x00000003
+
struct GEN7_MI_LOAD_REGISTER_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_LOAD_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_LOAD_REGISTER_MEM * restrict values)
+ const struct GEN7_MI_LOAD_REGISTER_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_NOOP_length 0x00000001
#define GEN7_MI_NOOP_length_bias 0x00000001
#define GEN7_MI_NOOP_header \
.CommandType = 0, \
.MICommandOpcode = 0
+#define GEN7_MI_NOOP_length 0x00000001
+
struct GEN7_MI_NOOP {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_NOOP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_NOOP * restrict values)
+ const struct GEN7_MI_NOOP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_PREDICATE_length 0x00000001
#define GEN7_MI_PREDICATE_length_bias 0x00000001
#define GEN7_MI_PREDICATE_header \
.CommandType = 0, \
.MICommandOpcode = 12
+#define GEN7_MI_PREDICATE_length 0x00000001
+
struct GEN7_MI_PREDICATE {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_PREDICATE * restrict values)
+ const struct GEN7_MI_PREDICATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_REPORT_HEAD_length 0x00000001
#define GEN7_MI_REPORT_HEAD_length_bias 0x00000001
#define GEN7_MI_REPORT_HEAD_header \
.CommandType = 0, \
.MICommandOpcode = 7
+#define GEN7_MI_REPORT_HEAD_length 0x00000001
+
struct GEN7_MI_REPORT_HEAD {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_REPORT_HEAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_REPORT_HEAD * restrict values)
+ const struct GEN7_MI_REPORT_HEAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_SEMAPHORE_MBOX_length 0x00000003
#define GEN7_MI_SEMAPHORE_MBOX_length_bias 0x00000002
#define GEN7_MI_SEMAPHORE_MBOX_header \
.CommandType = 0, \
.MICommandOpcode = 22, \
.DwordLength = 1
+#define GEN7_MI_SEMAPHORE_MBOX_length 0x00000003
+
struct GEN7_MI_SEMAPHORE_MBOX {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_SEMAPHORE_MBOX_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_SEMAPHORE_MBOX * restrict values)
+ const struct GEN7_MI_SEMAPHORE_MBOX * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_SET_CONTEXT_length 0x00000002
#define GEN7_MI_SET_CONTEXT_length_bias 0x00000002
#define GEN7_MI_SET_CONTEXT_header \
.CommandType = 0, \
.MICommandOpcode = 24, \
.DwordLength = 0
+#define GEN7_MI_SET_CONTEXT_length 0x00000002
+
struct GEN7_MI_SET_CONTEXT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_SET_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_SET_CONTEXT * restrict values)
+ const struct GEN7_MI_SET_CONTEXT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_STORE_DATA_IMM_length 0x00000004
#define GEN7_MI_STORE_DATA_IMM_length_bias 0x00000002
#define GEN7_MI_STORE_DATA_IMM_header \
.CommandType = 0, \
.MICommandOpcode = 32, \
.DwordLength = 2
+#define GEN7_MI_STORE_DATA_IMM_length 0x00000004
+
struct GEN7_MI_STORE_DATA_IMM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_STORE_DATA_IMM * restrict values)
+ const struct GEN7_MI_STORE_DATA_IMM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_STORE_DATA_INDEX_length 0x00000003
#define GEN7_MI_STORE_DATA_INDEX_length_bias 0x00000002
#define GEN7_MI_STORE_DATA_INDEX_header \
.CommandType = 0, \
.MICommandOpcode = 33, \
.DwordLength = 1
+#define GEN7_MI_STORE_DATA_INDEX_length 0x00000003
+
struct GEN7_MI_STORE_DATA_INDEX {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_STORE_DATA_INDEX_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_STORE_DATA_INDEX * restrict values)
+ const struct GEN7_MI_STORE_DATA_INDEX * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_SUSPEND_FLUSH_length 0x00000001
#define GEN7_MI_SUSPEND_FLUSH_length_bias 0x00000001
#define GEN7_MI_SUSPEND_FLUSH_header \
.CommandType = 0, \
.MICommandOpcode = 11
+#define GEN7_MI_SUSPEND_FLUSH_length 0x00000001
+
struct GEN7_MI_SUSPEND_FLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_SUSPEND_FLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_SUSPEND_FLUSH * restrict values)
+ const struct GEN7_MI_SUSPEND_FLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_TOPOLOGY_FILTER_length 0x00000001
#define GEN7_MI_TOPOLOGY_FILTER_length_bias 0x00000001
#define GEN7_MI_TOPOLOGY_FILTER_header \
.CommandType = 0, \
.MICommandOpcode = 13
+#define GEN7_MI_TOPOLOGY_FILTER_length 0x00000001
+
struct GEN7_MI_TOPOLOGY_FILTER {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_TOPOLOGY_FILTER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_TOPOLOGY_FILTER * restrict values)
+ const struct GEN7_MI_TOPOLOGY_FILTER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.CommandType = 0, \
.MICommandOpcode = 35
+#define GEN7_MI_UPDATE_GTT_length 0x00000000
+
struct GEN7_MI_UPDATE_GTT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_UPDATE_GTT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_UPDATE_GTT * restrict values)
+ const struct GEN7_MI_UPDATE_GTT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN7_MI_URB_CLEAR_length 0x00000002
#define GEN7_MI_URB_CLEAR_length_bias 0x00000002
#define GEN7_MI_URB_CLEAR_header \
.CommandType = 0, \
.MICommandOpcode = 25, \
.DwordLength = 0
+#define GEN7_MI_URB_CLEAR_length 0x00000002
+
struct GEN7_MI_URB_CLEAR {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_URB_CLEAR_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_URB_CLEAR * restrict values)
+ const struct GEN7_MI_URB_CLEAR * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_USER_INTERRUPT_length 0x00000001
#define GEN7_MI_USER_INTERRUPT_length_bias 0x00000001
#define GEN7_MI_USER_INTERRUPT_header \
.CommandType = 0, \
.MICommandOpcode = 2
+#define GEN7_MI_USER_INTERRUPT_length 0x00000001
+
struct GEN7_MI_USER_INTERRUPT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_USER_INTERRUPT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_USER_INTERRUPT * restrict values)
+ const struct GEN7_MI_USER_INTERRUPT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MI_WAIT_FOR_EVENT_length 0x00000001
#define GEN7_MI_WAIT_FOR_EVENT_length_bias 0x00000001
#define GEN7_MI_WAIT_FOR_EVENT_header \
.CommandType = 0, \
.MICommandOpcode = 3
+#define GEN7_MI_WAIT_FOR_EVENT_length 0x00000001
+
struct GEN7_MI_WAIT_FOR_EVENT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN7_MI_WAIT_FOR_EVENT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_MI_WAIT_FOR_EVENT * restrict values)
+ const struct GEN7_MI_WAIT_FOR_EVENT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_PIPE_CONTROL_length 0x00000005
#define GEN7_PIPE_CONTROL_length_bias 0x00000002
#define GEN7_PIPE_CONTROL_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 3
+#define GEN7_PIPE_CONTROL_length 0x00000005
+
struct GEN7_PIPE_CONTROL {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN7_PIPE_CONTROL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_PIPE_CONTROL * restrict values)
+ const struct GEN7_PIPE_CONTROL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_3DSTATE_CONSTANT_BODY_length 0x00000006
-
-#define GEN7_VERTEX_BUFFER_STATE_length 0x00000004
-
-#define GEN7_VERTEX_ELEMENT_STATE_length 0x00000002
-
-#define GEN7_SO_DECL_ENTRY_length 0x00000002
-
-#define GEN7_SO_DECL_length 0x00000001
-
#define GEN7_SCISSOR_RECT_length 0x00000002
struct GEN7_SCISSOR_RECT {
static inline void
GEN7_SCISSOR_RECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SCISSOR_RECT * restrict values)
+ const struct GEN7_SCISSOR_RECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SF_CLIP_VIEWPORT * restrict values)
+ const struct GEN7_SF_CLIP_VIEWPORT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_BLEND_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_BLEND_STATE * restrict values)
+ const struct GEN7_BLEND_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_CC_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_CC_VIEWPORT * restrict values)
+ const struct GEN7_CC_VIEWPORT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_COLOR_CALC_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_COLOR_CALC_STATE * restrict values)
+ const struct GEN7_COLOR_CALC_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN7_DEPTH_STENCIL_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_DEPTH_STENCIL_STATE * restrict values)
+ const struct GEN7_DEPTH_STENCIL_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
-
#define GEN7_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
struct GEN7_INTERFACE_DESCRIPTOR_DATA {
static inline void
GEN7_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_INTERFACE_DESCRIPTOR_DATA * restrict values)
+ const struct GEN7_INTERFACE_DESCRIPTOR_DATA * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN7_PALETTE_ENTRY_length 0x00000001
-
#define GEN7_BINDING_TABLE_STATE_length 0x00000001
struct GEN7_BINDING_TABLE_STATE {
static inline void
GEN7_BINDING_TABLE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_BINDING_TABLE_STATE * restrict values)
+ const struct GEN7_BINDING_TABLE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
#define SURFTYPE_STRBUF 5
#define SURFTYPE_NULL 7
uint32_t SurfaceType;
- uint32_t SurfaceArray;
+ bool SurfaceArray;
uint32_t SurfaceFormat;
uint32_t SurfaceVerticalAlignment;
#define HALIGN_4 0
#define INTERLACED_FRAME 3
uint32_t MediaBoundaryPixelMode;
uint32_t CubeFaceEnables;
- uint32_t SurfaceBaseAddress;
+ __gen_address_type SurfaceBaseAddress;
uint32_t Height;
uint32_t Width;
uint32_t Depth;
uint32_t MinimumArrayElement0;
uint32_t XOffset;
uint32_t YOffset;
- uint32_t SurfaceObjectControlState;
+ struct GEN7_MEMORY_OBJECT_CONTROL_STATE SurfaceObjectControlState;
uint32_t SurfaceMinLOD;
uint32_t MIPCountLOD;
- uint32_t MCSBaseAddress;
+ __gen_address_type MCSBaseAddress;
uint32_t MCSSurfacePitch;
- uint32_t AppendCounterAddress;
- uint32_t AppendCounterEnable;
- uint32_t MCSEnable;
+ __gen_address_type AppendCounterAddress;
+ bool AppendCounterEnable;
+ bool MCSEnable;
uint32_t XOffsetforUVPlane;
uint32_t YOffsetforUVPlane;
#define CC_ZERO 0
#define CC_ZERO 0
#define CC_ONE 1
uint32_t AlphaClearColor;
- uint32_t ResourceMinLOD;
+ float ResourceMinLOD;
};
static inline void
GEN7_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_RENDER_SURFACE_STATE * restrict values)
+ const struct GEN7_RENDER_SURFACE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
__gen_field(values->CubeFaceEnables, 0, 5) |
0;
- dw[1] =
- __gen_field(values->SurfaceBaseAddress, 0, 31) |
+ uint32_t dw1 =
0;
+ dw[1] =
+ __gen_combine_address(data, &dw[1], values->SurfaceBaseAddress, dw1);
+
dw[2] =
__gen_field(values->Height, 16, 29) |
__gen_field(values->Width, 0, 13) |
__gen_field(values->MinimumArrayElement, 0, 26) |
0;
+ uint32_t dw_SurfaceObjectControlState;
+ GEN7_MEMORY_OBJECT_CONTROL_STATE_pack(data, &dw_SurfaceObjectControlState, &values->SurfaceObjectControlState);
dw[5] =
- __gen_field(values->XOffset, 25, 31) |
- __gen_field(values->YOffset, 20, 23) |
- __gen_field(values->SurfaceObjectControlState, 16, 19) |
+ __gen_offset(values->XOffset, 25, 31) |
+ __gen_offset(values->YOffset, 20, 23) |
+ __gen_field(dw_SurfaceObjectControlState, 16, 19) |
__gen_field(values->SurfaceMinLOD, 4, 7) |
__gen_field(values->MIPCountLOD, 0, 3) |
0;
- dw[6] =
- __gen_field(values->MCSBaseAddress, 12, 31) |
+ uint32_t dw6 =
__gen_field(values->MCSSurfacePitch, 3, 11) |
- __gen_field(values->AppendCounterAddress, 6, 31) |
__gen_field(values->AppendCounterEnable, 1, 1) |
__gen_field(values->MCSEnable, 0, 0) |
__gen_field(values->XOffsetforUVPlane, 16, 29) |
__gen_field(values->YOffsetforUVPlane, 0, 13) |
0;
+ dw[6] =
+ __gen_combine_address(data, &dw[6], values->AppendCounterAddress, dw6);
+
dw[7] =
__gen_field(values->RedClearColor, 31, 31) |
__gen_field(values->GreenClearColor, 30, 30) |
__gen_field(values->BlueClearColor, 29, 29) |
__gen_field(values->AlphaClearColor, 28, 28) |
- __gen_field(values->ResourceMinLOD, 0, 11) |
+ __gen_field(values->ResourceMinLOD * (1 << 8), 0, 11) |
0;
}
#define GEN7_SAMPLER_BORDER_COLOR_STATE_length 0x00000004
struct GEN7_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;
+ float BorderColorGreen0;
+ float BorderColorBlue0;
+ float BorderColorAlpha0;
};
static inline void
GEN7_SAMPLER_BORDER_COLOR_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SAMPLER_BORDER_COLOR_STATE * restrict values)
+ const struct GEN7_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) |
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;
}
static inline void
GEN7_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN7_SAMPLER_STATE * restrict values)
+ const struct GEN7_SAMPLER_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
#endif
-#define GEN8_3DSTATE_URB_VS_length 0x00000002
#define GEN8_3DSTATE_URB_VS_length_bias 0x00000002
#define GEN8_3DSTATE_URB_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 48, \
.DwordLength = 0
+#define GEN8_3DSTATE_URB_VS_length 0x00000002
+
struct GEN8_3DSTATE_URB_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_URB_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_URB_VS * restrict values)
+ const struct GEN8_3DSTATE_URB_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VS_length 0x00000009
#define GEN8_3DSTATE_VS_length_bias 0x00000002
#define GEN8_3DSTATE_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 16, \
.DwordLength = 7
+#define GEN8_3DSTATE_VS_length 0x00000009
+
struct GEN8_3DSTATE_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VS * restrict values)
+ const struct GEN8_3DSTATE_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_GPGPU_CSR_BASE_ADDRESS_length 0x00000003
#define GEN8_GPGPU_CSR_BASE_ADDRESS_length_bias 0x00000002
#define GEN8_GPGPU_CSR_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 1
+#define GEN8_GPGPU_CSR_BASE_ADDRESS_length 0x00000003
+
struct GEN8_GPGPU_CSR_BASE_ADDRESS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_GPGPU_CSR_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_GPGPU_CSR_BASE_ADDRESS * restrict values)
+ const struct GEN8_GPGPU_CSR_BASE_ADDRESS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_ATOMIC_length 0x00000003
#define GEN8_MI_ATOMIC_length_bias 0x00000002
#define GEN8_MI_ATOMIC_header \
.CommandType = 0, \
.MICommandOpcode = 47
+#define GEN8_MI_ATOMIC_length 0x00000003
+
struct GEN8_MI_ATOMIC {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_ATOMIC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_ATOMIC * restrict values)
+ const struct GEN8_MI_ATOMIC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_REGISTER_REG_length 0x00000003
#define GEN8_MI_LOAD_REGISTER_REG_length_bias 0x00000002
#define GEN8_MI_LOAD_REGISTER_REG_header \
.CommandType = 0, \
.MICommandOpcode = 42, \
.DwordLength = 1
+#define GEN8_MI_LOAD_REGISTER_REG_length 0x00000003
+
struct GEN8_MI_LOAD_REGISTER_REG {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_REGISTER_REG_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_REGISTER_REG * restrict values)
+ const struct GEN8_MI_LOAD_REGISTER_REG * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_SEMAPHORE_SIGNAL_length 0x00000002
#define GEN8_MI_SEMAPHORE_SIGNAL_length_bias 0x00000002
#define GEN8_MI_SEMAPHORE_SIGNAL_header \
.CommandType = 0, \
.MICommandOpcode = 27, \
.DwordLength = 0
+#define GEN8_MI_SEMAPHORE_SIGNAL_length 0x00000002
+
struct GEN8_MI_SEMAPHORE_SIGNAL {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_SEMAPHORE_SIGNAL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_SEMAPHORE_SIGNAL * restrict values)
+ const struct GEN8_MI_SEMAPHORE_SIGNAL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_SEMAPHORE_WAIT_length 0x00000004
#define GEN8_MI_SEMAPHORE_WAIT_length_bias 0x00000002
#define GEN8_MI_SEMAPHORE_WAIT_header \
.CommandType = 0, \
.MICommandOpcode = 28, \
.DwordLength = 2
+#define GEN8_MI_SEMAPHORE_WAIT_length 0x00000004
+
struct GEN8_MI_SEMAPHORE_WAIT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_SEMAPHORE_WAIT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_SEMAPHORE_WAIT * restrict values)
+ const struct GEN8_MI_SEMAPHORE_WAIT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_STORE_REGISTER_MEM_length 0x00000004
#define GEN8_MI_STORE_REGISTER_MEM_length_bias 0x00000002
#define GEN8_MI_STORE_REGISTER_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 36, \
.DwordLength = 2
+#define GEN8_MI_STORE_REGISTER_MEM_length 0x00000004
+
struct GEN8_MI_STORE_REGISTER_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_STORE_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_STORE_REGISTER_MEM * restrict values)
+ const struct GEN8_MI_STORE_REGISTER_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_PIPELINE_SELECT_length 0x00000001
#define GEN8_PIPELINE_SELECT_length_bias 0x00000001
#define GEN8_PIPELINE_SELECT_header \
.CommandType = 3, \
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 4
+#define GEN8_PIPELINE_SELECT_length 0x00000001
+
struct GEN8_PIPELINE_SELECT {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_PIPELINE_SELECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_PIPELINE_SELECT * restrict values)
+ const struct GEN8_PIPELINE_SELECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_STATE_BASE_ADDRESS_length 0x00000010
#define GEN8_STATE_BASE_ADDRESS_length_bias 0x00000002
#define GEN8_STATE_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 1, \
.DwordLength = 14
+#define GEN8_STATE_BASE_ADDRESS_length 0x00000010
+
+#define GEN8_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
+
struct GEN8_MEMORY_OBJECT_CONTROL_STATE {
#define UCwithFenceifcoherentcycle 0
#define UCUncacheable 1
static inline void
GEN8_MEMORY_OBJECT_CONTROL_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEMORY_OBJECT_CONTROL_STATE * restrict values)
+ const struct GEN8_MEMORY_OBJECT_CONTROL_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_STATE_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_STATE_BASE_ADDRESS * restrict values)
+ const struct GEN8_STATE_BASE_ADDRESS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_STATE_PREFETCH_length 0x00000002
#define GEN8_STATE_PREFETCH_length_bias 0x00000002
#define GEN8_STATE_PREFETCH_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN8_STATE_PREFETCH_length 0x00000002
+
struct GEN8_STATE_PREFETCH {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_STATE_PREFETCH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_STATE_PREFETCH * restrict values)
+ const struct GEN8_STATE_PREFETCH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_STATE_SIP_length 0x00000003
#define GEN8_STATE_SIP_length_bias 0x00000002
#define GEN8_STATE_SIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 2, \
.DwordLength = 1
+#define GEN8_STATE_SIP_length 0x00000003
+
struct GEN8_STATE_SIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_STATE_SIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_STATE_SIP * restrict values)
+ const struct GEN8_STATE_SIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_SWTESS_BASE_ADDRESS_length 0x00000002
#define GEN8_SWTESS_BASE_ADDRESS_length_bias 0x00000002
#define GEN8_SWTESS_BASE_ADDRESS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 3, \
.DwordLength = 0
+#define GEN8_SWTESS_BASE_ADDRESS_length 0x00000002
+
struct GEN8_SWTESS_BASE_ADDRESS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_SWTESS_BASE_ADDRESS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SWTESS_BASE_ADDRESS * restrict values)
+ const struct GEN8_SWTESS_BASE_ADDRESS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DPRIMITIVE_length 0x00000007
#define GEN8_3DPRIMITIVE_length_bias 0x00000002
#define GEN8_3DPRIMITIVE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 5
+#define GEN8_3DPRIMITIVE_length 0x00000007
+
struct GEN8_3DPRIMITIVE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DPRIMITIVE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DPRIMITIVE * restrict values)
+ const struct GEN8_3DPRIMITIVE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
#define GEN8_3DSTATE_AA_LINE_PARAMETERS_length_bias 0x00000002
#define GEN8_3DSTATE_AA_LINE_PARAMETERS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 10, \
.DwordLength = 1
+#define GEN8_3DSTATE_AA_LINE_PARAMETERS_length 0x00000003
+
struct GEN8_3DSTATE_AA_LINE_PARAMETERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_AA_LINE_PARAMETERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_AA_LINE_PARAMETERS * restrict values)
+ const struct GEN8_3DSTATE_AA_LINE_PARAMETERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 70
+#define GEN8_3DSTATE_BINDING_TABLE_EDIT_DS_length 0x00000000
+
+#define GEN8_BINDING_TABLE_EDIT_ENTRY_length 0x00000001
+
struct GEN8_BINDING_TABLE_EDIT_ENTRY {
uint32_t BindingTableIndex;
uint32_t SurfaceStatePointer;
static inline void
GEN8_BINDING_TABLE_EDIT_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_BINDING_TABLE_EDIT_ENTRY * restrict values)
+ const struct GEN8_BINDING_TABLE_EDIT_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_BINDING_TABLE_EDIT_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_DS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 68
+#define GEN8_3DSTATE_BINDING_TABLE_EDIT_GS_length 0x00000000
+
struct GEN8_3DSTATE_BINDING_TABLE_EDIT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_EDIT_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_GS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 69
+#define GEN8_3DSTATE_BINDING_TABLE_EDIT_HS_length 0x00000000
+
struct GEN8_3DSTATE_BINDING_TABLE_EDIT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_EDIT_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_HS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 71
+#define GEN8_3DSTATE_BINDING_TABLE_EDIT_PS_length 0x00000000
+
struct GEN8_3DSTATE_BINDING_TABLE_EDIT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_EDIT_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_PS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 67
+#define GEN8_3DSTATE_BINDING_TABLE_EDIT_VS_length 0x00000000
+
struct GEN8_3DSTATE_BINDING_TABLE_EDIT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_EDIT_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_VS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_EDIT_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 40, \
.DwordLength = 0
+#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS_length 0x00000002
+
struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 41, \
.DwordLength = 0
+#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS_length 0x00000002
+
struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 39, \
.DwordLength = 0
+#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS_length 0x00000002
+
struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 42, \
.DwordLength = 0
+#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS_length 0x00000002
+
struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 38, \
.DwordLength = 0
+#define GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS_length 0x00000002
+
struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POINTERS_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC_length 0x00000004
#define GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC_length_bias 0x00000002
#define GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC_header\
.CommandType = 3, \
._3DCommandSubOpcode = 25, \
.DwordLength = 2
+#define GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC_length 0x00000004
+
struct GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC * restrict values)
+ const struct GEN8_3DSTATE_BINDING_TABLE_POOL_ALLOC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
#define GEN8_3DSTATE_BLEND_STATE_POINTERS_length_bias 0x00000002
#define GEN8_3DSTATE_BLEND_STATE_POINTERS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 36, \
.DwordLength = 0
+#define GEN8_3DSTATE_BLEND_STATE_POINTERS_length 0x00000002
+
struct GEN8_3DSTATE_BLEND_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_BLEND_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_BLEND_STATE_POINTERS * restrict values)
+ const struct GEN8_3DSTATE_BLEND_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CC_STATE_POINTERS_length 0x00000002
#define GEN8_3DSTATE_CC_STATE_POINTERS_length_bias 0x00000002
#define GEN8_3DSTATE_CC_STATE_POINTERS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 14, \
.DwordLength = 0
+#define GEN8_3DSTATE_CC_STATE_POINTERS_length 0x00000002
+
struct GEN8_3DSTATE_CC_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CC_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CC_STATE_POINTERS * restrict values)
+ const struct GEN8_3DSTATE_CC_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CHROMA_KEY_length 0x00000004
#define GEN8_3DSTATE_CHROMA_KEY_length_bias 0x00000002
#define GEN8_3DSTATE_CHROMA_KEY_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 2
+#define GEN8_3DSTATE_CHROMA_KEY_length 0x00000004
+
struct GEN8_3DSTATE_CHROMA_KEY {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CHROMA_KEY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CHROMA_KEY * restrict values)
+ const struct GEN8_3DSTATE_CHROMA_KEY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CLEAR_PARAMS_length 0x00000003
#define GEN8_3DSTATE_CLEAR_PARAMS_length_bias 0x00000002
#define GEN8_3DSTATE_CLEAR_PARAMS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 4, \
.DwordLength = 1
+#define GEN8_3DSTATE_CLEAR_PARAMS_length 0x00000003
+
struct GEN8_3DSTATE_CLEAR_PARAMS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CLEAR_PARAMS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CLEAR_PARAMS * restrict values)
+ const struct GEN8_3DSTATE_CLEAR_PARAMS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CLIP_length 0x00000004
#define GEN8_3DSTATE_CLIP_length_bias 0x00000002
#define GEN8_3DSTATE_CLIP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 18, \
.DwordLength = 2
+#define GEN8_3DSTATE_CLIP_length 0x00000004
+
struct GEN8_3DSTATE_CLIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CLIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CLIP * restrict values)
+ const struct GEN8_3DSTATE_CLIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CONSTANT_DS_length 0x0000000b
#define GEN8_3DSTATE_CONSTANT_DS_length_bias 0x00000002
#define GEN8_3DSTATE_CONSTANT_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 26, \
.DwordLength = 9
+#define GEN8_3DSTATE_CONSTANT_DS_length 0x0000000b
+
+#define GEN8_3DSTATE_CONSTANT_BODY_length 0x0000000a
+
struct GEN8_3DSTATE_CONSTANT_BODY {
uint32_t ConstantBuffer1ReadLength;
uint32_t ConstantBuffer0ReadLength;
static inline void
GEN8_3DSTATE_CONSTANT_BODY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_BODY * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_BODY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_DS * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN8_3DSTATE_CONSTANT_GS_length 0x0000000b
#define GEN8_3DSTATE_CONSTANT_GS_length_bias 0x00000002
#define GEN8_3DSTATE_CONSTANT_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 22, \
.DwordLength = 9
+#define GEN8_3DSTATE_CONSTANT_GS_length 0x0000000b
+
struct GEN8_3DSTATE_CONSTANT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_GS * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN8_3DSTATE_CONSTANT_HS_length 0x0000000b
#define GEN8_3DSTATE_CONSTANT_HS_length_bias 0x00000002
#define GEN8_3DSTATE_CONSTANT_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 25, \
.DwordLength = 9
+#define GEN8_3DSTATE_CONSTANT_HS_length 0x0000000b
+
struct GEN8_3DSTATE_CONSTANT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_HS * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN8_3DSTATE_CONSTANT_PS_length 0x0000000b
#define GEN8_3DSTATE_CONSTANT_PS_length_bias 0x00000002
#define GEN8_3DSTATE_CONSTANT_PS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 23, \
.DwordLength = 9
+#define GEN8_3DSTATE_CONSTANT_PS_length 0x0000000b
+
struct GEN8_3DSTATE_CONSTANT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_PS * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN8_3DSTATE_CONSTANT_VS_length 0x0000000b
#define GEN8_3DSTATE_CONSTANT_VS_length_bias 0x00000002
#define GEN8_3DSTATE_CONSTANT_VS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 21, \
.DwordLength = 9
+#define GEN8_3DSTATE_CONSTANT_VS_length 0x0000000b
+
struct GEN8_3DSTATE_CONSTANT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_CONSTANT_VS * restrict values)
+ const struct GEN8_3DSTATE_CONSTANT_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_3DSTATE_CONSTANT_BODY_pack(data, &dw[1], &values->ConstantBody);
}
-#define GEN8_3DSTATE_DEPTH_BUFFER_length 0x00000008
#define GEN8_3DSTATE_DEPTH_BUFFER_length_bias 0x00000002
#define GEN8_3DSTATE_DEPTH_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 5, \
.DwordLength = 6
+#define GEN8_3DSTATE_DEPTH_BUFFER_length 0x00000008
+
struct GEN8_3DSTATE_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_DEPTH_BUFFER * restrict values)
+ const struct GEN8_3DSTATE_DEPTH_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
#define GEN8_3DSTATE_DRAWING_RECTANGLE_length_bias 0x00000002
#define GEN8_3DSTATE_DRAWING_RECTANGLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 2
+#define GEN8_3DSTATE_DRAWING_RECTANGLE_length 0x00000004
+
struct GEN8_3DSTATE_DRAWING_RECTANGLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_DRAWING_RECTANGLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_DRAWING_RECTANGLE * restrict values)
+ const struct GEN8_3DSTATE_DRAWING_RECTANGLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_DS_length 0x00000009
#define GEN8_3DSTATE_DS_length_bias 0x00000002
#define GEN8_3DSTATE_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 29, \
.DwordLength = 7
+#define GEN8_3DSTATE_DS_length 0x00000009
+
struct GEN8_3DSTATE_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_DS * restrict values)
+ const struct GEN8_3DSTATE_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 55
+#define GEN8_3DSTATE_GATHER_CONSTANT_DS_length 0x00000000
+
+#define GEN8_GATHER_CONSTANT_ENTRY_length 0x00000001
+
struct GEN8_GATHER_CONSTANT_ENTRY {
uint32_t ConstantBufferOffset;
uint32_t ChannelMask;
static inline void
GEN8_GATHER_CONSTANT_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_GATHER_CONSTANT_ENTRY * restrict values)
+ const struct GEN8_GATHER_CONSTANT_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_GATHER_CONSTANT_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_CONSTANT_DS * restrict values)
+ const struct GEN8_3DSTATE_GATHER_CONSTANT_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 53
+#define GEN8_3DSTATE_GATHER_CONSTANT_GS_length 0x00000000
+
struct GEN8_3DSTATE_GATHER_CONSTANT_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GATHER_CONSTANT_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_CONSTANT_GS * restrict values)
+ const struct GEN8_3DSTATE_GATHER_CONSTANT_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 54
+#define GEN8_3DSTATE_GATHER_CONSTANT_HS_length 0x00000000
+
struct GEN8_3DSTATE_GATHER_CONSTANT_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GATHER_CONSTANT_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_CONSTANT_HS * restrict values)
+ const struct GEN8_3DSTATE_GATHER_CONSTANT_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 56
+#define GEN8_3DSTATE_GATHER_CONSTANT_PS_length 0x00000000
+
struct GEN8_3DSTATE_GATHER_CONSTANT_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GATHER_CONSTANT_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_CONSTANT_PS * restrict values)
+ const struct GEN8_3DSTATE_GATHER_CONSTANT_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 52
+#define GEN8_3DSTATE_GATHER_CONSTANT_VS_length 0x00000000
+
struct GEN8_3DSTATE_GATHER_CONSTANT_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GATHER_CONSTANT_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_CONSTANT_VS * restrict values)
+ const struct GEN8_3DSTATE_GATHER_CONSTANT_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_3DSTATE_GATHER_POOL_ALLOC_length 0x00000004
#define GEN8_3DSTATE_GATHER_POOL_ALLOC_length_bias 0x00000002
#define GEN8_3DSTATE_GATHER_POOL_ALLOC_header \
.CommandType = 3, \
._3DCommandSubOpcode = 26, \
.DwordLength = 2
+#define GEN8_3DSTATE_GATHER_POOL_ALLOC_length 0x00000004
+
struct GEN8_3DSTATE_GATHER_POOL_ALLOC {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GATHER_POOL_ALLOC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GATHER_POOL_ALLOC * restrict values)
+ const struct GEN8_3DSTATE_GATHER_POOL_ALLOC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_GS_length 0x0000000a
#define GEN8_3DSTATE_GS_length_bias 0x00000002
#define GEN8_3DSTATE_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 8
+#define GEN8_3DSTATE_GS_length 0x0000000a
+
struct GEN8_3DSTATE_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_GS * restrict values)
+ const struct GEN8_3DSTATE_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000005
#define GEN8_3DSTATE_HIER_DEPTH_BUFFER_length_bias 0x00000002
#define GEN8_3DSTATE_HIER_DEPTH_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 7, \
.DwordLength = 3
+#define GEN8_3DSTATE_HIER_DEPTH_BUFFER_length 0x00000005
+
struct GEN8_3DSTATE_HIER_DEPTH_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_HIER_DEPTH_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
+ const struct GEN8_3DSTATE_HIER_DEPTH_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_HS_length 0x00000009
#define GEN8_3DSTATE_HS_length_bias 0x00000002
#define GEN8_3DSTATE_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 27, \
.DwordLength = 7
+#define GEN8_3DSTATE_HS_length 0x00000009
+
struct GEN8_3DSTATE_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_HS * restrict values)
+ const struct GEN8_3DSTATE_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_INDEX_BUFFER_length 0x00000005
#define GEN8_3DSTATE_INDEX_BUFFER_length_bias 0x00000002
#define GEN8_3DSTATE_INDEX_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 10, \
.DwordLength = 3
+#define GEN8_3DSTATE_INDEX_BUFFER_length 0x00000005
+
struct GEN8_3DSTATE_INDEX_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_INDEX_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_INDEX_BUFFER * restrict values)
+ const struct GEN8_3DSTATE_INDEX_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_LINE_STIPPLE_length 0x00000003
#define GEN8_3DSTATE_LINE_STIPPLE_length_bias 0x00000002
#define GEN8_3DSTATE_LINE_STIPPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 8, \
.DwordLength = 1
+#define GEN8_3DSTATE_LINE_STIPPLE_length 0x00000003
+
struct GEN8_3DSTATE_LINE_STIPPLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_LINE_STIPPLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_LINE_STIPPLE * restrict values)
+ const struct GEN8_3DSTATE_LINE_STIPPLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_MONOFILTER_SIZE_length 0x00000002
#define GEN8_3DSTATE_MONOFILTER_SIZE_length_bias 0x00000002
#define GEN8_3DSTATE_MONOFILTER_SIZE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 17, \
.DwordLength = 0
+#define GEN8_3DSTATE_MONOFILTER_SIZE_length 0x00000002
+
struct GEN8_3DSTATE_MONOFILTER_SIZE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_MONOFILTER_SIZE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_MONOFILTER_SIZE * restrict values)
+ const struct GEN8_3DSTATE_MONOFILTER_SIZE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_MULTISAMPLE_length 0x00000002
#define GEN8_3DSTATE_MULTISAMPLE_length_bias 0x00000002
#define GEN8_3DSTATE_MULTISAMPLE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 13, \
.DwordLength = 0
+#define GEN8_3DSTATE_MULTISAMPLE_length 0x00000002
+
struct GEN8_3DSTATE_MULTISAMPLE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_MULTISAMPLE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_MULTISAMPLE * restrict values)
+ const struct GEN8_3DSTATE_MULTISAMPLE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
#define GEN8_3DSTATE_POLY_STIPPLE_OFFSET_length_bias 0x00000002
#define GEN8_3DSTATE_POLY_STIPPLE_OFFSET_header \
.CommandType = 3, \
._3DCommandSubOpcode = 6, \
.DwordLength = 0
+#define GEN8_3DSTATE_POLY_STIPPLE_OFFSET_length 0x00000002
+
struct GEN8_3DSTATE_POLY_STIPPLE_OFFSET {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_POLY_STIPPLE_OFFSET_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
+ const struct GEN8_3DSTATE_POLY_STIPPLE_OFFSET * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
#define GEN8_3DSTATE_POLY_STIPPLE_PATTERN_length_bias 0x00000002
#define GEN8_3DSTATE_POLY_STIPPLE_PATTERN_header\
.CommandType = 3, \
._3DCommandSubOpcode = 7, \
.DwordLength = 31
+#define GEN8_3DSTATE_POLY_STIPPLE_PATTERN_length 0x00000021
+
struct GEN8_3DSTATE_POLY_STIPPLE_PATTERN {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_POLY_STIPPLE_PATTERN_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
+ const struct GEN8_3DSTATE_POLY_STIPPLE_PATTERN * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PS_length 0x0000000c
#define GEN8_3DSTATE_PS_length_bias 0x00000002
#define GEN8_3DSTATE_PS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 32, \
.DwordLength = 10
+#define GEN8_3DSTATE_PS_length 0x0000000c
+
struct GEN8_3DSTATE_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PS * restrict values)
+ const struct GEN8_3DSTATE_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PS_BLEND_length 0x00000002
#define GEN8_3DSTATE_PS_BLEND_length_bias 0x00000002
#define GEN8_3DSTATE_PS_BLEND_header \
.CommandType = 3, \
._3DCommandSubOpcode = 77, \
.DwordLength = 0
+#define GEN8_3DSTATE_PS_BLEND_length 0x00000002
+
struct GEN8_3DSTATE_PS_BLEND {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PS_BLEND_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PS_BLEND * restrict values)
+ const struct GEN8_3DSTATE_PS_BLEND * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PS_EXTRA_length 0x00000002
#define GEN8_3DSTATE_PS_EXTRA_length_bias 0x00000002
#define GEN8_3DSTATE_PS_EXTRA_header \
.CommandType = 3, \
._3DCommandSubOpcode = 79, \
.DwordLength = 0
+#define GEN8_3DSTATE_PS_EXTRA_length 0x00000002
+
struct GEN8_3DSTATE_PS_EXTRA {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PS_EXTRA_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PS_EXTRA * restrict values)
+ const struct GEN8_3DSTATE_PS_EXTRA * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length_bias 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 20, \
.DwordLength = 0
+#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS_length 0x00000002
+
struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
+ const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length_bias 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 21, \
.DwordLength = 0
+#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS_length 0x00000002
+
struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
+ const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length_bias 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 19, \
.DwordLength = 0
+#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS_length 0x00000002
+
struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
+ const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length_bias 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 22, \
.DwordLength = 0
+#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS_length 0x00000002
+
struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
+ const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length_bias 0x00000002
#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 18, \
.DwordLength = 0
+#define GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS_length 0x00000002
+
struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
+ const struct GEN8_3DSTATE_PUSH_CONSTANT_ALLOC_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_RASTER_length 0x00000005
#define GEN8_3DSTATE_RASTER_length_bias 0x00000002
#define GEN8_3DSTATE_RASTER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 80, \
.DwordLength = 3
+#define GEN8_3DSTATE_RASTER_length 0x00000005
+
struct GEN8_3DSTATE_RASTER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_RASTER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_RASTER * restrict values)
+ const struct GEN8_3DSTATE_RASTER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 2
+#define GEN8_3DSTATE_SAMPLER_PALETTE_LOAD0_length 0x00000000
+
+#define GEN8_PALETTE_ENTRY_length 0x00000001
+
struct GEN8_PALETTE_ENTRY {
uint32_t Alpha;
uint32_t Red;
static inline void
GEN8_PALETTE_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_PALETTE_ENTRY * restrict values)
+ const struct GEN8_PALETTE_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_SAMPLER_PALETTE_LOAD0_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_PALETTE_LOAD0 * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 12
+#define GEN8_3DSTATE_SAMPLER_PALETTE_LOAD1_length 0x00000000
+
struct GEN8_3DSTATE_SAMPLER_PALETTE_LOAD1 {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_PALETTE_LOAD1_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_PALETTE_LOAD1 * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 45, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 46, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 44, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 47, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_PS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 43, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
+ const struct GEN8_3DSTATE_SAMPLER_STATE_POINTERS_VS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLE_MASK_length 0x00000002
#define GEN8_3DSTATE_SAMPLE_MASK_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLE_MASK_header \
.CommandType = 3, \
._3DCommandSubOpcode = 24, \
.DwordLength = 0
+#define GEN8_3DSTATE_SAMPLE_MASK_length 0x00000002
+
struct GEN8_3DSTATE_SAMPLE_MASK {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLE_MASK_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLE_MASK * restrict values)
+ const struct GEN8_3DSTATE_SAMPLE_MASK * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SAMPLE_PATTERN_length 0x00000009
#define GEN8_3DSTATE_SAMPLE_PATTERN_length_bias 0x00000002
#define GEN8_3DSTATE_SAMPLE_PATTERN_header \
.CommandType = 3, \
._3DCommandSubOpcode = 28, \
.DwordLength = 7
+#define GEN8_3DSTATE_SAMPLE_PATTERN_length 0x00000009
+
struct GEN8_3DSTATE_SAMPLE_PATTERN {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SAMPLE_PATTERN_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SAMPLE_PATTERN * restrict values)
+ const struct GEN8_3DSTATE_SAMPLE_PATTERN * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SBE_length 0x00000004
#define GEN8_3DSTATE_SBE_length_bias 0x00000002
#define GEN8_3DSTATE_SBE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 31, \
.DwordLength = 2
+#define GEN8_3DSTATE_SBE_length 0x00000004
+
struct GEN8_3DSTATE_SBE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SBE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SBE * restrict values)
+ const struct GEN8_3DSTATE_SBE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SBE_SWIZ_length 0x0000000b
#define GEN8_3DSTATE_SBE_SWIZ_length_bias 0x00000002
#define GEN8_3DSTATE_SBE_SWIZ_header \
.CommandType = 3, \
._3DCommandSubOpcode = 81, \
.DwordLength = 9
+#define GEN8_3DSTATE_SBE_SWIZ_length 0x0000000b
+
+#define GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL_length 0x00000001
+
struct GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL {
bool ComponentOverrideW;
bool ComponentOverrideZ;
static inline void
GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL * restrict values)
+ const struct GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_SBE_SWIZ_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SBE_SWIZ * restrict values)
+ const struct GEN8_3DSTATE_SBE_SWIZ * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
#define GEN8_3DSTATE_SCISSOR_STATE_POINTERS_length_bias 0x00000002
#define GEN8_3DSTATE_SCISSOR_STATE_POINTERS_header\
.CommandType = 3, \
._3DCommandSubOpcode = 15, \
.DwordLength = 0
+#define GEN8_3DSTATE_SCISSOR_STATE_POINTERS_length 0x00000002
+
struct GEN8_3DSTATE_SCISSOR_STATE_POINTERS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SCISSOR_STATE_POINTERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
+ const struct GEN8_3DSTATE_SCISSOR_STATE_POINTERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SF_length 0x00000004
#define GEN8_3DSTATE_SF_length_bias 0x00000002
#define GEN8_3DSTATE_SF_header \
.CommandType = 3, \
._3DCommandSubOpcode = 19, \
.DwordLength = 2
+#define GEN8_3DSTATE_SF_length 0x00000004
+
struct GEN8_3DSTATE_SF {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SF_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SF * restrict values)
+ const struct GEN8_3DSTATE_SF * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_SO_BUFFER_length 0x00000008
#define GEN8_3DSTATE_SO_BUFFER_length_bias 0x00000002
#define GEN8_3DSTATE_SO_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 24, \
.DwordLength = 6
+#define GEN8_3DSTATE_SO_BUFFER_length 0x00000008
+
struct GEN8_3DSTATE_SO_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_SO_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SO_BUFFER * restrict values)
+ const struct GEN8_3DSTATE_SO_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 1, \
._3DCommandSubOpcode = 23
+#define GEN8_3DSTATE_SO_DECL_LIST_length 0x00000000
+
+#define GEN8_SO_DECL_ENTRY_length 0x00000002
+
+#define GEN8_SO_DECL_length 0x00000001
+
struct GEN8_SO_DECL {
uint32_t OutputBufferSlot;
uint32_t HoleFlag;
static inline void
GEN8_SO_DECL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SO_DECL * restrict values)
+ const struct GEN8_SO_DECL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_SO_DECL_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SO_DECL_ENTRY * restrict values)
+ const struct GEN8_SO_DECL_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_SO_DECL_LIST_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_SO_DECL_LIST * restrict values)
+ const struct GEN8_3DSTATE_SO_DECL_LIST * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_3DSTATE_STENCIL_BUFFER_length 0x00000005
#define GEN8_3DSTATE_STENCIL_BUFFER_length_bias 0x00000002
#define GEN8_3DSTATE_STENCIL_BUFFER_header \
.CommandType = 3, \
._3DCommandSubOpcode = 6, \
.DwordLength = 3
+#define GEN8_3DSTATE_STENCIL_BUFFER_length 0x00000005
+
struct GEN8_3DSTATE_STENCIL_BUFFER {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_STENCIL_BUFFER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_STENCIL_BUFFER * restrict values)
+ const struct GEN8_3DSTATE_STENCIL_BUFFER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_STREAMOUT_length 0x00000005
#define GEN8_3DSTATE_STREAMOUT_length_bias 0x00000002
#define GEN8_3DSTATE_STREAMOUT_header \
.CommandType = 3, \
._3DCommandSubOpcode = 30, \
.DwordLength = 3
+#define GEN8_3DSTATE_STREAMOUT_length 0x00000005
+
struct GEN8_3DSTATE_STREAMOUT {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_STREAMOUT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_STREAMOUT * restrict values)
+ const struct GEN8_3DSTATE_STREAMOUT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_TE_length 0x00000004
#define GEN8_3DSTATE_TE_length_bias 0x00000002
#define GEN8_3DSTATE_TE_header \
.CommandType = 3, \
._3DCommandSubOpcode = 28, \
.DwordLength = 2
+#define GEN8_3DSTATE_TE_length 0x00000004
+
struct GEN8_3DSTATE_TE {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_TE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_TE * restrict values)
+ const struct GEN8_3DSTATE_TE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_URB_DS_length 0x00000002
#define GEN8_3DSTATE_URB_DS_length_bias 0x00000002
#define GEN8_3DSTATE_URB_DS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 50, \
.DwordLength = 0
+#define GEN8_3DSTATE_URB_DS_length 0x00000002
+
struct GEN8_3DSTATE_URB_DS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_URB_DS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_URB_DS * restrict values)
+ const struct GEN8_3DSTATE_URB_DS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_URB_GS_length 0x00000002
#define GEN8_3DSTATE_URB_GS_length_bias 0x00000002
#define GEN8_3DSTATE_URB_GS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 51, \
.DwordLength = 0
+#define GEN8_3DSTATE_URB_GS_length 0x00000002
+
struct GEN8_3DSTATE_URB_GS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_URB_GS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_URB_GS * restrict values)
+ const struct GEN8_3DSTATE_URB_GS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_URB_HS_length 0x00000002
#define GEN8_3DSTATE_URB_HS_length_bias 0x00000002
#define GEN8_3DSTATE_URB_HS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 49, \
.DwordLength = 0
+#define GEN8_3DSTATE_URB_HS_length 0x00000002
+
struct GEN8_3DSTATE_URB_HS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_URB_HS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_URB_HS * restrict values)
+ const struct GEN8_3DSTATE_URB_HS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 8
+#define GEN8_3DSTATE_VERTEX_BUFFERS_length 0x00000000
+
+#define GEN8_VERTEX_BUFFER_STATE_length 0x00000004
+
struct GEN8_VERTEX_BUFFER_STATE {
uint32_t VertexBufferIndex;
struct GEN8_MEMORY_OBJECT_CONTROL_STATE MemoryObjectControlState;
static inline void
GEN8_VERTEX_BUFFER_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_VERTEX_BUFFER_STATE * restrict values)
+ const struct GEN8_VERTEX_BUFFER_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_VERTEX_BUFFERS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VERTEX_BUFFERS * restrict values)
+ const struct GEN8_3DSTATE_VERTEX_BUFFERS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 9
+#define GEN8_3DSTATE_VERTEX_ELEMENTS_length 0x00000000
+
+#define GEN8_VERTEX_ELEMENT_STATE_length 0x00000002
+
struct GEN8_VERTEX_ELEMENT_STATE {
uint32_t VertexBufferIndex;
bool Valid;
static inline void
GEN8_VERTEX_ELEMENT_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_VERTEX_ELEMENT_STATE * restrict values)
+ const struct GEN8_VERTEX_ELEMENT_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_3DSTATE_VERTEX_ELEMENTS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VERTEX_ELEMENTS * restrict values)
+ const struct GEN8_3DSTATE_VERTEX_ELEMENTS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_3DSTATE_VF_length 0x00000002
#define GEN8_3DSTATE_VF_length_bias 0x00000002
#define GEN8_3DSTATE_VF_header \
.CommandType = 3, \
._3DCommandSubOpcode = 12, \
.DwordLength = 0
+#define GEN8_3DSTATE_VF_length 0x00000002
+
struct GEN8_3DSTATE_VF {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VF_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VF * restrict values)
+ const struct GEN8_3DSTATE_VF * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VF_INSTANCING_length 0x00000003
#define GEN8_3DSTATE_VF_INSTANCING_length_bias 0x00000002
#define GEN8_3DSTATE_VF_INSTANCING_header \
.CommandType = 3, \
._3DCommandSubOpcode = 73, \
.DwordLength = 1
+#define GEN8_3DSTATE_VF_INSTANCING_length 0x00000003
+
struct GEN8_3DSTATE_VF_INSTANCING {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VF_INSTANCING_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VF_INSTANCING * restrict values)
+ const struct GEN8_3DSTATE_VF_INSTANCING * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VF_SGVS_length 0x00000002
#define GEN8_3DSTATE_VF_SGVS_length_bias 0x00000002
#define GEN8_3DSTATE_VF_SGVS_header \
.CommandType = 3, \
._3DCommandSubOpcode = 74, \
.DwordLength = 0
+#define GEN8_3DSTATE_VF_SGVS_length 0x00000002
+
struct GEN8_3DSTATE_VF_SGVS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VF_SGVS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VF_SGVS * restrict values)
+ const struct GEN8_3DSTATE_VF_SGVS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VF_STATISTICS_length 0x00000001
#define GEN8_3DSTATE_VF_STATISTICS_length_bias 0x00000001
#define GEN8_3DSTATE_VF_STATISTICS_header \
.CommandType = 3, \
._3DCommandOpcode = 0, \
._3DCommandSubOpcode = 11
+#define GEN8_3DSTATE_VF_STATISTICS_length 0x00000001
+
struct GEN8_3DSTATE_VF_STATISTICS {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VF_STATISTICS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VF_STATISTICS * restrict values)
+ const struct GEN8_3DSTATE_VF_STATISTICS * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VF_TOPOLOGY_length 0x00000002
#define GEN8_3DSTATE_VF_TOPOLOGY_length_bias 0x00000002
#define GEN8_3DSTATE_VF_TOPOLOGY_header \
.CommandType = 3, \
._3DCommandSubOpcode = 75, \
.DwordLength = 0
+#define GEN8_3DSTATE_VF_TOPOLOGY_length 0x00000002
+
struct GEN8_3DSTATE_VF_TOPOLOGY {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VF_TOPOLOGY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VF_TOPOLOGY * restrict values)
+ const struct GEN8_3DSTATE_VF_TOPOLOGY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length_bias 0x00000002
#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC_header\
.CommandType = 3, \
._3DCommandSubOpcode = 35, \
.DwordLength = 0
+#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC_length 0x00000002
+
struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
+ const struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_CC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length_bias 0x00000002
#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_header\
.CommandType = 3, \
._3DCommandSubOpcode = 33, \
.DwordLength = 0
+#define GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_length 0x00000002
+
struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
+ const struct GEN8_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_WM_length 0x00000002
#define GEN8_3DSTATE_WM_length_bias 0x00000002
#define GEN8_3DSTATE_WM_header \
.CommandType = 3, \
._3DCommandSubOpcode = 20, \
.DwordLength = 0
+#define GEN8_3DSTATE_WM_length 0x00000002
+
struct GEN8_3DSTATE_WM {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_WM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_WM * restrict values)
+ const struct GEN8_3DSTATE_WM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_WM_CHROMAKEY_length 0x00000002
#define GEN8_3DSTATE_WM_CHROMAKEY_length_bias 0x00000002
#define GEN8_3DSTATE_WM_CHROMAKEY_header \
.CommandType = 3, \
._3DCommandSubOpcode = 76, \
.DwordLength = 0
+#define GEN8_3DSTATE_WM_CHROMAKEY_length 0x00000002
+
struct GEN8_3DSTATE_WM_CHROMAKEY {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_WM_CHROMAKEY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_WM_CHROMAKEY * restrict values)
+ const struct GEN8_3DSTATE_WM_CHROMAKEY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_WM_DEPTH_STENCIL_length 0x00000003
#define GEN8_3DSTATE_WM_DEPTH_STENCIL_length_bias 0x00000002
#define GEN8_3DSTATE_WM_DEPTH_STENCIL_header \
.CommandType = 3, \
._3DCommandSubOpcode = 78, \
.DwordLength = 1
+#define GEN8_3DSTATE_WM_DEPTH_STENCIL_length 0x00000003
+
struct GEN8_3DSTATE_WM_DEPTH_STENCIL {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_WM_DEPTH_STENCIL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_WM_DEPTH_STENCIL * restrict values)
+ const struct GEN8_3DSTATE_WM_DEPTH_STENCIL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_WM_HZ_OP_length 0x00000005
#define GEN8_3DSTATE_WM_HZ_OP_length_bias 0x00000002
#define GEN8_3DSTATE_WM_HZ_OP_header \
.CommandType = 3, \
._3DCommandSubOpcode = 82, \
.DwordLength = 3
+#define GEN8_3DSTATE_WM_HZ_OP_length 0x00000005
+
struct GEN8_3DSTATE_WM_HZ_OP {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_3DSTATE_WM_HZ_OP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_3DSTATE_WM_HZ_OP * restrict values)
+ const struct GEN8_3DSTATE_WM_HZ_OP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_GPGPU_WALKER_length 0x0000000f
#define GEN8_GPGPU_WALKER_length_bias 0x00000002
#define GEN8_GPGPU_WALKER_header \
.CommandType = 3, \
.SubOpcode = 5, \
.DwordLength = 13
+#define GEN8_GPGPU_WALKER_length 0x0000000f
+
struct GEN8_GPGPU_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_GPGPU_WALKER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_GPGPU_WALKER * restrict values)
+ const struct GEN8_GPGPU_WALKER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MEDIA_CURBE_LOAD_length 0x00000004
#define GEN8_MEDIA_CURBE_LOAD_length_bias 0x00000002
#define GEN8_MEDIA_CURBE_LOAD_header \
.CommandType = 3, \
.SubOpcode = 1, \
.DwordLength = 2
+#define GEN8_MEDIA_CURBE_LOAD_length 0x00000004
+
struct GEN8_MEDIA_CURBE_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_CURBE_LOAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_CURBE_LOAD * restrict values)
+ const struct GEN8_MEDIA_CURBE_LOAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
#define GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length_bias 0x00000002
#define GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD_header\
.CommandType = 3, \
.SubOpcode = 2, \
.DwordLength = 2
+#define GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD_length 0x00000004
+
struct GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
+ const struct GEN8_MEDIA_INTERFACE_DESCRIPTOR_LOAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.MediaCommandOpcode = 1, \
.MediaCommandSubOpcode = 0
+#define GEN8_MEDIA_OBJECT_length 0x00000000
+
struct GEN8_MEDIA_OBJECT {
uint32_t CommandType;
uint32_t MediaCommandPipeline;
static inline void
GEN8_MEDIA_OBJECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_OBJECT * restrict values)
+ const struct GEN8_MEDIA_OBJECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.MediaCommandOpcode = 1, \
.MediaCommandSubOpcode = 6
+#define GEN8_MEDIA_OBJECT_GRPID_length 0x00000000
+
struct GEN8_MEDIA_OBJECT_GRPID {
uint32_t CommandType;
uint32_t MediaCommandPipeline;
static inline void
GEN8_MEDIA_OBJECT_GRPID_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_OBJECT_GRPID * restrict values)
+ const struct GEN8_MEDIA_OBJECT_GRPID * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_MEDIA_OBJECT_PRT_length 0x00000010
#define GEN8_MEDIA_OBJECT_PRT_length_bias 0x00000002
#define GEN8_MEDIA_OBJECT_PRT_header \
.CommandType = 3, \
.SubOpcode = 2, \
.DwordLength = 14
+#define GEN8_MEDIA_OBJECT_PRT_length 0x00000010
+
struct GEN8_MEDIA_OBJECT_PRT {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_OBJECT_PRT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_OBJECT_PRT * restrict values)
+ const struct GEN8_MEDIA_OBJECT_PRT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.MediaCommandOpcode = 1, \
.SubOpcode = 3
+#define GEN8_MEDIA_OBJECT_WALKER_length 0x00000000
+
struct GEN8_MEDIA_OBJECT_WALKER {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_OBJECT_WALKER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_OBJECT_WALKER * restrict values)
+ const struct GEN8_MEDIA_OBJECT_WALKER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_MEDIA_STATE_FLUSH_length 0x00000002
#define GEN8_MEDIA_STATE_FLUSH_length_bias 0x00000002
#define GEN8_MEDIA_STATE_FLUSH_header \
.CommandType = 3, \
.SubOpcode = 4, \
.DwordLength = 0
+#define GEN8_MEDIA_STATE_FLUSH_length 0x00000002
+
struct GEN8_MEDIA_STATE_FLUSH {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_STATE_FLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_STATE_FLUSH * restrict values)
+ const struct GEN8_MEDIA_STATE_FLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MEDIA_VFE_STATE_length 0x00000009
#define GEN8_MEDIA_VFE_STATE_length_bias 0x00000002
#define GEN8_MEDIA_VFE_STATE_header \
.CommandType = 3, \
.SubOpcode = 0, \
.DwordLength = 7
+#define GEN8_MEDIA_VFE_STATE_length 0x00000009
+
struct GEN8_MEDIA_VFE_STATE {
uint32_t CommandType;
uint32_t Pipeline;
static inline void
GEN8_MEDIA_VFE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MEDIA_VFE_STATE * restrict values)
+ const struct GEN8_MEDIA_VFE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_ARB_CHECK_length 0x00000001
#define GEN8_MI_ARB_CHECK_length_bias 0x00000001
#define GEN8_MI_ARB_CHECK_header \
.CommandType = 0, \
.MICommandOpcode = 5
+#define GEN8_MI_ARB_CHECK_length 0x00000001
+
struct GEN8_MI_ARB_CHECK {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_ARB_CHECK_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_ARB_CHECK * restrict values)
+ const struct GEN8_MI_ARB_CHECK * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_BATCH_BUFFER_END_length 0x00000001
#define GEN8_MI_BATCH_BUFFER_END_length_bias 0x00000001
#define GEN8_MI_BATCH_BUFFER_END_header \
.CommandType = 0, \
.MICommandOpcode = 10
+#define GEN8_MI_BATCH_BUFFER_END_length 0x00000001
+
struct GEN8_MI_BATCH_BUFFER_END {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_BATCH_BUFFER_END * restrict values)
+ const struct GEN8_MI_BATCH_BUFFER_END * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_BATCH_BUFFER_START_length 0x00000003
#define GEN8_MI_BATCH_BUFFER_START_length_bias 0x00000002
#define GEN8_MI_BATCH_BUFFER_START_header \
.CommandType = 0, \
.MICommandOpcode = 49, \
.DwordLength = 1
+#define GEN8_MI_BATCH_BUFFER_START_length 0x00000003
+
struct GEN8_MI_BATCH_BUFFER_START {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_BATCH_BUFFER_START_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_BATCH_BUFFER_START * restrict values)
+ const struct GEN8_MI_BATCH_BUFFER_START * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.CommandType = 0, \
.MICommandOpcode = 39
+#define GEN8_MI_CLFLUSH_length 0x00000000
+
struct GEN8_MI_CLFLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_CLFLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_CLFLUSH * restrict values)
+ const struct GEN8_MI_CLFLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000003
#define GEN8_MI_CONDITIONAL_BATCH_BUFFER_END_length_bias 0x00000002
#define GEN8_MI_CONDITIONAL_BATCH_BUFFER_END_header\
.CommandType = 0, \
.CompareSemaphore = 0, \
.DwordLength = 1
+#define GEN8_MI_CONDITIONAL_BATCH_BUFFER_END_length 0x00000003
+
struct GEN8_MI_CONDITIONAL_BATCH_BUFFER_END {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_CONDITIONAL_BATCH_BUFFER_END_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
+ const struct GEN8_MI_CONDITIONAL_BATCH_BUFFER_END * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_COPY_MEM_MEM_length 0x00000005
#define GEN8_MI_COPY_MEM_MEM_length_bias 0x00000002
#define GEN8_MI_COPY_MEM_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 46, \
.DwordLength = 3
+#define GEN8_MI_COPY_MEM_MEM_length 0x00000005
+
struct GEN8_MI_COPY_MEM_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_COPY_MEM_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_COPY_MEM_MEM * restrict values)
+ const struct GEN8_MI_COPY_MEM_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_REGISTER_IMM_length 0x00000003
#define GEN8_MI_LOAD_REGISTER_IMM_length_bias 0x00000002
#define GEN8_MI_LOAD_REGISTER_IMM_header \
.CommandType = 0, \
.MICommandOpcode = 34, \
.DwordLength = 1
+#define GEN8_MI_LOAD_REGISTER_IMM_length 0x00000003
+
struct GEN8_MI_LOAD_REGISTER_IMM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_REGISTER_IMM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_REGISTER_IMM * restrict values)
+ const struct GEN8_MI_LOAD_REGISTER_IMM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_REGISTER_MEM_length 0x00000004
#define GEN8_MI_LOAD_REGISTER_MEM_length_bias 0x00000002
#define GEN8_MI_LOAD_REGISTER_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 41, \
.DwordLength = 2
+#define GEN8_MI_LOAD_REGISTER_MEM_length 0x00000004
+
struct GEN8_MI_LOAD_REGISTER_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_REGISTER_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_REGISTER_MEM * restrict values)
+ const struct GEN8_MI_LOAD_REGISTER_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_SCAN_LINES_EXCL_length 0x00000002
#define GEN8_MI_LOAD_SCAN_LINES_EXCL_length_bias 0x00000002
#define GEN8_MI_LOAD_SCAN_LINES_EXCL_header \
.CommandType = 0, \
.MICommandOpcode = 19, \
.DwordLength = 0
+#define GEN8_MI_LOAD_SCAN_LINES_EXCL_length 0x00000002
+
struct GEN8_MI_LOAD_SCAN_LINES_EXCL {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_SCAN_LINES_EXCL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_SCAN_LINES_EXCL * restrict values)
+ const struct GEN8_MI_LOAD_SCAN_LINES_EXCL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_SCAN_LINES_INCL_length 0x00000002
#define GEN8_MI_LOAD_SCAN_LINES_INCL_length_bias 0x00000002
#define GEN8_MI_LOAD_SCAN_LINES_INCL_header \
.CommandType = 0, \
.MICommandOpcode = 18, \
.DwordLength = 0
+#define GEN8_MI_LOAD_SCAN_LINES_INCL_length 0x00000002
+
struct GEN8_MI_LOAD_SCAN_LINES_INCL {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_SCAN_LINES_INCL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_SCAN_LINES_INCL * restrict values)
+ const struct GEN8_MI_LOAD_SCAN_LINES_INCL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_LOAD_URB_MEM_length 0x00000004
#define GEN8_MI_LOAD_URB_MEM_length_bias 0x00000002
#define GEN8_MI_LOAD_URB_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 44, \
.DwordLength = 2
+#define GEN8_MI_LOAD_URB_MEM_length 0x00000004
+
struct GEN8_MI_LOAD_URB_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_LOAD_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_LOAD_URB_MEM * restrict values)
+ const struct GEN8_MI_LOAD_URB_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.CommandType = 0, \
.MICommandOpcode = 26
+#define GEN8_MI_MATH_length 0x00000000
+
struct GEN8_MI_MATH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_MATH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_MATH * restrict values)
+ const struct GEN8_MI_MATH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_MI_NOOP_length 0x00000001
#define GEN8_MI_NOOP_length_bias 0x00000001
#define GEN8_MI_NOOP_header \
.CommandType = 0, \
.MICommandOpcode = 0
+#define GEN8_MI_NOOP_length 0x00000001
+
struct GEN8_MI_NOOP {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_NOOP_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_NOOP * restrict values)
+ const struct GEN8_MI_NOOP * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_PREDICATE_length 0x00000001
#define GEN8_MI_PREDICATE_length_bias 0x00000001
#define GEN8_MI_PREDICATE_header \
.CommandType = 0, \
.MICommandOpcode = 12
+#define GEN8_MI_PREDICATE_length 0x00000001
+
struct GEN8_MI_PREDICATE {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_PREDICATE * restrict values)
+ const struct GEN8_MI_PREDICATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_REPORT_HEAD_length 0x00000001
#define GEN8_MI_REPORT_HEAD_length_bias 0x00000001
#define GEN8_MI_REPORT_HEAD_header \
.CommandType = 0, \
.MICommandOpcode = 7
+#define GEN8_MI_REPORT_HEAD_length 0x00000001
+
struct GEN8_MI_REPORT_HEAD {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_REPORT_HEAD_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_REPORT_HEAD * restrict values)
+ const struct GEN8_MI_REPORT_HEAD * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_RS_CONTEXT_length 0x00000001
#define GEN8_MI_RS_CONTEXT_length_bias 0x00000001
#define GEN8_MI_RS_CONTEXT_header \
.CommandType = 0, \
.MICommandOpcode = 15
+#define GEN8_MI_RS_CONTEXT_length 0x00000001
+
struct GEN8_MI_RS_CONTEXT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_RS_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_RS_CONTEXT * restrict values)
+ const struct GEN8_MI_RS_CONTEXT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_RS_CONTROL_length 0x00000001
#define GEN8_MI_RS_CONTROL_length_bias 0x00000001
#define GEN8_MI_RS_CONTROL_header \
.CommandType = 0, \
.MICommandOpcode = 6
+#define GEN8_MI_RS_CONTROL_length 0x00000001
+
struct GEN8_MI_RS_CONTROL {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_RS_CONTROL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_RS_CONTROL * restrict values)
+ const struct GEN8_MI_RS_CONTROL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_RS_STORE_DATA_IMM_length 0x00000004
#define GEN8_MI_RS_STORE_DATA_IMM_length_bias 0x00000002
#define GEN8_MI_RS_STORE_DATA_IMM_header \
.CommandType = 0, \
.MICommandOpcode = 43, \
.DwordLength = 2
+#define GEN8_MI_RS_STORE_DATA_IMM_length 0x00000004
+
struct GEN8_MI_RS_STORE_DATA_IMM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_RS_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_RS_STORE_DATA_IMM * restrict values)
+ const struct GEN8_MI_RS_STORE_DATA_IMM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_SET_CONTEXT_length 0x00000002
#define GEN8_MI_SET_CONTEXT_length_bias 0x00000002
#define GEN8_MI_SET_CONTEXT_header \
.CommandType = 0, \
.MICommandOpcode = 24, \
.DwordLength = 0
+#define GEN8_MI_SET_CONTEXT_length 0x00000002
+
struct GEN8_MI_SET_CONTEXT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_SET_CONTEXT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_SET_CONTEXT * restrict values)
+ const struct GEN8_MI_SET_CONTEXT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_SET_PREDICATE_length 0x00000001
#define GEN8_MI_SET_PREDICATE_length_bias 0x00000001
#define GEN8_MI_SET_PREDICATE_header \
.CommandType = 0, \
.MICommandOpcode = 1
+#define GEN8_MI_SET_PREDICATE_length 0x00000001
+
struct GEN8_MI_SET_PREDICATE {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_SET_PREDICATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_SET_PREDICATE * restrict values)
+ const struct GEN8_MI_SET_PREDICATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_STORE_DATA_IMM_length 0x00000004
#define GEN8_MI_STORE_DATA_IMM_length_bias 0x00000002
#define GEN8_MI_STORE_DATA_IMM_header \
.CommandType = 0, \
.MICommandOpcode = 32, \
.DwordLength = 2
+#define GEN8_MI_STORE_DATA_IMM_length 0x00000004
+
struct GEN8_MI_STORE_DATA_IMM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_STORE_DATA_IMM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_STORE_DATA_IMM * restrict values)
+ const struct GEN8_MI_STORE_DATA_IMM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_STORE_DATA_INDEX_length 0x00000003
#define GEN8_MI_STORE_DATA_INDEX_length_bias 0x00000002
#define GEN8_MI_STORE_DATA_INDEX_header \
.CommandType = 0, \
.MICommandOpcode = 33, \
.DwordLength = 1
+#define GEN8_MI_STORE_DATA_INDEX_length 0x00000003
+
struct GEN8_MI_STORE_DATA_INDEX {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_STORE_DATA_INDEX_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_STORE_DATA_INDEX * restrict values)
+ const struct GEN8_MI_STORE_DATA_INDEX * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_STORE_URB_MEM_length 0x00000004
#define GEN8_MI_STORE_URB_MEM_length_bias 0x00000002
#define GEN8_MI_STORE_URB_MEM_header \
.CommandType = 0, \
.MICommandOpcode = 45, \
.DwordLength = 2
+#define GEN8_MI_STORE_URB_MEM_length 0x00000004
+
struct GEN8_MI_STORE_URB_MEM {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_STORE_URB_MEM_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_STORE_URB_MEM * restrict values)
+ const struct GEN8_MI_STORE_URB_MEM * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_SUSPEND_FLUSH_length 0x00000001
#define GEN8_MI_SUSPEND_FLUSH_length_bias 0x00000001
#define GEN8_MI_SUSPEND_FLUSH_header \
.CommandType = 0, \
.MICommandOpcode = 11
+#define GEN8_MI_SUSPEND_FLUSH_length 0x00000001
+
struct GEN8_MI_SUSPEND_FLUSH {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_SUSPEND_FLUSH_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_SUSPEND_FLUSH * restrict values)
+ const struct GEN8_MI_SUSPEND_FLUSH * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_TOPOLOGY_FILTER_length 0x00000001
#define GEN8_MI_TOPOLOGY_FILTER_length_bias 0x00000001
#define GEN8_MI_TOPOLOGY_FILTER_header \
.CommandType = 0, \
.MICommandOpcode = 13
+#define GEN8_MI_TOPOLOGY_FILTER_length 0x00000001
+
struct GEN8_MI_TOPOLOGY_FILTER {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_TOPOLOGY_FILTER_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_TOPOLOGY_FILTER * restrict values)
+ const struct GEN8_MI_TOPOLOGY_FILTER * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
.CommandType = 0, \
.MICommandOpcode = 35
+#define GEN8_MI_UPDATE_GTT_length 0x00000000
+
struct GEN8_MI_UPDATE_GTT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_UPDATE_GTT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_UPDATE_GTT * restrict values)
+ const struct GEN8_MI_UPDATE_GTT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
/* variable length fields follow */
}
-#define GEN8_MI_URB_ATOMIC_ALLOC_length 0x00000001
#define GEN8_MI_URB_ATOMIC_ALLOC_length_bias 0x00000001
#define GEN8_MI_URB_ATOMIC_ALLOC_header \
.CommandType = 0, \
.MICommandOpcode = 9
+#define GEN8_MI_URB_ATOMIC_ALLOC_length 0x00000001
+
struct GEN8_MI_URB_ATOMIC_ALLOC {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_URB_ATOMIC_ALLOC_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_URB_ATOMIC_ALLOC * restrict values)
+ const struct GEN8_MI_URB_ATOMIC_ALLOC * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_URB_CLEAR_length 0x00000002
#define GEN8_MI_URB_CLEAR_length_bias 0x00000002
#define GEN8_MI_URB_CLEAR_header \
.CommandType = 0, \
.MICommandOpcode = 25, \
.DwordLength = 0
+#define GEN8_MI_URB_CLEAR_length 0x00000002
+
struct GEN8_MI_URB_CLEAR {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_URB_CLEAR_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_URB_CLEAR * restrict values)
+ const struct GEN8_MI_URB_CLEAR * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_USER_INTERRUPT_length 0x00000001
#define GEN8_MI_USER_INTERRUPT_length_bias 0x00000001
#define GEN8_MI_USER_INTERRUPT_header \
.CommandType = 0, \
.MICommandOpcode = 2
+#define GEN8_MI_USER_INTERRUPT_length 0x00000001
+
struct GEN8_MI_USER_INTERRUPT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_USER_INTERRUPT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_USER_INTERRUPT * restrict values)
+ const struct GEN8_MI_USER_INTERRUPT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MI_WAIT_FOR_EVENT_length 0x00000001
#define GEN8_MI_WAIT_FOR_EVENT_length_bias 0x00000001
#define GEN8_MI_WAIT_FOR_EVENT_header \
.CommandType = 0, \
.MICommandOpcode = 3
+#define GEN8_MI_WAIT_FOR_EVENT_length 0x00000001
+
struct GEN8_MI_WAIT_FOR_EVENT {
uint32_t CommandType;
uint32_t MICommandOpcode;
static inline void
GEN8_MI_WAIT_FOR_EVENT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_MI_WAIT_FOR_EVENT * restrict values)
+ const struct GEN8_MI_WAIT_FOR_EVENT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_PIPE_CONTROL_length 0x00000006
#define GEN8_PIPE_CONTROL_length_bias 0x00000002
#define GEN8_PIPE_CONTROL_header \
.CommandType = 3, \
._3DCommandSubOpcode = 0, \
.DwordLength = 4
+#define GEN8_PIPE_CONTROL_length 0x00000006
+
struct GEN8_PIPE_CONTROL {
uint32_t CommandType;
uint32_t CommandSubType;
static inline void
GEN8_PIPE_CONTROL_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_PIPE_CONTROL * restrict values)
+ const struct GEN8_PIPE_CONTROL * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_3DSTATE_CONSTANT_BODY_length 0x0000000a
-
-#define GEN8_BINDING_TABLE_EDIT_ENTRY_length 0x00000001
-
-#define GEN8_GATHER_CONSTANT_ENTRY_length 0x00000001
-
-#define GEN8_VERTEX_BUFFER_STATE_length 0x00000004
-
-#define GEN8_VERTEX_ELEMENT_STATE_length 0x00000002
-
-#define GEN8_SO_DECL_ENTRY_length 0x00000002
-
-#define GEN8_SO_DECL_length 0x00000001
-
-#define GEN8_SF_OUTPUT_ATTRIBUTE_DETAIL_length 0x00000001
-
#define GEN8_SCISSOR_RECT_length 0x00000002
struct GEN8_SCISSOR_RECT {
static inline void
GEN8_SCISSOR_RECT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SCISSOR_RECT * restrict values)
+ const struct GEN8_SCISSOR_RECT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_SF_CLIP_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SF_CLIP_VIEWPORT * restrict values)
+ const struct GEN8_SF_CLIP_VIEWPORT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
#define GEN8_BLEND_STATE_length 0x00000011
+#define GEN8_BLEND_STATE_ENTRY_length 0x00000002
+
struct GEN8_BLEND_STATE_ENTRY {
bool LogicOpEnable;
uint32_t LogicOpFunction;
static inline void
GEN8_BLEND_STATE_ENTRY_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_BLEND_STATE_ENTRY * restrict values)
+ const struct GEN8_BLEND_STATE_ENTRY * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_BLEND_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_BLEND_STATE * restrict values)
+ const struct GEN8_BLEND_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
GEN8_BLEND_STATE_ENTRY_pack(data, &dw[j], &values->Entry[i]);
}
-#define GEN8_BLEND_STATE_ENTRY_length 0x00000002
-
#define GEN8_CC_VIEWPORT_length 0x00000002
struct GEN8_CC_VIEWPORT {
static inline void
GEN8_CC_VIEWPORT_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_CC_VIEWPORT * restrict values)
+ const struct GEN8_CC_VIEWPORT * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_COLOR_CALC_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_COLOR_CALC_STATE * restrict values)
+ const struct GEN8_COLOR_CALC_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
+#define GEN8_BLACK_LEVEL_CORRECTION_STATE__DW7576_length 0x00000002
+
+struct GEN8_BLACK_LEVEL_CORRECTION_STATE__DW7576 {
+ uint32_t BlackPointOffsetR;
+ uint32_t BlackPointOffsetG;
+ uint32_t BlackPointOffsetB;
+};
+
+static inline void
+GEN8_BLACK_LEVEL_CORRECTION_STATE__DW7576_pack(__gen_user_data *data, void * restrict dst,
+ const struct GEN8_BLACK_LEVEL_CORRECTION_STATE__DW7576 * restrict values)
+{
+ uint32_t *dw = (uint32_t * restrict) dst;
+
+ dw[0] =
+ __gen_field(values->BlackPointOffsetR, 0, 12) |
+ 0;
+
+ dw[1] =
+ __gen_field(values->BlackPointOffsetG, 13, 25) |
+ __gen_field(values->BlackPointOffsetB, 0, 12) |
+ 0;
+
+}
#define GEN8_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
static inline void
GEN8_INTERFACE_DESCRIPTOR_DATA_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_INTERFACE_DESCRIPTOR_DATA * restrict values)
+ const struct GEN8_INTERFACE_DESCRIPTOR_DATA * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
-#define GEN8_PALETTE_ENTRY_length 0x00000001
-
#define GEN8_BINDING_TABLE_STATE_length 0x00000001
struct GEN8_BINDING_TABLE_STATE {
static inline void
GEN8_BINDING_TABLE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_BINDING_TABLE_STATE * restrict values)
+ const struct GEN8_BINDING_TABLE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
static inline void
GEN8_RENDER_SURFACE_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_RENDER_SURFACE_STATE * restrict values)
+ const struct GEN8_RENDER_SURFACE_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
+#define GEN8_FILTER_COEFFICIENT_length 0x00000001
+
+struct GEN8_FILTER_COEFFICIENT {
+ uint32_t FilterCoefficient;
+};
+
+static inline void
+GEN8_FILTER_COEFFICIENT_pack(__gen_user_data *data, void * restrict dst,
+ const struct GEN8_FILTER_COEFFICIENT * restrict values)
+{
+ uint32_t *dw = (uint32_t * restrict) dst;
+
+ dw[0] =
+ __gen_field(values->FilterCoefficient, 0, 7) |
+ 0;
+
+}
+
#define GEN8_SAMPLER_STATE_length 0x00000004
struct GEN8_SAMPLER_STATE {
static inline void
GEN8_SAMPLER_STATE_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_SAMPLER_STATE * restrict values)
+ const struct GEN8_SAMPLER_STATE * restrict values)
{
uint32_t *dw = (uint32_t * restrict) dst;
}
+#define GEN8_SAMPLER_STATE_8X8_AVS_COEFFICIENTS_length 0x00000008
+
+struct GEN8_SAMPLER_STATE_8X8_AVS_COEFFICIENTS {
+ uint32_t Table0YFilterCoefficientn1;
+ uint32_t Table0XFilterCoefficientn1;
+ uint32_t Table0YFilterCoefficientn0;
+ uint32_t Table0XFilterCoefficientn0;
+ uint32_t Table0YFilterCoefficientn3;
+ uint32_t Table0XFilterCoefficientn3;
+ uint32_t Table0YFilterCoefficientn2;
+ uint32_t Table0XFilterCoefficientn2;
+ uint32_t Table0YFilterCoefficientn5;
+ uint32_t Table0XFilterCoefficientn5;
+ uint32_t Table0YFilterCoefficientn4;
+ uint32_t Table0XFilterCoefficientn4;
+ uint32_t Table0YFilterCoefficientn7;
+ uint32_t Table0XFilterCoefficientn7;
+ uint32_t Table0YFilterCoefficientn6;
+ uint32_t Table0XFilterCoefficientn6;
+ uint32_t Table1XFilterCoefficientn3;
+ uint32_t Table1XFilterCoefficientn2;
+ uint32_t Table1XFilterCoefficientn5;
+ uint32_t Table1XFilterCoefficientn4;
+ uint32_t Table1YFilterCoefficientn3;
+ uint32_t Table1YFilterCoefficientn2;
+ uint32_t Table1YFilterCoefficientn5;
+ uint32_t Table1YFilterCoefficientn4;
+};
+
+static inline void
+GEN8_SAMPLER_STATE_8X8_AVS_COEFFICIENTS_pack(__gen_user_data *data, void * restrict dst,
+ const struct GEN8_SAMPLER_STATE_8X8_AVS_COEFFICIENTS * restrict values)
+{
+ uint32_t *dw = (uint32_t * restrict) dst;
+
+ dw[0] =
+ __gen_field(values->Table0YFilterCoefficientn1, 24, 31) |
+ __gen_field(values->Table0XFilterCoefficientn1, 16, 23) |
+ __gen_field(values->Table0YFilterCoefficientn0, 8, 15) |
+ __gen_field(values->Table0XFilterCoefficientn0, 0, 7) |
+ 0;
+
+ dw[1] =
+ __gen_field(values->Table0YFilterCoefficientn3, 24, 31) |
+ __gen_field(values->Table0XFilterCoefficientn3, 16, 23) |
+ __gen_field(values->Table0YFilterCoefficientn2, 8, 15) |
+ __gen_field(values->Table0XFilterCoefficientn2, 0, 7) |
+ 0;
+
+ dw[2] =
+ __gen_field(values->Table0YFilterCoefficientn5, 24, 31) |
+ __gen_field(values->Table0XFilterCoefficientn5, 16, 23) |
+ __gen_field(values->Table0YFilterCoefficientn4, 8, 15) |
+ __gen_field(values->Table0XFilterCoefficientn4, 0, 7) |
+ 0;
+
+ dw[3] =
+ __gen_field(values->Table0YFilterCoefficientn7, 24, 31) |
+ __gen_field(values->Table0XFilterCoefficientn7, 16, 23) |
+ __gen_field(values->Table0YFilterCoefficientn6, 8, 15) |
+ __gen_field(values->Table0XFilterCoefficientn6, 0, 7) |
+ 0;
+
+ dw[4] =
+ __gen_field(values->Table1XFilterCoefficientn3, 24, 31) |
+ __gen_field(values->Table1XFilterCoefficientn2, 16, 23) |
+ 0;
+
+ dw[5] =
+ __gen_field(values->Table1XFilterCoefficientn5, 8, 15) |
+ __gen_field(values->Table1XFilterCoefficientn4, 0, 7) |
+ 0;
+
+ dw[6] =
+ __gen_field(values->Table1YFilterCoefficientn3, 24, 31) |
+ __gen_field(values->Table1YFilterCoefficientn2, 16, 23) |
+ 0;
+
+ dw[7] =
+ __gen_field(values->Table1YFilterCoefficientn5, 8, 15) |
+ __gen_field(values->Table1YFilterCoefficientn4, 0, 7) |
+ 0;
+
+}
+
/* Enum 3D_Prim_Topo_Type */
#define _3DPRIM_POINTLIST 1
#define _3DPRIM_LINELIST 2