radeonsi: Allow 16 samples MSAA mode for PIPE_FORMAT_NONE

For ARB_framebuffer_no_attachment; A is_format_supported() query
with 'PIPE_FORMAT_NONE' passed implies a query of the number of
samples supported from the framebuffer with no attachment.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Edward O'Callaghan 2016-03-20 14:50:04 +11:00 committed by Dave Airlie
parent 63f2b2f2c0
commit bb1bd0ddd7

View file

@ -2000,6 +2000,11 @@ boolean si_is_format_supported(struct pipe_screen *screen,
case 4:
case 8:
break;
case 16:
if (format == PIPE_FORMAT_NONE)
return TRUE;
else
return FALSE;
default:
return FALSE;
}