summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-08-28 00:29:05 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-09-03 22:31:03 -0700
commit323962182547aeafcdb3bac28434ef81f70eb785 (patch)
treeda5b88f17f8921000cf9f2bab98e5aa047a2ce4a /src/mesa/drivers/dri/i965/brw_vs.h
parent27e83b62bb52de7a681ed82679a707555023f43d (diff)
downloadexternal_mesa3d-323962182547aeafcdb3bac28434ef81f70eb785.zip
external_mesa3d-323962182547aeafcdb3bac28434ef81f70eb785.tar.gz
external_mesa3d-323962182547aeafcdb3bac28434ef81f70eb785.tar.bz2
i965: Virtualize vec4_visitor::emit_urb_slot().
This avoids a downcast of key, which won't exist in the base class soon. I'm not a huge fan of this patch, but given that we're currently using inheritance, this seems like the "right" way to do it. The alternative is to make key a void pointer in the parent class and continue downcasting. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h
index e98679a..3a847fcd 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.h
+++ b/src/mesa/drivers/dri/i965/brw_vs.h
@@ -103,6 +103,7 @@ protected:
virtual void emit_program_code();
virtual void emit_thread_end();
virtual void emit_urb_write_header(int mrf);
+ virtual void emit_urb_slot(dst_reg reg, int varying);
virtual vec4_instruction *emit_urb_write_opcode(bool complete);
private: