aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_urb.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-08-30 01:43:34 -0700
committerKenneth Graunke <[email protected]>2017-09-01 09:59:36 -0700
commit804f78feb41376101632715c32ab680893629915 (patch)
tree32c1c445eef17f62231eff8e3685e64836ada6c9 /src/mesa/drivers/dri/i965/brw_urb.c
parent6ec7bddb19aee9faf28bfaac45f39b81708214d7 (diff)
i965: Drop the BRW_BATCH_STRUCT macro.
It's used in exactly one place these days, and not much simpler than just calling intel_batchbuffer_data directly. Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_urb.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_urb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c
index af68b9706b4..a86fa78acaf 100644
--- a/src/mesa/drivers/dri/i965/brw_urb.c
+++ b/src/mesa/drivers/dri/i965/brw_urb.c
@@ -264,5 +264,5 @@ void brw_upload_urb_fence(struct brw_context *brw)
while (--pad);
}
- BRW_BATCH_STRUCT(brw, &uf);
+ intel_batchbuffer_data(brw, &uf, sizeof(uf), RENDER_RING);
}