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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user