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_vs.h | |
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_vs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h index bad0f07..f47ecaa 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.h +++ b/src/mesa/drivers/dri/i965/brw_vs.h @@ -75,6 +75,12 @@ bool brw_vs_prog_data_compare(const void *a, const void *b); void brw_upload_vs_prog(struct brw_context *brw); +bool +brw_compile_vs_prog(struct brw_context *brw, + struct gl_shader_program *prog, + struct brw_vertex_program *vp, + struct brw_vs_prog_key *key); + #ifdef __cplusplus } /* extern "C" */ |