[virglrenderer-devel] [PATCH 1/2] vrend: Use the sample count that was read before
Gert Wollny
gert.wollny at collabora.com
Fri Aug 3 19:37:55 UTC 2018
This was bogus from the beginning.
Fixes: c0e0274e8cf760f499552deea3c0f047036bf7f5
virgl: Add method to query supported MSAA samples and positions
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
---
src/vrend_renderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index a23f39c..bef8724 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -8121,7 +8121,7 @@ static void vrend_renderer_fill_caps_v2(int gl_ver, int gles_ver, union virgl_c
glGetIntegerv(GL_MAX_IMAGE_SAMPLES, (GLint*)&caps->v2.max_image_samples);
}
- caps->v1.max_samples = vrend_renderer_query_multisample_caps(max, &caps->v2);
+ caps->v1.max_samples = vrend_renderer_query_multisample_caps(caps->v1.max_samples, &caps->v2);
caps->v2.capability_bits |= VIRGL_CAP_TGSI_INVARIANT | VIRGL_CAP_SET_MIN_SAMPLES | VIRGL_CAP_TGSI_PRECISE;
--
2.17.1
More information about the virglrenderer-devel
mailing list