i965: make vs and fs key generation helpers available to shader cache

Signed-off-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
This commit is contained in:
Carl Worth
2016-04-14 10:54:38 +10:00
committed by Timothy Arceri
parent f61669f997
commit 017081a3e5
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ brw_vs_state_dirty(const struct brw_context *brw)
BRW_NEW_VS_ATTRIB_WORKAROUNDS);
}
static void
void
brw_vs_populate_key(struct brw_context *brw,
struct brw_vs_prog_key *key)
{
+4
View File
@@ -68,6 +68,10 @@ brw_codegen_vs_prog(struct brw_context *brw,
struct brw_vertex_program *vp,
struct brw_vs_prog_key *key);
void
brw_vs_populate_key(struct brw_context *brw,
struct brw_vs_prog_key *key);
#ifdef __cplusplus
} /* extern "C" */
+1 -1
View File
@@ -430,7 +430,7 @@ brw_wm_state_dirty(const struct brw_context *brw)
BRW_NEW_VUE_MAP_GEOM_OUT);
}
static void
void
brw_wm_populate_key(struct brw_context *brw, struct brw_wm_prog_key *key)
{
struct gl_context *ctx = &brw->ctx;
+4
View File
@@ -71,6 +71,10 @@ void brw_wm_debug_recompile(struct brw_context *brw,
void
brw_upload_wm_prog(struct brw_context *brw);
void
brw_wm_populate_key(struct brw_context *brw,
struct brw_wm_prog_key *key);
#ifdef __cplusplus
} // extern "C"
#endif