nv50,nvc0: handle user constbufs without wrapping them in a resource
[mesa.git] / src / gallium / drivers / nv50 / nv50_screen.h
index 9eae08ea1d359c5cefd6a176157dbfbd61a87b86..4292f7fc9a6c38a3f761e87656ba2dcb46080b7d 100644 (file)
@@ -12,6 +12,9 @@
 #define NV50_TIC_MAX_ENTRIES 2048
 #define NV50_TSC_MAX_ENTRIES 2048
 
+/* doesn't count reserved slots (for auxiliary constants, immediates, etc.) */
+#define NV50_MAX_PIPE_CONSTBUFS 14
+
 struct nv50_context;
 
 #define NV50_CODE_BO_SIZE_LOG2 19