tgsi/ureg: make the dst register match the src indirection
[mesa.git] / src / gallium / auxiliary / cso_cache / cso_context.h
index e8f5a9f77bf101b11b7da9b0a8ac69f360caae44..20ab4ef1aaa19c5751cc2f542581771d48076d65 100644 (file)
@@ -203,6 +203,19 @@ void
 cso_restore_sampler_views(struct cso_context *cso, unsigned shader_stage);
 
 
+/* constant buffers */
+
+void cso_set_constant_buffer(struct cso_context *cso, unsigned shader_stage,
+                             unsigned index, struct pipe_constant_buffer *cb);
+void cso_set_constant_buffer_resource(struct cso_context *cso,
+                                      unsigned shader_stage,
+                                      unsigned index,
+                                      struct pipe_resource *buffer);
+void cso_save_constant_buffer_slot0(struct cso_context *cso,
+                                    unsigned shader_stage);
+void cso_restore_constant_buffer_slot0(struct cso_context *cso,
+                                       unsigned shader_stage);
+
 
 /* drawing */