diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2014-11-23 23:46:39 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2014-11-24 15:30:09 -0800 |
commit | b55777f39d00a0c54023eba012d326ff09fa530b (patch) | |
tree | 87761f4a6a985b8c98b9832d44e10302ea41ff68 /src/mesa/drivers/dri/i965/brw_vs.h | |
parent | 62b425448ca92f568a571e656133e6d234434b4c (diff) | |
download | external_mesa3d-b55777f39d00a0c54023eba012d326ff09fa530b.zip external_mesa3d-b55777f39d00a0c54023eba012d326ff09fa530b.tar.gz external_mesa3d-b55777f39d00a0c54023eba012d326ff09fa530b.tar.bz2 |
i965: Make precompile functions accessible from C.
Previously, the prototypes for brw_vs/gs/fs_precompile were scattered
between brw_vs.h (C), brw_gs.h (C), and brw_fs.h (C++ only). Also,
brw_fs_precompile had C++ linkage, while the others were C.
This patch moves all the prototypes to a central location (brw_shader.h)
and makes brw_fs_precompile have C linkage.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h index 77792d9..f6e6b31 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.h +++ b/src/mesa/drivers/dri/i965/brw_vs.h @@ -89,9 +89,6 @@ const unsigned *brw_vs_emit(struct brw_context *brw, struct brw_vs_prog_data *prog_data, void *mem_ctx, unsigned *program_size); -bool brw_vs_precompile(struct gl_context *ctx, - struct gl_shader_program *shader_prog, - struct gl_program *prog); void brw_vs_debug_recompile(struct brw_context *brw, struct gl_shader_program *prog, const struct brw_vs_prog_key *key); |