i965: make gs key generation helper available to shader cache

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Timothy Arceri 2016-06-17 22:02:43 +10:00
parent 481d8ec291
commit ec75570415
2 changed files with 5 additions and 1 deletions

View file

@ -206,7 +206,7 @@ brw_gs_state_dirty(const struct brw_context *brw)
BRW_NEW_TRANSFORM_FEEDBACK);
}
static void
void
brw_gs_populate_key(struct brw_context *brw,
struct brw_gs_prog_key *key)
{

View file

@ -37,6 +37,10 @@ struct gl_shader_program;
void
brw_upload_gs_prog(struct brw_context *brw);
void
brw_gs_populate_key(struct brw_context *brw,
struct brw_gs_prog_key *key);
bool
brw_codegen_gs_prog(struct brw_context *brw,
struct gl_shader_program *prog,