freedreno/a6xx: Allocate and program tessellation buffer
[mesa.git] / src / gallium / drivers / freedreno / freedreno_batch.h
index ecee0a8787819b8cc12b2fc3b32cf9b43e01767a..5061186f1b5842415f6dcb5db30c56ba162f6dc6 100644 (file)
@@ -224,6 +224,18 @@ struct fd_batch {
 
        /** set of dependent batches.. holds refs to dependent batches: */
        uint32_t dependents_mask;
+
+       /* Buffer for tessellation engine input
+        */
+       struct fd_bo *tessfactor_bo;
+       uint32_t tessfactor_size;
+
+       /* Buffer for passing parameters between TCS and TES
+        */
+       struct fd_bo *tessparam_bo;
+       uint32_t tessparam_size;
+
+       struct fd_ringbuffer *tess_addrs_constobj;
 };
 
 struct fd_batch * fd_batch_create(struct fd_context *ctx, bool nondraw);