Damien Lespiau | aa7f9cf | 2013-02-27 14:57:33 +0000 | [diff] [blame] | 1 | #ifndef GEN9_RENDER_H |
| 2 | #define GEN9_RENDER_H |
| 3 | |
| 4 | #include "gen8_render.h" |
| 5 | |
Damien Lespiau | e5b850c | 2013-02-27 14:57:34 +0000 | [diff] [blame] | 6 | #define GEN7_3DSTATE_VF GEN6_3D(3, 0, 0x0c) |
Armin Reese | f246f1e | 2014-09-05 13:58:11 -0700 | [diff] [blame] | 7 | #define GEN9_3DSTATE_COMPONENT_PACKING GEN6_3D(3, 0, 0x55) |
Damien Lespiau | aa7f9cf | 2013-02-27 14:57:33 +0000 | [diff] [blame] | 8 | |
Damien Lespiau | ecd659e | 2013-02-27 14:57:35 +0000 | [diff] [blame] | 9 | #define GEN9_SBE_ACTIVE_COMPONENT_NONE 0 |
| 10 | #define GEN9_SBE_ACTIVE_COMPONENT_XY 1 |
| 11 | #define GEN9_SBE_ACTIVE_COMPONENT_XYZ 2 |
| 12 | #define GEN9_SBE_ACTIVE_COMPONENT_XYZW 3 |
| 13 | |
Zhao Yakui | 5b46cd3 | 2014-01-22 09:37:26 +0800 | [diff] [blame] | 14 | #define GEN9_PIPELINE_SELECTION_MASK (3 << 8) |
Armin Reese | f246f1e | 2014-09-05 13:58:11 -0700 | [diff] [blame] | 15 | #define GEN9_PIPELINE_SELECT (GEN6_3D(1, 1, 4) | (3 << 8)) |
Zhao Yakui | 5b46cd3 | 2014-01-22 09:37:26 +0800 | [diff] [blame] | 16 | |
Damien Lespiau | aa7f9cf | 2013-02-27 14:57:33 +0000 | [diff] [blame] | 17 | #endif |