tools/null_state_gen: generate null render state

Generate valid (null) render state for each gen. Output
it as a c source file with batch and relocations.

v2: noinst and vs_start fixed for BDW GT3 (Damien Lespiau)

Acked-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
Mika Kuoppala
2014-04-10 15:15:13 +03:00
parent a384e55b49
commit d60d4c80e5
11 changed files with 2207 additions and 1 deletions
+1
View File
@@ -165,6 +165,7 @@
#define GEN7_VB0_VERTEXDATA (0 << 20)
#define GEN7_VB0_INSTANCEDATA (1 << 20)
#define GEN7_VB0_BUFFER_PITCH_SHIFT 0
#define GEN7_VB0_NULL_VERTEX_BUFFER (1 << 13)
#define GEN7_VB0_ADDRESS_MODIFY_ENABLE (1 << 14)
/* VERTEX_ELEMENT_STATE Structure */