aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_image.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-03 14:13:08 -0700
committerJason Ekstrand <[email protected]>2018-02-28 13:31:42 -0800
commit67da59e320bd5f797f6bdc3ab111f33c64e16811 (patch)
tree91e67f348cf6122b2d1b706b46b1fbee9366d592 /src/mesa/drivers/dri/i965/intel_image.h
parentdebaa822ef12bc9006dcf95ab76ac8e3432bd9a7 (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_image.h')
0 files changed, 0 insertions, 0 deletions