diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-20 12:00:00 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-20 19:11:04 +0000 |
commit | 0f84ecfc3cd7dfe7f43ff99a6498d2ceccd90225 (patch) | |
tree | a78f7d5a969afc132fe838ef6bc7a77c258f26e6 /src/sna/gen5_render.h | |
parent | 1f4ede0ef8f8a8d07e11781ad05617ecdfcd3faf (diff) |
sna/gen4+: Amalgamate all the gen4-7 vertex buffer emission
Having reduced all the vb code for these generations to the same set of
routines, we can refactor them into a single set of functions.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen5_render.h')
-rw-r--r-- | src/sna/gen5_render.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/sna/gen5_render.h b/src/sna/gen5_render.h index b6e5b0c2..31caafc7 100644 --- a/src/sna/gen5_render.h +++ b/src/sna/gen5_render.h @@ -749,15 +749,14 @@ #define GEN5_VERTEXBUFFER_ACCESS_VERTEXDATA 0 #define GEN5_VERTEXBUFFER_ACCESS_INSTANCEDATA 1 -#define GEN5_VFCOMPONENT_NOSTORE 0 -#define GEN5_VFCOMPONENT_STORE_SRC 1 -#define GEN5_VFCOMPONENT_STORE_0 2 -#define GEN5_VFCOMPONENT_STORE_1_FLT 3 -#define GEN5_VFCOMPONENT_STORE_1_INT 4 -#define GEN5_VFCOMPONENT_STORE_VID 5 -#define GEN5_VFCOMPONENT_STORE_IID 6 -#define GEN5_VFCOMPONENT_STORE_PID 7 - +#define VFCOMPONENT_NOSTORE 0 +#define VFCOMPONENT_STORE_SRC 1 +#define VFCOMPONENT_STORE_0 2 +#define VFCOMPONENT_STORE_1_FLT 3 +#define VFCOMPONENT_STORE_1_INT 4 +#define VFCOMPONENT_STORE_VID 5 +#define VFCOMPONENT_STORE_IID 6 +#define VFCOMPONENT_STORE_PID 7 /* Execution Unit (EU) defines |