summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-08-26 07:41:50 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-08-27 14:23:40 -0700
commitc20cb8d1f6cac0b98950828e69376bb9406761ff (patch)
tree3f9bbf17806ba10a64e579ca23977f18851fef4e /src/mesa/drivers/dri/i965/brw_vs.h
parent85b24b07512c5f3f05c5a3eb9561598ace97526c (diff)
downloadexternal_mesa3d-c20cb8d1f6cac0b98950828e69376bb9406761ff.zip
external_mesa3d-c20cb8d1f6cac0b98950828e69376bb9406761ff.tar.gz
external_mesa3d-c20cb8d1f6cac0b98950828e69376bb9406761ff.tar.bz2
i965/vs: Add VS program key dumping to INTEL_DEBUG=perf.
Eric added support for WM key debugging. This adds it for the VS. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 6d3b6ce..a68a620 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -120,5 +120,8 @@ struct brw_vs_compile {
bool brw_vs_emit(struct gl_shader_program *prog, struct brw_vs_compile *c);
void brw_old_vs_emit(struct brw_vs_compile *c);
bool brw_vs_precompile(struct gl_context *ctx, struct gl_shader_program *prog);
+void brw_vs_debug_recompile(struct brw_context *brw,
+ struct gl_shader_program *prog,
+ const struct brw_vs_prog_key *key);
#endif