[Bug 98248] dEQP-GLES3.functional.state_query.integers.viewport_get* failure
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Oct 15 03:40:03 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98248
--- Comment #4 from Randy <randy.xu at intel.com> ---
I got the answer in code, the OES_viewport_array is only enabled when gen >= 8
set_viewport_no_notify
/* The GL_ARB_viewport_array spec says:
*
* "The location of the viewport's bottom-left corner, given by (x,y),
* are clamped to be within the implementation-dependent viewport
* bounds range. The viewport bounds range [min, max] tuple may be
* determined by calling GetFloatv with the symbolic constant
* VIEWPORT_BOUNDS_RANGE (see section 6.1)."
*/
if (ctx->Extensions.ARB_viewport_array ||
(ctx->Extensions.OES_viewport_array &&
_mesa_is_gles31(ctx))) {
x = CLAMP(x,
ctx->Const.ViewportBounds.Min, ctx->Const.ViewportBounds.Max);
y = CLAMP(y,
ctx->Const.ViewportBounds.Min, ctx->Const.ViewportBounds.Max);
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20161015/79d2ab31/attachment.html>
More information about the intel-3d-bugs
mailing list