mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
mesa: Return number of result bits for GL_ANY_SAMPLES_PASSED_CONSERVATIVE
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>
This commit is contained in:
parent
7a57c82767
commit
e7cdaa895a
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue