mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
svga: fix missing format multisample devcap check
In commit e4048f6cd1, svga_is_dx_format_supported() is supposed to also check the SVGA3D_DXFMT_MULTISAMPLE bit for multisample support of a format. Somehow that code is not included in that commit. This patch fixes it. Fixes piglit test spec@ext_framebuffer_multisample@formats all_samples. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
285d8b47b1
commit
026e1ad7bb
1 changed files with 1 additions and 0 deletions
|
|
@ -2381,6 +2381,7 @@ svga_is_dx_format_supported(struct pipe_screen *screen,
|
|||
if ((ss->ms_samples & (1 << (sample_count - 1))) == 0) {
|
||||
return FALSE;
|
||||
}
|
||||
mask |= SVGA3D_DXFMT_MULTISAMPLE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue