mesa: Return number of result bits for GL_ANY_SAMPLES_PASSED_CONSERVATIVE
authorDanylo Piliaiev <danylo.piliaiev@gmail.com>
Thu, 21 Jun 2018 09:34:15 +0000 (12:34 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 27 Jun 2018 08:02:34 +0000 (11:02 +0300)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106986
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/queryobj.c

index 7ee820aefd16d2c410c892aed377a43e48381f1a..7547fa1bb4d9a97720b2a78316f75436c10b0c21 100644 (file)
@@ -698,6 +698,7 @@ _mesa_GetQueryIndexediv(GLenum target, GLuint index, GLenum pname,
             *params = ctx->Const.QueryCounterBits.SamplesPassed;
             break;
          case GL_ANY_SAMPLES_PASSED:
+         case GL_ANY_SAMPLES_PASSED_CONSERVATIVE:
             /* The minimum value of this is 1 if it's nonzero, and the value
              * is only ever GL_TRUE or GL_FALSE, so no sense in reporting more
              * bits.