llvmpipe: record sample info for color/depth buffers in scene
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2020 05:09:37 +0000 (15:09 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit01e9779c004efa8acedff83d2560880be894e7fc
treeeea958a8a46aebdf29ce3117adcda40b3f224974
parenta30db60edeb7814415b04537cee8cc306ad11fd7
llvmpipe: record sample info for color/depth buffers in scene

This adds the nr_samples + sample_stride to the scene records
for cbufs and zsbuf.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_scene.h
src/gallium/drivers/llvmpipe/lp_texture.h