diff options
author | Kenneth Graunke <[email protected]> | 2013-07-11 10:24:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-18 16:57:21 -0700 |
commit | 7ce5c6b2147f9af524f4073b6ee3b29c0a5a1522 (patch) | |
tree | e97358dbc8cb24baa1fdb2e29feb2e70d6e79274 /src/glsl | |
parent | 30f33deccb7d481f638e34f2d9d9c107df871eab (diff) |
i965: Combine URB code emission into a single group.
All four URB packets need to be programmed together in order for the GPU
state to be valid. Putting them in separate BEGIN..ADVANCE blocks is
risky: if we're nearing the end of a batch, the batch could be flushed
inbetween two of the commands, causing the URB programming to be split
into two batchbuffers.
This -might- be okay with hardware contexts, but it offers no advantages
over keeping them together, and has a potential for hangs.
Putting them into a single BEGIN..ADVANCE block ensures they'll be kept
in the same batch, which seems wise.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions