diff options
author | Timothy Arceri <timothy.arceri@collabora.com> | 2016-06-18 16:18:17 +1000 |
---|---|---|
committer | Timothy Arceri <timothy.arceri@collabora.com> | 2016-09-27 11:11:15 +1000 |
commit | 856e0bd707d2ead26eb3a04be08885487850be38 (patch) | |
tree | e8c640e5ddba6d940c9ed1986c7a5cb3640d0745 /src/mesa/drivers/dri/i965/brw_program.h | |
parent | ec75570415a23f9b456b1fedf7b0c287b3e3c5c5 (diff) |
i965: create populate key functions for tcs and tes
These will be used by the on disk shader cache.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.h b/src/mesa/drivers/dri/i965/brw_program.h index 317fbe2b9f4..eed07a2c1c0 100644 --- a/src/mesa/drivers/dri/i965/brw_program.h +++ b/src/mesa/drivers/dri/i965/brw_program.h @@ -61,10 +61,12 @@ void brw_dump_ir(const char *stage, struct gl_shader_program *shader_prog, struct gl_linked_shader *shader, struct gl_program *prog); -void brw_upload_tcs_prog(struct brw_context *brw, - uint64_t per_vertex_slots, uint32_t per_patch_slots); -void brw_upload_tes_prog(struct brw_context *brw, - uint64_t per_vertex_slots, uint32_t per_patch_slots); +void brw_upload_tcs_prog(struct brw_context *brw); +void brw_tcs_populate_key(struct brw_context *brw, + struct brw_tcs_prog_key *key); +void brw_upload_tes_prog(struct brw_context *brw); +void brw_tes_populate_key(struct brw_context *brw, + struct brw_tes_prog_key *key); #ifdef __cplusplus } /* extern "C" */ |