diff options
author | Paul Berry <[email protected]> | 2013-05-01 07:16:52 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-06-12 10:45:42 -0700 |
commit | 460b7bc7a103d7a7518b4187f0c1dfc452f75137 (patch) | |
tree | 0fbb85260345d9474ff846ba04a010f705188b17 /src/mesa/drivers/dri/i965/intel_pixel_read.c | |
parent | 7e5cb4bc4c8dfc96019b815e2c9a62af12e1f958 (diff) |
i965/gen7+: Set up MCS in SURFACE_STATE whenever MCS is present.
On Gen7+, MCS buffers are used both for compressed multisampled color
buffers and for "fast clear" of single-sampled color buffers.
Previous to this patch series, we didn't support fast clear, so we
only used MCS with multisampled bolor buffers.
As a first step to implementing fast clears, this patch modifies the
code that sets up SURFACE_STATE so that it configures the MCS buffer
whenever it is present, regardless of whether we are multisampling or
not.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_read.c')
0 files changed, 0 insertions, 0 deletions