Home
last modified time | relevance | path

Searched refs:Const (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c163 ctx->Const.MaxDualSourceDrawBuffers = 1; in brwCreateContext()
164 ctx->Const.MaxDrawBuffers = BRW_MAX_DRAW_BUFFERS; in brwCreateContext()
165 ctx->Const.MaxTextureImageUnits = BRW_MAX_TEX_UNIT; in brwCreateContext()
166 ctx->Const.MaxTextureCoordUnits = 8; /* Mesa limit */ in brwCreateContext()
167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits, in brwCreateContext()
168 ctx->Const.MaxTextureImageUnits); in brwCreateContext()
169 ctx->Const.MaxVertexTextureImageUnits = BRW_MAX_TEX_UNIT; in brwCreateContext()
170 ctx->Const.MaxCombinedTextureImageUnits = in brwCreateContext()
171 ctx->Const.MaxVertexTextureImageUnits + in brwCreateContext()
172 ctx->Const.MaxTextureImageUnits; in brwCreateContext()
[all …]
Dintel_context.c670 ctx->Const.MinLineWidth = 1.0; in intelInitContext()
671 ctx->Const.MinLineWidthAA = 1.0; in intelInitContext()
672 ctx->Const.MaxLineWidth = 5.0; in intelInitContext()
673 ctx->Const.MaxLineWidthAA = 5.0; in intelInitContext()
674 ctx->Const.LineWidthGranularity = 0.5; in intelInitContext()
676 ctx->Const.MinPointSize = 1.0; in intelInitContext()
677 ctx->Const.MinPointSizeAA = 1.0; in intelInitContext()
678 ctx->Const.MaxPointSize = 255.0; in intelInitContext()
679 ctx->Const.MaxPointSizeAA = 3.0; in intelInitContext()
680 ctx->Const.PointSizeGranularity = 1.0; in intelInitContext()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c213 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
214 ctx->Const.MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
215 ctx->Const.MaxTextureCoordUnits = I915_TEX_UNITS; in i915CreateContext()
216 ctx->Const.MaxVarying = I915_TEX_UNITS; in i915CreateContext()
217 ctx->Const.MaxCombinedTextureImageUnits = in i915CreateContext()
218 ctx->Const.MaxVertexTextureImageUnits + in i915CreateContext()
219 ctx->Const.MaxTextureImageUnits; in i915CreateContext()
224 ctx->Const.MaxTextureLevels = 12; in i915CreateContext()
225 ctx->Const.Max3DTextureLevels = 9; in i915CreateContext()
226 ctx->Const.MaxCubeTextureLevels = 12; in i915CreateContext()
[all …]
Di830_context.c87 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
88 intel->ctx.Const.MaxTextureImageUnits = I830_TEX_UNITS; in i830CreateContext()
89 intel->ctx.Const.MaxTextureCoordUnits = I830_TEX_UNITS; in i830CreateContext()
94 ctx->Const.MaxTextureLevels = 12; in i830CreateContext()
95 ctx->Const.Max3DTextureLevels = 9; in i830CreateContext()
96 ctx->Const.MaxCubeTextureLevels = 11; in i830CreateContext()
97 ctx->Const.MaxTextureRectSize = (1 << 11); in i830CreateContext()
98 ctx->Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
100 ctx->Const.MaxTextureMaxAnisotropy = 2.0; in i830CreateContext()
102 ctx->Const.MaxDrawBuffers = 1; in i830CreateContext()
[all …]
Dintel_context.c670 ctx->Const.MinLineWidth = 1.0; in intelInitContext()
671 ctx->Const.MinLineWidthAA = 1.0; in intelInitContext()
672 ctx->Const.MaxLineWidth = 5.0; in intelInitContext()
673 ctx->Const.MaxLineWidthAA = 5.0; in intelInitContext()
674 ctx->Const.LineWidthGranularity = 0.5; in intelInitContext()
676 ctx->Const.MinPointSize = 1.0; in intelInitContext()
677 ctx->Const.MinPointSizeAA = 1.0; in intelInitContext()
678 ctx->Const.MaxPointSize = 255.0; in intelInitContext()
679 ctx->Const.MaxPointSizeAA = 3.0; in intelInitContext()
680 ctx->Const.PointSizeGranularity = 1.0; in intelInitContext()
[all …]
/external/mesa3d/src/mesa/main/
Dcontext.c546 ctx->Const.MaxUniformBlockSize / 4 * in init_program_limits()
562 ctx->Const.MaxTextureMbytes = MAX_TEXTURE_MBYTES; in _mesa_init_constants()
563 ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS; in _mesa_init_constants()
564 ctx->Const.Max3DTextureLevels = MAX_3D_TEXTURE_LEVELS; in _mesa_init_constants()
565 ctx->Const.MaxCubeTextureLevels = MAX_CUBE_TEXTURE_LEVELS; in _mesa_init_constants()
566 ctx->Const.MaxTextureRectSize = MAX_TEXTURE_RECT_SIZE; in _mesa_init_constants()
567 ctx->Const.MaxArrayTextureLayers = MAX_ARRAY_TEXTURE_LAYERS; in _mesa_init_constants()
568 ctx->Const.MaxTextureCoordUnits = MAX_TEXTURE_COORD_UNITS; in _mesa_init_constants()
569 ctx->Const.MaxTextureImageUnits = MAX_TEXTURE_IMAGE_UNITS; in _mesa_init_constants()
570 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits, in _mesa_init_constants()
[all …]
Dget.c430 { GL_ALIASED_LINE_WIDTH_RANGE, CONTEXT_FLOAT2(Const.MinLineWidth), NO_EXTRA },
431 { GL_MAX_ELEMENTS_VERTICES, CONTEXT_INT(Const.MaxArrayLockSize), NO_EXTRA },
432 { GL_MAX_ELEMENTS_INDICES, CONTEXT_INT(Const.MaxArrayLockSize), NO_EXTRA },
434 offsetof(struct gl_context, Const.MaxTextureLevels), NO_EXTRA },
435 { GL_MAX_VIEWPORT_DIMS, CONTEXT_INT2(Const.MaxViewportWidth), NO_EXTRA },
437 { GL_ALIASED_POINT_SIZE_RANGE, CONTEXT_FLOAT2(Const.MinPointSize), NO_EXTRA },
454 { GL_SUBPIXEL_BITS, CONTEXT_INT(Const.SubPixelBits), NO_EXTRA },
472 offsetof(struct gl_context, Const.MaxCubeTextureLevels),
531 { GL_MAX_RENDERBUFFER_SIZE_EXT, CONTEXT_INT(Const.MaxRenderbufferSize),
536 { GL_MAX_CLIP_PLANES, CONTEXT_INT(Const.MaxClipPlanes), NO_EXTRA },
[all …]
Dversion.c74 n = sscanf(version, "%u", &ctx->Const.GLSLVersion); in _mesa_override_glsl_version()
125 ctx->Const.GLSLVersion >= 120 && in compute_version()
129 ctx->Const.GLSLVersion >= 130 && in compute_version()
130 ctx->Const.MaxSamples >= 4 && in compute_version()
149 ctx->Const.GLSLVersion >= 140 && in compute_version()
157 ctx->Const.MaxVertexTextureImageUnits >= 16); in compute_version()
159 ctx->Const.GLSLVersion >= 150 && in compute_version()
170 ctx->Const.GLSLVersion >= 330 && in compute_version()
Dtexenv.c236 param - GL_TEXTURE0 < ctx->Const.MaxTextureUnits); in set_combiner_source()
400 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_TexEnvfv()
455 if (!((1 << (iparam0 - GL_TEXTURE0)) & ctx->Const.SupportedBumpUnits)) { in _mesa_TexEnvfv()
673 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_GetTexEnvfv()
737 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_GetTexEnviv()
887 for (i = 0; i < ctx->Const.MaxTextureImageUnits; i++) { in _mesa_GetTexBumpParameterivATI()
888 if (ctx->Const.SupportedBumpUnits & (1 << i)) { in _mesa_GetTexBumpParameterivATI()
895 for (i = 0; i < ctx->Const.MaxTextureImageUnits; i++) { in _mesa_GetTexBumpParameterivATI()
896 if (ctx->Const.SupportedBumpUnits & (1 << i)) { in _mesa_GetTexBumpParameterivATI()
937 for (i = 0; i < ctx->Const.MaxTextureImageUnits; i++) { in _mesa_GetTexBumpParameterfvATI()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c306 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
308 ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
309 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
311 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
313 ctx->Const.StripTextureBorder = GL_TRUE; in r200CreateContext()
319 ctx->Const.MaxTextureLevels = 12; in r200CreateContext()
320 ctx->Const.Max3DTextureLevels = 9; in r200CreateContext()
321 ctx->Const.MaxCubeTextureLevels = 12; in r200CreateContext()
322 ctx->Const.MaxTextureRectSize = 2048; in r200CreateContext()
323 ctx->Const.MaxRenderbufferSize = 2048; in r200CreateContext()
[all …]
/external/mesa3d/src/glsl/
Dstandalone_scaffolding.cpp84 ctx->Const.GLSLVersion = 120; in initialize_context_to_defaults()
87 ctx->Const.MaxLights = 8; in initialize_context_to_defaults()
88 ctx->Const.MaxClipPlanes = 6; in initialize_context_to_defaults()
89 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
90 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context_to_defaults()
91 ctx->Const.VertexProgram.MaxAttribs = 16; in initialize_context_to_defaults()
93 ctx->Const.VertexProgram.MaxUniformComponents = 512; in initialize_context_to_defaults()
94 ctx->Const.MaxVarying = 8; /* == gl_MaxVaryingFloats / 4 */ in initialize_context_to_defaults()
95 ctx->Const.MaxVertexTextureImageUnits = 0; in initialize_context_to_defaults()
96 ctx->Const.MaxCombinedTextureImageUnits = 2; in initialize_context_to_defaults()
[all …]
Dglsl_parser_extras.cpp74 this->Const.MaxLights = ctx->Const.MaxLights; in _mesa_glsl_parse_state()
75 this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes; in _mesa_glsl_parse_state()
76 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
77 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; in _mesa_glsl_parse_state()
78 this->Const.MaxVertexAttribs = ctx->Const.VertexProgram.MaxAttribs; in _mesa_glsl_parse_state()
79 this->Const.MaxVertexUniformComponents = ctx->Const.VertexProgram.MaxUniformComponents; in _mesa_glsl_parse_state()
80 this->Const.MaxVaryingFloats = ctx->Const.MaxVarying * 4; in _mesa_glsl_parse_state()
81 this->Const.MaxVertexTextureImageUnits = ctx->Const.MaxVertexTextureImageUnits; in _mesa_glsl_parse_state()
82 this->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxCombinedTextureImageUnits; in _mesa_glsl_parse_state()
83 this->Const.MaxTextureImageUnits = ctx->Const.MaxTextureImageUnits; in _mesa_glsl_parse_state()
[all …]
Dbuiltin_variables.cpp512 state->Const.MaxVertexAttribs); in generate_100ES_uniforms()
514 state->Const.MaxVertexUniformComponents); in generate_100ES_uniforms()
516 state->Const.MaxVaryingFloats / 4); in generate_100ES_uniforms()
518 state->Const.MaxVertexTextureImageUnits); in generate_100ES_uniforms()
520 state->Const.MaxCombinedTextureImageUnits); in generate_100ES_uniforms()
522 state->Const.MaxTextureImageUnits); in generate_100ES_uniforms()
524 state->Const.MaxFragmentUniformComponents); in generate_100ES_uniforms()
548 state->Const.MaxLights); in generate_110_uniforms()
550 state->Const.MaxClipPlanes); in generate_110_uniforms()
552 state->Const.MaxTextureUnits); in generate_110_uniforms()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c269 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r100CreateContext()
271 ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
272 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
273 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
275 ctx->Const.StripTextureBorder = GL_TRUE; in r100CreateContext()
281 ctx->Const.MaxTextureLevels = 12; in r100CreateContext()
282 ctx->Const.Max3DTextureLevels = 9; in r100CreateContext()
283 ctx->Const.MaxCubeTextureLevels = 12; in r100CreateContext()
284 ctx->Const.MaxTextureRectSize = 2048; in r100CreateContext()
286 ctx->Const.MaxTextureMaxAnisotropy = 16.0; in r100CreateContext()
[all …]
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
Dp2.cpp6 struct Const { struct
7Const(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move…
8Const& operator=(const Const&&) = default; // expected-error {{the parameter for an explicitly-def…
35 struct Const { struct
36 Const(const Const&) = default;
37 Const& operator=(const Const&) = default;
/external/libunwind/doc/
Dlibunwind-ia64.tex25 macro \Const{UNW\_TARGET\_IA64} as 1 and the macro \Const{UNW\_TARGET}
51 call will fail with a return-value of \texttt{-}\Const{UNW\_EBADREG}.
85 \item[\Const{UNW\_IA64\_IP}:] Contains the instruction pointer (IP, or
89 instruction pointed to by \Const{UNW\_IA64\_IP}. Bits 0 and 1 of
94 \item[\Const{UNW\_IA64\_SP}:] Contains the (memory) stack-pointer
96 \item[\Const{UNW\_IA64\_BSP}:] Contains the register backing-store
99 instruction at \Const{UNW\_IA64\_IP} was about to begin execution.
107 \item[\Const{UNW\_IA64\_GR}:] The base-index for general (integer)
110 the index \Const{UNW\_IA64\_GR}\texttt{+4} should be used.
113 (\texttt{-}\Const{UNW\_EREADONLYREG}). Even though \texttt{r1} is
[all …]
Dlibunwind.trans19 $manMacro1a{'Const'} = $manMacro1a{File};
20 $manMacro1b{'Const'} = $manMacro1b{File};
21 $htmlMacro1a{'Const'} = $htmlMacro1a{File};
22 $htmlMacro1b{'Const'} = $htmlMacro1b{File};
23 $texiMacro1a{'Const'} = $texiMacro1a{File};
24 $texiMacro1b{'Const'} = $texiMacro1b{File};
Dunw_step.tex37 \item[\Const{UNW\_EUNSPEC}] An unspecified error occurred.
38 \item[\Const{UNW\_ENOINFO}] \Prog{Libunwind} was unable to locate the
40 \item[\Const{UNW\_EBADVERSION}] The unwind-info needed to complete the
43 \item[\Const{UNW\_EINVALIDIP}] The instruction-pointer
46 \item[\Const{UNW\_EBADFRAME}] The next stack frame is invalid.
47 \item[\Const{UNW\_ESTOPUNWIND}] Returned if a call to
48 \Func{find\_proc\_info}() returned -\Const{UNW\_ESTOPUNWIND}.
Dunw_set_caching_policy.tex24 \item[\Const{UNW\_CACHE\_NONE}] Turns off caching completely. This
27 \item[\Const{UNW\_CACHE\_GLOBAL}] Enables caching using a global cache
30 cache, as if \Const{UNW\_CACHE\_PER\_THREAD} had been specified.
31 \item[\Const{UNW\_CACHE\_PER\_THREAD}] Enables caching using
34 as if \Const{UNW\_CACHE\_GLOBAL} had been specified.
62 \item[\Const{UNW\_ENOMEM}] The desired caching policy could not be
/external/libdrm/intel/tests/
Dgen6-3d.batch-ref.txt98 … 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 0 (Ov…
99 … 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 2 (Ov…
100 … 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 4 (Ov…
101 … 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 6 (Ov…
102 … 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 8 (Ov…
103 … 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 10 (Ov…
104 … 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 12 (Ov…
105 … 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 14 (Ov…
107 0x123001a8: 0x00000000: Const Interp Enable
221 … 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); Attrib 0 (Ov…
[all …]
/external/valgrind/VEX/priv/
Dir_opt.c376 if (ex->Iex.Const.con->tag == Ico_F64i) { in flatten_Expr()
379 IRExpr_Const(ex->Iex.Const.con))); in flatten_Expr()
1094 IRConst *c1 = e1->Iex.Const.con; in sameIRExprs_aux2()
1095 IRConst *c2 = e2->Iex.Const.con; in sameIRExprs_aux2()
1170 IRConst *c1 = e1->Iex.Const.con; in debug_only_hack_sameIRExprs_might_assert()
1171 IRConst *c2 = e2->Iex.Const.con; in debug_only_hack_sameIRExprs_might_assert()
1185 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
1186 && e->Iex.Const.con->Ico.U32 == 0); in isZeroU32()
1195 && e->Iex.Const.con->tag == Ico_U64
1196 && e->Iex.Const.con->Ico.U64 == 0);
[all …]
/external/clang/test/SemaTemplate/
Dalias-church-numerals.cpp29 template<typename T, T N> struct Const { static const T value = N; }; argument
31 template<typename T, T N> struct IncrementHelper<Const<T, N>> { using Result = Const<T, N+1>; };
34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.c670 ctx->Const.MinLineWidth = 1.0; in intelInitContext()
671 ctx->Const.MinLineWidthAA = 1.0; in intelInitContext()
672 ctx->Const.MaxLineWidth = 5.0; in intelInitContext()
673 ctx->Const.MaxLineWidthAA = 5.0; in intelInitContext()
674 ctx->Const.LineWidthGranularity = 0.5; in intelInitContext()
676 ctx->Const.MinPointSize = 1.0; in intelInitContext()
677 ctx->Const.MinPointSizeAA = 1.0; in intelInitContext()
678 ctx->Const.MaxPointSize = 255.0; in intelInitContext()
679 ctx->Const.MaxPointSizeAA = 3.0; in intelInitContext()
680 ctx->Const.PointSizeGranularity = 1.0; in intelInitContext()
[all …]
/external/mesa3d/src/mesa/program/
Dprogram.c61 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents / 4 in _mesa_init_program()
63 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents / 4 in _mesa_init_program()
66 ASSERT(ctx->Const.VertexProgram.MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
67 ASSERT(ctx->Const.VertexProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
68 ASSERT(ctx->Const.FragmentProgram.MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
69 ASSERT(ctx->Const.FragmentProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
71 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program()
72 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program()
74 ASSERT(ctx->Const.VertexProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
75 ASSERT(ctx->Const.FragmentProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c71 struct gl_constants *c = &st->ctx->Const; in st_init_limits()
564 ctx->Const.GLSLVersion = 130; in st_init_extensions()
566 ctx->Const.GLSLVersion = 120; in st_init_extensions()
571 if (ctx->Const.GLSLVersion >= 130) { in st_init_extensions()
572 ctx->Const.NativeIntegers = GL_TRUE; in st_init_extensions()
573 ctx->Const.MaxClipPlanes = 8; in st_init_extensions()
584 ctx->Const.NativeIntegers = GL_TRUE; in st_init_extensions()
604 ctx->Const.PrimitiveRestartInSoftware = GL_TRUE; in st_init_extensions()
628 ctx->Const.MaxSamples = i; in st_init_extensions()
632 if (ctx->Const.MaxSamples == 1) { in st_init_extensions()
[all …]

12345678910