diff options
author | Paul Berry <[email protected]> | 2013-02-17 07:48:21 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-04-11 09:25:24 -0700 |
commit | 5fff3752c88255ea3f4eb26cddb2c996694b33b1 (patch) | |
tree | 7563f6d4fd13a91c3ee86e302f0df18fa67f9e70 /src/mesa/drivers/dri/i965/gen6_urb.c | |
parent | 0c994f181ce1a09cdbb7db27e4ad5565248bf8e1 (diff) |
i965/vs: split brw_vs_prog_data into generic and VS-specific parts.
This will allow the generic parts to be re-used for geometry shaders.
Reviewed-by: Jordan Justen <[email protected]>
v2: Put urb_read_length and urb_entry_size in the generic struct.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_urb.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_urb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_urb.c b/src/mesa/drivers/dri/i965/gen6_urb.c index aa985de920d..d47bf9ea466 100644 --- a/src/mesa/drivers/dri/i965/gen6_urb.c +++ b/src/mesa/drivers/dri/i965/gen6_urb.c @@ -54,7 +54,7 @@ gen6_upload_urb( struct brw_context *brw ) int total_urb_size = brw->urb.size * 1024; /* in bytes */ /* CACHE_NEW_VS_PROG */ - unsigned vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); + unsigned vs_size = MAX2(brw->vs.prog_data->base.urb_entry_size, 1); /* We use the same VUE layout for VS outputs and GS outputs (as it's what * the SF and Clipper expect), so we can simply make the GS URB entry size |