diff options
author | Jason Ekstrand <[email protected]> | 2017-11-03 14:13:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-02-28 13:31:42 -0800 |
commit | 67da59e320bd5f797f6bdc3ab111f33c64e16811 (patch) | |
tree | 91e67f348cf6122b2d1b706b46b1fbee9366d592 /src/mesa/drivers/dri/i965/intel_pixel_bitmap.c | |
parent | debaa822ef12bc9006dcf95ab76ac8e3432bd9a7 (diff) |
i965: Be more clever about setting up our viewport clip
Before, we were trusting in the hardware to take the intersection
of the viewport clip with the drawing rectangle. Unfortunately,
3DSTATE_DRAWING_RECTANGLE is fairly expensive because it implicitly
does a full pipeline stall. If we're a bit more careful with our
viewport clipping, we can just re-emit it once at context creation
time.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_bitmap.c')
0 files changed, 0 insertions, 0 deletions