See previous commit for more info. If sample_count=1, we want to
return failure here since we don't support 1x MSAA.
---
src/gallium/drivers/svga/svga_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/svga/svga_screen.c
b/src/gallium/drivers/svga/svga_screen.c
index 9849fe3..4bb1ffb 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -732,7 +732,7 @@ svga_is_format_supported( struct pipe_screen *screen,
assert(bindings);
- if (sample_count > 1) {
+ if (sample_count > 0) {
/* In ms_samples, if bit N is set it means that we support
* multisample with N+1 samples per pixel.
*/
--
1.9.1
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev