i965/gen7+: Mark upload_3dstate_so_decl_list as non-static (v2)
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Dec 2012 21:31:57 +0000 (13:31 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 14 Aug 2013 01:03:57 +0000 (18:03 -0700)
We will reuse this for Broadwell.

v2: Prefix function name with 'gen7'. (chadv)

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_sol_state.c

index 321bffe922fc71a9b1965ac65191302b7660c6a7..a1236b7c08ff903408c3fdf55f6908916bd4ea52 100644 (file)
@@ -200,6 +200,10 @@ void gen7_init_vtable_surface_functions(struct brw_context *brw);
 void gen7_create_shader_time_surface(struct brw_context *brw,
                                      uint32_t *out_offset);
 
+/* gen7_sol_state.c */
+void gen7_upload_3dstate_so_decl_list(struct brw_context *brw,
+                                      const struct brw_vue_map *vue_map);
+
 /* brw_wm_sampler_state.c */
 uint32_t translate_wrap_mode(GLenum wrap, bool using_nearest);
 void upload_default_color(struct brw_context *brw,
index 034efe80e85e3efbe6b06aa2767a3c7589932f2d..185e422208ff045c35fb9dd170293a1571ee05fc 100644 (file)
@@ -97,9 +97,9 @@ upload_3dstate_so_buffers(struct brw_context *brw)
  * stream.  We only have one stream of rendering coming out of the GS unit, so
  * we only emit stream 0 (low 16 bits) SO_DECLs.
  */
-static void
-upload_3dstate_so_decl_list(struct brw_context *brw,
-                           const struct brw_vue_map *vue_map)
+void
+gen7_upload_3dstate_so_decl_list(struct brw_context *brw,
+                                 const struct brw_vue_map *vue_map)
 {
    struct gl_context *ctx = &brw->ctx;
    /* BRW_NEW_VERTEX_PROGRAM */