diff options
author | Carl Worth <cworth@cworth.org> | 2015-03-20 12:10:49 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2015-04-02 22:15:45 -0700 |
commit | b9b66985c3d33fa0db2b49c0e0231aa6d341e183 (patch) | |
tree | 029763e47818919dc76b1a98a9d9f2a7bb816ca6 /src/mesa/drivers/dri/i965/brw_ff_gs.c | |
parent | a57672f18deca3060eab129a77cf84f5e420bac8 (diff) | |
download | external_mesa3d-b9b66985c3d33fa0db2b49c0e0231aa6d341e183.zip external_mesa3d-b9b66985c3d33fa0db2b49c0e0231aa6d341e183.tar.gz external_mesa3d-b9b66985c3d33fa0db2b49c0e0231aa6d341e183.tar.bz2 |
i965: Rename do_<stage>_prog to brw_compile_<stage>_prog (and export)
This is in preparation for these functions to be called from other
files.
This commit is intended to have no functional change. It exists in
preparation for some upcoming code movement in preparation for the
shader cache.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_ff_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_ff_gs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_ff_gs.c b/src/mesa/drivers/dri/i965/brw_ff_gs.c index b3cbbe8..e6f837c 100644 --- a/src/mesa/drivers/dri/i965/brw_ff_gs.c +++ b/src/mesa/drivers/dri/i965/brw_ff_gs.c @@ -45,8 +45,9 @@ #include "util/ralloc.h" -static void compile_ff_gs_prog(struct brw_context *brw, - struct brw_ff_gs_prog_key *key) +void +brw_compile_ff_gs_prog(struct brw_context *brw, + struct brw_ff_gs_prog_key *key) { struct brw_ff_gs_compile c; const GLuint *program; @@ -253,7 +254,7 @@ brw_upload_ff_gs_prog(struct brw_context *brw) if (!brw_search_cache(&brw->cache, BRW_CACHE_FF_GS_PROG, &key, sizeof(key), &brw->ff_gs.prog_offset, &brw->ff_gs.prog_data)) { - compile_ff_gs_prog( brw, &key ); + brw_compile_ff_gs_prog(brw, &key); } } } |