projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a56ca
)
svga: fix incorrect multisample support in VGPU9 device
author
Charmaine Lee
<charmainel@vmware.com>
Thu, 30 Nov 2017 16:54:44 +0000
(08:54 -0800)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000
(13:07 -0600)
Commit
e4048f6cd1
unintentionally allows multisample support for VGPU9 device.
This patch fixes this regression.
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_format.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_format.c
b/src/gallium/drivers/svga/svga_format.c
index e3ca2f45f7a969a54ee631aa708f74e2ab215a18..bd7c964a03c76acf6e04bf7320a01bd6f734c6df 100644
(file)
--- a/
src/gallium/drivers/svga/svga_format.c
+++ b/
src/gallium/drivers/svga/svga_format.c
@@
-2270,6
+2270,10
@@
svga_is_format_supported(struct pipe_screen *screen,
assert(bindings);
assert(!ss->sws->have_vgpu10);
+ /* Multisamples is not supported in VGPU9 device */
+ if (sample_count > 1)
+ return FALSE;
+
svga_format = svga_translate_format(ss, format, bindings);
if (svga_format == SVGA3D_FORMAT_INVALID) {
return FALSE;