Lines Matching refs:Const
143 extern const struct tnl_pipeline_stage *intel_pipeline[];
147 const struct gl_config * mesaVis,
179 const unsigned max_version =
182 const unsigned req_version = major_version * 10 + minor_version;
213 ctx->Const.MaxTextureUnits = I915_TEX_UNITS;
214 ctx->Const.MaxTextureImageUnits = I915_TEX_UNITS;
215 ctx->Const.MaxTextureCoordUnits = I915_TEX_UNITS;
216 ctx->Const.MaxVarying = I915_TEX_UNITS;
217 ctx->Const.MaxCombinedTextureImageUnits =
218 ctx->Const.MaxVertexTextureImageUnits +
219 ctx->Const.MaxTextureImageUnits;
224 ctx->Const.MaxTextureLevels = 12;
225 ctx->Const.Max3DTextureLevels = 9;
226 ctx->Const.MaxCubeTextureLevels = 12;
227 ctx->Const.MaxTextureRectSize = (1 << 11);
228 ctx->Const.MaxTextureUnits = I915_TEX_UNITS;
230 ctx->Const.MaxTextureMaxAnisotropy = 4.0;
237 ctx->Const.FragmentProgram.MaxNativeTemps = I915_MAX_TEMPORARY;
238 ctx->Const.FragmentProgram.MaxNativeAttribs = 11; /* 8 tex, 2 color, fog */
239 ctx->Const.FragmentProgram.MaxNativeParameters = I915_MAX_CONSTANT;
240 ctx->Const.FragmentProgram.MaxNativeAluInstructions = I915_MAX_ALU_INSN;
241 ctx->Const.FragmentProgram.MaxNativeTexInstructions = I915_MAX_TEX_INSN;
242 ctx->Const.FragmentProgram.MaxNativeInstructions = (I915_MAX_ALU_INSN +
244 ctx->Const.FragmentProgram.MaxNativeTexIndirections =
246 ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */
247 ctx->Const.FragmentProgram.MaxEnvParams =
248 MIN2(ctx->Const.FragmentProgram.MaxNativeParameters,
249 ctx->Const.FragmentProgram.MaxEnvParams);
254 ctx->Const.FragmentProgram.MediumFloat.RangeMin = 127;
255 ctx->Const.FragmentProgram.MediumFloat.RangeMax = 127;
256 ctx->Const.FragmentProgram.MediumFloat.Precision = 23;
257 ctx->Const.FragmentProgram.LowFloat = ctx->Const.FragmentProgram.HighFloat =
258 ctx->Const.FragmentProgram.MediumFloat;
259 ctx->Const.FragmentProgram.MediumInt.RangeMin = 24;
260 ctx->Const.FragmentProgram.MediumInt.RangeMax = 24;
261 ctx->Const.FragmentProgram.MediumInt.Precision = 0;
262 ctx->Const.FragmentProgram.LowInt = ctx->Const.FragmentProgram.HighInt =
263 ctx->Const.FragmentProgram.MediumInt;
272 struct gl_shader_compiler_options *const fs_options =
283 ctx->Const.MaxDrawBuffers = 1;
285 _tnl_init_vertices(ctx, ctx->Const.MaxArrayLockSize + 12,