i965: Expose brw_reg_from_fs_reg() to other files.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Nov 2013 20:29:37 +0000 (13:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Nov 2013 00:51:22 +0000 (16:51 -0800)
This will be useful for Broadwell code as well.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index 675e379fcd6e6289ff43e87554ef19c394be574e..4f97a67a9603a85866875dc68d74ff6e86edf1d5 100644 (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);
index d67c4e4b3ae490f93d6de250a556067b94e3166e..63ac53062b2316afe2450ac4920c0d19ac2397a9 100644 (file)
@@ -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;