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:
committed by
Timothy Arceri
parent
f61669f997
commit
017081a3e5
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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" */
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user