blob: aac620a0eb4ebaec4f99a2535c6dddbba6544b5e [file] [log] [blame]
Damien Lespiauaa7f9cf2013-02-27 14:57:33 +00001#ifndef GEN9_RENDER_H
2#define GEN9_RENDER_H
3
4#include "gen8_render.h"
5
Damien Lespiaue5b850c2013-02-27 14:57:34 +00006#define GEN7_3DSTATE_VF GEN6_3D(3, 0, 0x0c)
Armin Reesef246f1e2014-09-05 13:58:11 -07007#define GEN9_3DSTATE_COMPONENT_PACKING GEN6_3D(3, 0, 0x55)
Damien Lespiauaa7f9cf2013-02-27 14:57:33 +00008
Damien Lespiauecd659e2013-02-27 14:57:35 +00009#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 Yakui5b46cd32014-01-22 09:37:26 +080014#define GEN9_PIPELINE_SELECTION_MASK (3 << 8)
Armin Reesef246f1e2014-09-05 13:58:11 -070015#define GEN9_PIPELINE_SELECT (GEN6_3D(1, 1, 4) | (3 << 8))
Zhao Yakui5b46cd32014-01-22 09:37:26 +080016
Damien Lespiauaa7f9cf2013-02-27 14:57:33 +000017#endif