summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-04-26 19:52:45 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-06-22 20:59:26 +1000
commit356ea9a8da45fe5f0fb5712ffb763130b96489f1 (patch)
tree84a6b16028fc6524b5f50976889780629f99e66b /src/mesa/drivers/dri/i965/brw_vs.h
parent3948cd37973696dc319170877382676809659465 (diff)
downloadexternal_mesa3d-356ea9a8da45fe5f0fb5712ffb763130b96489f1.zip
external_mesa3d-356ea9a8da45fe5f0fb5712ffb763130b96489f1.tar.gz
external_mesa3d-356ea9a8da45fe5f0fb5712ffb763130b96489f1.tar.bz2
i965: move vs outputs written into a helper
We will reuse this for fs key generation for the on disk shader cache. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 7ccc188..b16e343 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -51,6 +51,10 @@
extern "C" {
#endif
+GLbitfield64
+brw_vs_outputs_written(struct brw_context *brw, struct brw_vs_prog_key *key,
+ GLbitfield64 outputs_written);
+
void brw_vs_debug_recompile(struct brw_context *brw,
struct gl_shader_program *prog,
const struct brw_vs_prog_key *key);