Lines Matching refs:MaxViewports
112 for (unsigned i = 0; i < ctx->Const.MaxViewports; i++)
207 if ((first + count) > ctx->Const.MaxViewports) {
209 "glViewportArrayv: first (%d) + count (%d) > MaxViewports "
211 first, count, ctx->Const.MaxViewports);
237 if (index >= ctx->Const.MaxViewports) {
239 "%s: index (%d) >= MaxViewports (%d)",
240 function, index, ctx->Const.MaxViewports);
340 for (i = 0; i < ctx->Const.MaxViewports; i++)
393 if ((first + count) > ctx->Const.MaxViewports) {
395 "glDepthRangev: first (%d) + count (%d) >= MaxViewports (%d)",
396 first, count, ctx->Const.MaxViewports);
412 if ((first + count) > ctx->Const.MaxViewports) {
414 "glDepthRangeArrayfv: first (%d) + count (%d) >= MaxViewports (%d)",
415 first, count, ctx->Const.MaxViewports);
453 if (index >= ctx->Const.MaxViewports) {
455 "glDepthRangeIndexed: index (%d) >= MaxViewports (%d)",
456 index, ctx->Const.MaxViewports);
480 /* Note: ctx->Const.MaxViewports may not have been set by the driver yet,