[Mesa-dev] [PATCH 10/14] radeonsi: Allow 16 samples MSAA mode for PIPE_FORMAT_NONE
Marek Olšák
maraeo at gmail.com
Sun Mar 27 17:18:30 UTC 2016
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Sun, Mar 27, 2016 at 4:38 AM, Edward O'Callaghan
<eocallaghan at alterapraxis.com> wrote:
> 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 at alterapraxis.com>
> ---
> src/gallium/drivers/radeonsi/si_state.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index a2b0da9..8b6144a 100644
> --- a/src/gallium/drivers/radeonsi/si_state.c
> +++ b/src/gallium/drivers/radeonsi/si_state.c
> @@ -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;
> }
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list