aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-17 08:01:01 -0700
committerJason Ekstrand <[email protected]>2016-08-29 12:17:34 -0700
commit7ecbb9bada62a50f5e430ead7fff9154a45afb68 (patch)
tree7bf3064f57ae7fa4a8aceb951913225f30600d1e /src/mesa/drivers/dri/i965/brw_context.h
parent3e4b43d11d5303a84aba79874664cd6514831bb2 (diff)
i965/gen6: Refactor gen6_upload_urb
This splits it into two functions very similar to gen7_upload_urb. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index d8aa2ba47f3..da80e348a7d 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1695,6 +1695,9 @@ gen7_emit_push_constant_state(struct brw_context *brw, unsigned vs_size,
unsigned gs_size, unsigned fs_size);
void
+gen6_upload_urb(struct brw_context *brw, unsigned vs_size,
+ bool gs_present, unsigned gs_size);
+void
gen7_upload_urb(struct brw_context *brw, unsigned vs_size,
bool gs_present, bool tess_present);