From: Jason Ekstrand Date: Tue, 20 Oct 2015 03:19:09 +0000 (-0700) Subject: i965: Move brw_compiler_create to brw_compiler.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e3615cc7de8323075b907ae95c5e65c1c3e2fd7;p=mesa.git i965: Move brw_compiler_create to brw_compiler.h --- diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h index 11c485d2f08..f6d5ab87be9 100644 --- a/src/mesa/drivers/dri/i965/brw_compiler.h +++ b/src/mesa/drivers/dri/i965/brw_compiler.h @@ -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. diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index b33b08f40d7..2e47690d403 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.h +++ b/src/mesa/drivers/dri/i965/brw_shader.h @@ -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,