i965: Expose brw_reg_from_fs_reg() to other files.

This will be useful for Broadwell code as well.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Kenneth Graunke
2013-11-01 13:29:37 -07:00
parent 10cb91d7fb
commit 7b4b94a956
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -619,3 +619,5 @@ private:
bool brw_do_channel_expressions(struct exec_list *instructions);
bool brw_do_vector_splitting(struct exec_list *instructions);
bool brw_fs_precompile(struct gl_context *ctx, struct gl_shader_program *prog);
struct brw_reg brw_reg_from_fs_reg(fs_reg *reg);
@@ -989,7 +989,7 @@ static uint32_t brw_file_from_reg(fs_reg *reg)
}
}
static struct brw_reg
struct brw_reg
brw_reg_from_fs_reg(fs_reg *reg)
{
struct brw_reg brw_reg;