<div dir="ltr">Reviewed-by: Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 9:31 AM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">GL_ARB_texture_multisample and GLES 3.1 expect the initial value to be<br>
GL_TRUE. This fixes<br>
<br>
dEQP-GLES31.functional.state_query.texture_level.texture_2d_multisample_array.fixed_sample_locations_integer<br>
<br>
and a few related tests.<br>
<br>
Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
---<br>
 src/mesa/main/texparam.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c<br>
index ed83830..c5f493f 100644<br>
--- a/src/mesa/main/texparam.c<br>
+++ b/src/mesa/main/texparam.c<br>
@@ -1310,6 +1310,7 @@ get_tex_level_parameter_image(struct gl_context *ctx,<br>
       dummy_image.TexFormat = MESA_FORMAT_NONE;<br>
       dummy_image.InternalFormat = GL_RGBA;<br>
       dummy_image._BaseFormat = GL_NONE;<br>
+      dummy_image.FixedSampleLocations = GL_TRUE;<br>
<br>
       img = &dummy_image;<br>
    }<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.4.10<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>