summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/nvc0/nvc0_context.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-08-31 22:52:45 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-09-01 21:25:31 +0200
commit96e21ad7634452312ef7e51e67ef496756e90237 (patch)
treea22c54a8555571c5145422e55c96397aa40aa1cf /src/gallium/drivers/nouveau/nvc0/nvc0_context.h
parent63ac80879e22f397cead3e031d2d41a8c4d84c7e (diff)
nvc0: add a new bin for the code segment
To avoid the bins list to grow up indefinitely when the code segment size will be bumped, we need to separate that bin from the SCREEN one because it contains other resources like the uniform bo. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_context.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_context.h b/src/gallium/drivers/nouveau/nvc0/nvc0_context.h
index 6499f3ef790..37aecae9047 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_context.h
@@ -82,7 +82,8 @@
#define NVC0_BIND_3D_BUF 246
#define NVC0_BIND_3D_SCREEN 247
#define NVC0_BIND_3D_TLS 249
-#define NVC0_BIND_3D_COUNT 250
+#define NVC0_BIND_3D_TEXT 250
+#define NVC0_BIND_3D_COUNT 251
/* compute bufctx (during launch_grid) */
#define NVC0_BIND_CP_CB(i) ( 0 + (i))
@@ -93,7 +94,8 @@
#define NVC0_BIND_CP_SCREEN 51
#define NVC0_BIND_CP_QUERY 52
#define NVC0_BIND_CP_BUF 53
-#define NVC0_BIND_CP_COUNT 54
+#define NVC0_BIND_CP_TEXT 54
+#define NVC0_BIND_CP_COUNT 55
/* bufctx for other operations */
#define NVC0_BIND_2D 0