Lines Matching refs:Const
76 const struct gl_config *mesaVis,
87 const unsigned req_version = major_version * 10 + minor_version;
163 ctx->Const.MaxDualSourceDrawBuffers = 1;
164 ctx->Const.MaxDrawBuffers = BRW_MAX_DRAW_BUFFERS;
165 ctx->Const.MaxTextureImageUnits = BRW_MAX_TEX_UNIT;
166 ctx->Const.MaxTextureCoordUnits = 8; /* Mesa limit */
167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits,
168 ctx->Const.MaxTextureImageUnits);
169 ctx->Const.MaxVertexTextureImageUnits = BRW_MAX_TEX_UNIT;
170 ctx->Const.MaxCombinedTextureImageUnits =
171 ctx->Const.MaxVertexTextureImageUnits +
172 ctx->Const.MaxTextureImageUnits;
174 ctx->Const.MaxTextureLevels = 14; /* 8192 */
175 if (ctx->Const.MaxTextureLevels > MAX_TEXTURE_LEVELS)
176 ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS;
177 ctx->Const.Max3DTextureLevels = 9;
178 ctx->Const.MaxCubeTextureLevels = 12;
181 ctx->Const.MaxArrayTextureLayers = 2048;
183 ctx->Const.MaxArrayTextureLayers = 512;
185 ctx->Const.MaxTextureRectSize = (1<<12);
187 ctx->Const.MaxTextureMaxAnisotropy = 16.0;
193 ctx->Const.MaxTransformFeedbackBuffers = BRW_MAX_SOL_BUFFERS;
205 ctx->Const.MaxTransformFeedbackInterleavedComponents = BRW_MAX_SOL_BINDINGS;
206 ctx->Const.MaxTransformFeedbackSeparateComponents =
210 ctx->Const.MaxSamples = 4;
212 ctx->Const.MaxSamples = 8;
215 ctx->Const.MaxPointSizeAA = 255.0;
234 ctx->Const.VertexProgram.MaxNativeInstructions = (16 * 1024);
235 ctx->Const.VertexProgram.MaxAluInstructions = 0;
236 ctx->Const.VertexProgram.MaxTexInstructions = 0;
237 ctx->Const.VertexProgram.MaxTexIndirections = 0;
238 ctx->Const.VertexProgram.MaxNativeAluInstructions = 0;
239 ctx->Const.VertexProgram.MaxNativeTexInstructions = 0;
240 ctx->Const.VertexProgram.MaxNativeTexIndirections = 0;
241 ctx->Const.VertexProgram.MaxNativeAttribs = 16;
242 ctx->Const.VertexProgram.MaxNativeTemps = 256;
243 ctx->Const.VertexProgram.MaxNativeAddressRegs = 1;
244 ctx->Const.VertexProgram.MaxNativeParameters = 1024;
245 ctx->Const.VertexProgram.MaxEnvParams =
246 MIN2(ctx->Const.VertexProgram.MaxNativeParameters,
247 ctx->Const.VertexProgram.MaxEnvParams);
249 ctx->Const.FragmentProgram.MaxNativeInstructions = (16 * 1024);
250 ctx->Const.FragmentProgram.MaxNativeAluInstructions = (16 * 1024);
251 ctx->Const.FragmentProgram.MaxNativeTexInstructions = (16 * 1024);
252 ctx->Const.FragmentProgram.MaxNativeTexIndirections = (16 * 1024);
253 ctx->Const.FragmentProgram.MaxNativeAttribs = 12;
254 ctx->Const.FragmentProgram.MaxNativeTemps = 256;
255 ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0;
256 ctx->Const.FragmentProgram.MaxNativeParameters = 1024;
257 ctx->Const.FragmentProgram.MaxEnvParams =
258 MIN2(ctx->Const.FragmentProgram.MaxNativeParameters,
259 ctx->Const.FragmentProgram.MaxEnvParams);
264 ctx->Const.FragmentProgram.LowInt.RangeMin = 31;
265 ctx->Const.FragmentProgram.LowInt.RangeMax = 30;
266 ctx->Const.FragmentProgram.LowInt.Precision = 0;
267 ctx->Const.FragmentProgram.HighInt = ctx->Const.FragmentProgram.MediumInt
268 = ctx->Const.FragmentProgram.LowInt;
275 ctx->Const.QuadsFollowProvokingVertexConvention = false;
277 ctx->Const.QueryCounterBits.Timestamp = 36;
389 ctx->Const.NativeIntegers = true;
390 ctx->Const.UniformBooleanTrue = 1;
392 ctx->Const.ForceGLSLExtensionsWarn = driQueryOptionb(&intel->optionCache, "force_glsl_extensions_warn");
394 ctx->Const.ContextFlags = 0;
396 ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT;
399 ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_DEBUG_BIT;