__gen_float(values->YMaxClipGuardband) |
0;
+ for (uint32_t i = 0, j = 12; i < 4; i += 1, j++) {
+ dw[j] =
+ 0;
+ }
+
}
#define GEN75_BLEND_STATE_length 0x00000002
#define GEN75_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
-#define GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_length 0x00000001
-
-struct GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS {
-#define Highestpriority 0
-#define Secondhighestpriority 1
-#define Thirdhighestpriority 2
-#define Lowestpriority 3
- uint32_t ArbitrationPriorityControl;
-#define PTE 0
-#define UC 1
-#define LLCeLLCWBcacheable 2
-#define eLLCWBcacheable 3
- uint32_t LLCeLLCCacheabilityControlLLCCC;
- uint32_t L3CacheabilityControlL3CC;
-};
-
-static inline void
-GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN75_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS * restrict values)
-{
- uint32_t *dw = (uint32_t * restrict) dst;
-
- dw[0] =
- __gen_field(values->ArbitrationPriorityControl, 4, 5) |
- __gen_field(values->LLCeLLCCacheabilityControlLLCCC, 1, 2) |
- __gen_field(values->L3CacheabilityControlL3CC, 0, 0) |
- 0;
-
-}
-
#define GEN75_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
struct GEN75_INTERFACE_DESCRIPTOR_DATA {
__gen_field(values->BorderColorAlpha, 0, 31) |
0;
+ for (uint32_t i = 0, j = 4; i < 12; i += 1, j++) {
+ dw[j] =
+ 0;
+ }
+
dw[16] =
__gen_field(values->BorderColor, 0, 127) |
__gen_field(values->BorderColor, 0, 127) |
__gen_field(values->DwordLength, 0, 7) |
0;
+ for (uint32_t i = 0, j = 1; i < 4; i += 1, j++) {
+ dw[j] =
+ 0;
+ }
+
dw[5] =
__gen_field(values->_8xSample7XOffset * (1 << 4), 28, 31) |
__gen_field(values->_8xSample7YOffset * (1 << 4), 24, 27) |
#define GEN8_MEMORY_OBJECT_CONTROL_STATE_length 0x00000001
-#define GEN8_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_length 0x00000001
-
-struct GEN8_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS {
-#define UseCacheabilityControlsfrompagetableUCwithFenceifcoherentcycle 0
-#define UncacheableUCnoncacheable 1
-#define WritethroughWT 2
-#define WritebackWB 3
- uint32_t MemoryTypeLLCeLLCCacheabilityControlLeLLCCC;
-#define eLLCOnly 0
-#define LLCOnly 1
-#define LLCeLLCAllowed 2
-#define L3LLCeLLCAllowed 3
- uint32_t TargetCacheTC;
- bool EncryptedData;
-#define PoorChance 3
-#define NormalChance 2
-#define BetterChance 1
-#define BestChance 0
- bool AgeforQUADLRUAGE;
-};
-
-static inline void
-GEN8_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS_pack(__gen_user_data *data, void * restrict dst,
- const struct GEN8_VEB_DI_IECP_COMMAND_SURFACE_CONTROL_BITS * restrict values)
-{
- uint32_t *dw = (uint32_t * restrict) dst;
-
- dw[0] =
- __gen_field(values->MemoryTypeLLCeLLCCacheabilityControlLeLLCCC, 5, 6) |
- __gen_field(values->TargetCacheTC, 3, 4) |
- __gen_field(values->EncryptedData, 2, 2) |
- __gen_field(values->AgeforQUADLRUAGE, 0, 1) |
- 0;
-
-}
-
#define GEN8_INTERFACE_DESCRIPTOR_DATA_length 0x00000008
struct GEN8_INTERFACE_DESCRIPTOR_DATA {