r600g: Use the actual Evergreen functions to query format support on Evergreen.
[mesa.git] / src / gallium / auxiliary / util / u_index_modify.h
index 01a6cae94fc5e8b0356c4a75e16065ab62fc6e99..1e9de3dfac883feb378dd439fa71580fe069a8c6 100644 (file)
 #ifndef UTIL_INDEX_MODIFY_H
 #define UTIL_INDEX_MODIFY_H
 
+struct pipe_context;
+struct pipe_resource;
+
+void util_shorten_ubyte_elts_to_userptr(struct pipe_context *context,
+                                       struct pipe_resource *elts,
+                                       int index_bias,
+                                       unsigned start,
+                                       unsigned count,
+                                       void *out);
+
 void util_shorten_ubyte_elts(struct pipe_context *context,
                             struct pipe_resource **elts,
                             int index_bias,
                             unsigned start,
                             unsigned count);
 
+
+
+void util_rebuild_ushort_elts_to_userptr(struct pipe_context *context,
+                                        struct pipe_resource *elts,
+                                        int index_bias,
+                                        unsigned start, unsigned count,
+                                        void *out);
+
 void util_rebuild_ushort_elts(struct pipe_context *context,
                              struct pipe_resource **elts,
                              int index_bias,
                              unsigned start, unsigned count);
 
+
+
+void util_rebuild_uint_elts_to_userptr(struct pipe_context *context,
+                                      struct pipe_resource *elts,
+                                      int index_bias,
+                                      unsigned start, unsigned count,
+                                      void *out);
+
 void util_rebuild_uint_elts(struct pipe_context *context,
                            struct pipe_resource **elts,
                            int index_bias,
                            unsigned start, unsigned count);
+
 #endif