mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 10:40:11 +01:00
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:
parent
63f2b2f2c0
commit
bb1bd0ddd7
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue