Summary: | glGetQueryiv error when querying number of result bits for GL_ANY_SAMPLES_PASSED_CONSERVATIVE | ||
---|---|---|---|
Product: | Mesa | Reporter: | Danylo <danylo.piliaiev> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | danylo.piliaiev |
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Sent a patch https://patchwork.freedesktop.org/patch/230710/ Hello. Case can be easy reproduced by running the test ./gl-450-query-conditional from https://github.com/g-truc/ogl-samples Tested with patch - test is passing now --- 8< --- commit e7cdaa895a785025a7af80a187a358c880379f96 Author: Danylo Piliaiev <danylo.piliaiev@gmail.com> Date: Thu Jun 21 12:34:15 2018 +0300 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> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
glGetQueryiv has GL_ANY_SAMPLES_PASSED_CONSERVATIVE as a valid target and spec says: > If pname is GL_QUERY_COUNTER_BITS, the implementation-dependent number > of bits used to hold the result of queries for target is returned in params. Now glGetQueryiv(GL_ANY_SAMPLES_PASSED_CONSERVATIVE, GL_QUERY_COUNTER_BITS, &QueryBits) produces an error.