freedreno: Add support for EXT_multisampled_render_to_texture
authorKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 6 Nov 2018 05:23:27 +0000 (21:23 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 7 Dec 2018 00:56:37 +0000 (16:56 -0800)
commit3e55df4f83962b4dd29d84be57b697dccab5a364
treea1bdafb011c39644345a050b793132ceb0290871
parent913eb7fa58c8208722ec71e653262fb66cfeeeab
freedreno: Add support for EXT_multisampled_render_to_texture

There is not much to do in freedreno - tile layout and multisample
state for gmem renderings is programmed based on the pfb sample count,
while resolve blits take the destination sample count from the resource.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/freedreno_batch_cache.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_surface.c