summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-11-26 22:14:27 -0800
committerKenneth Graunke <kenneth@whitecape.org>2012-11-28 18:15:50 -0800
commit403bb1d306c5bc23ad9e2c26fd39071e6e41f665 (patch)
tree88a80ec00823edfd9e314595985836bd929520ec /src/mesa/drivers/dri/i965/brw_vs.h
parentdd50c88386c8220f4631115b68a10930378ead6c (diff)
downloadexternal_mesa3d-403bb1d306c5bc23ad9e2c26fd39071e6e41f665.zip
external_mesa3d-403bb1d306c5bc23ad9e2c26fd39071e6e41f665.tar.gz
external_mesa3d-403bb1d306c5bc23ad9e2c26fd39071e6e41f665.tar.bz2
i965/vs: Pass the brw_context pointer into vec4_visitor and do_vs_prog.
We used to steal it out of the brw_compile struct...but vec4_visitor isn't going to have one of those in the future. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.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, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index 279c18f..2c08547 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -103,7 +103,9 @@ struct brw_vs_compile {
GLuint last_scratch; /**< measured in 32-byte (register size) units */
};
-bool brw_vs_emit(struct gl_shader_program *prog, struct brw_vs_compile *c);
+bool brw_vs_emit(struct brw_context *brw,
+ struct gl_shader_program *prog,
+ 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,