i965: Move brw_compiler_create to brw_compiler.h
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Oct 2015 03:19:09 +0000 (20:19 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Oct 2015 20:02:03 +0000 (13:02 -0700)
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_shader.h

index 11c485d2f086896e2349889892cb8cc06ada892f..f6d5ab87be9a8c3372092f2ceeda9ef58e652118 100644 (file)
@@ -93,6 +93,9 @@ struct brw_compiler {
    struct gl_shader_compiler_options glsl_compiler_options[MESA_SHADER_STAGES];
 };
 
+struct brw_compiler *
+brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo);
+
 
 /**
  * Program key structures.
index b33b08f40d75f67686bec1774c90fc347600c784..2e47690d403bdde2d6cd5632067155a914e61f43 100644 (file)
@@ -233,9 +233,6 @@ bool opt_predicated_break(struct backend_shader *s);
 extern "C" {
 #endif
 
-struct brw_compiler *
-brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo);
-
 void
 brw_assign_common_binding_table_offsets(gl_shader_stage stage,
                                         const struct brw_device_info *devinfo,