Re: [Mesa-dev] [PATCH 3/4] i965: Make precompile functions accessible from C.

2014-11-24 Thread Kristian Høgsberg
On Mon, Nov 24, 2014 at 12:28 AM, Kenneth Graunke wrote: > 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 prototyp

[Mesa-dev] [PATCH 3/4] i965: Make precompile functions accessible from C.

2014-11-24 Thread Kenneth Graunke
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