#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;