summaryrefslogtreecommitdiffstats
path: root/src/glx/single2.c
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-04-19 09:01:10 +0300
committerTopi Pohjolainen <[email protected]>2016-05-12 19:49:26 +0300
commit84066ebd6330b50e7628bdb0a40763e10e5f12d7 (patch)
treeb27ef3dff0cb021dd29e42987ae29aeefd3635bc /src/glx/single2.c
parent1ca02b6ebb424489d7c16be26a9f96359bbce25a (diff)
i965: Deferred allocation of mcs for lossless compressed
Until now mcs was associated to single sampled buffers only for fast clear purposes and it was therefore the responsibility of the clear logic to allocate the aux buffer when needed. Now that normal 3D render or blorp blit may render with mcs enabled also, they need to prepare the mcs just as well. v2: Do not enable for scanout buffers v3 (Ben): - Fix typo in commit message. - Check for gen < 9 and return early in brw_predraw_set_aux_buffers() - Check for gen < 9 and return early in intel_miptree_prepare_mcs() v4: Check for msaa_layput and number of samples to determine if lossless compression is to used. Otherwise one cannot distuingish between fast clear with and without compression. Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/glx/single2.c')
0 files changed, 0 insertions, 0 deletions