Since
9d6ca7c3, there should be no performance hit for having
MaxViewports > 1. Always set this context state. This eliminates the
need to update this conditional as we add support for OES_viewport_array
on older GPUs.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
}
/* ARB_viewport_array, OES_viewport_array */
- if ((brw->gen >= 6 && ctx->API == API_OPENGL_CORE) ||
- (brw->gen >= 8 && ctx->API == API_OPENGLES2)) {
+ if (brw->gen >= 6) {
ctx->Const.MaxViewports = GEN6_NUM_VIEWPORTS;
ctx->Const.ViewportSubpixelBits = 0;