diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-11-06 07:47:07 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-11-06 07:47:07 +0000 |
commit | a49ccf0fd25575c4e40398e5d22f3931e80921f8 (patch) | |
tree | 3b820c72e1093fd76924b0d9860e8946d5226b21 /src/gallium/drivers/i965/brw_clip_state.c | |
parent | c93d9c1ce350241c32cbf882d247423cea4cf9c4 (diff) | |
download | external_mesa3d-a49ccf0fd25575c4e40398e5d22f3931e80921f8.zip external_mesa3d-a49ccf0fd25575c4e40398e5d22f3931e80921f8.tar.gz external_mesa3d-a49ccf0fd25575c4e40398e5d22f3931e80921f8.tar.bz2 |
i965g: restore code to populate the relocation background
I'm emitting this in two places now, to the data presented
for upload and also in the delta field of the reloc struct.
Probably want to remove the delta field and just pull the
background from the key.
Diffstat (limited to 'src/gallium/drivers/i965/brw_clip_state.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_clip_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_clip_state.c b/src/gallium/drivers/i965/brw_clip_state.c index 3f2b970..467364e 100644 --- a/src/gallium/drivers/i965/brw_clip_state.c +++ b/src/gallium/drivers/i965/brw_clip_state.c @@ -83,6 +83,7 @@ clip_unit_create_from_key(struct brw_context *brw, memset(&clip, 0, sizeof(clip)); + clip.thread0.grf_reg_count = align(key->total_grf, 16) / 16 - 1; /* reloc */ clip.thread0.kernel_start_pointer = 0; |