HomeSort by relevance Sort by last modified time
    Searched refs:Semantic (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/swiftshader/src/Shader/
VertexShader.hpp 43 void setInput(int inputIdx, const Semantic& semantic, AttribType attribType = ATTRIBTYPE_FLOAT);
44 void setOutput(int outputIdx, int nbComponents, const Semantic& semantic);
50 const Semantic& getInput(int inputIdx) const;
51 const Semantic& getOutput(int outputIdx, int component) const;
64 Semantic input[MAX_VERTEX_INPUTS];
65 Semantic output[MAX_VERTEX_OUTPUTS][4];
PixelShader.hpp 39 void setInput(int inputIdx, int nbComponents, const Semantic& semantic);
40 const Semantic& getInput(int inputIdx, int component) const;
53 Semantic input[MAX_FRAGMENT_INPUTS][4];
VertexShader.cpp 35 input[i] = Semantic();
72 input[i] = Semantic();
160 void VertexShader::setInput(int inputIdx, const sw::Shader::Semantic& semantic, AttribType aType)
162 input[inputIdx] = semantic;
166 void VertexShader::setOutput(int outputIdx, int nbComponents, const sw::Shader::Semantic& semantic)
170 output[outputIdx][i] = semantic;
176 setOutput(posReg, 4, sw::Shader::Semantic(sw::Shader::USAGE_POSITION, 0));
182 setOutput(ptSizeReg, 4, sw::Shader::Semantic(sw::Shader::USAGE_PSIZE, 0))
    [all...]
PixelShader.cpp 141 void PixelShader::setInput(int inputIdx, int nbComponents, const sw::Shader::Semantic& semantic)
145 input[inputIdx][i] = semantic;
149 const sw::Shader::Semantic& PixelShader::getInput(int inputIdx, int component) const
204 input[0][0] = Semantic(Shader::USAGE_COLOR, 0);
205 input[0][1] = Semantic(Shader::USAGE_COLOR, 0);
206 input[0][2] = Semantic(Shader::USAGE_COLOR, 0);
207 input[0][3] = Semantic(Shader::USAGE_COLOR, 0);
209 input[1][0] = Semantic(Shader::USAGE_COLOR, 1);
210 input[1][1] = Semantic(Shader::USAGE_COLOR, 1)
    [all...]
Shader.hpp 586 struct Semantic
588 Semantic(unsigned char usage = 0xFF, unsigned char index = 0xFF, bool flat = false) : usage(usage), index(index), centroid(false), flat(flat)
592 bool operator==(const Semantic &semantic) const
594 return usage == semantic.usage && index == semantic.index;
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_two_side.c 77 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) {
79 assert(decl->Semantic.Index < 2);
80 ts->front_color_input[decl->Semantic.Index] = decl->Range.First;
81 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate;
83 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) {
111 decl.Declaration.Semantic = 1;
112 decl.Semantic.Name = TGSI_SEMANTIC_BCOLOR;
113 decl.Semantic.Index = i;
136 decl.Declaration.Semantic = 1;
137 decl.Semantic.Name = TGSI_SEMANTIC_FACE
    [all...]
tgsi_emulate.c 77 decl.Declaration.Semantic = true;
79 decl.Semantic.Name = TGSI_SEMANTIC_EDGEFLAG;
80 decl.Semantic.Index = 0;
121 unsigned semantic; local
127 semantic =
130 if (semantic == TGSI_SEMANTIC_COLOR ||
131 semantic == TGSI_SEMANTIC_BCOLOR)
tgsi_dump.c 299 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH ||
300 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER ||
301 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER ||
302 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID;
353 if (decl->Declaration.Semantic) {
355 ENM( decl->Semantic.Name, tgsi_semantic_names );
356 if (decl->Semantic.Index != 0 ||
357 decl->Semantic.Name == TGSI_SEMANTIC_TEXCOORD ||
358 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
360 UID( decl->Semantic.Index )
    [all...]
tgsi_point_sprite.c 94 unsigned point_coord_aa; // aa point coord semantic index
99 int max_generic; // max generic semantic index
119 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
122 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
127 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
130 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
133 else if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
134 decl->Semantic.Index < 32) {
135 ts->point_coord_decl |= 1 << decl->Semantic.Index;
136 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index)
    [all...]
tgsi_parse.h 66 struct tgsi_declaration_semantic Semantic;
tgsi_scan.c 455 unsigned semName = fulldecl->Semantic.Name;
456 unsigned semIndex = fulldecl->Semantic.Index +
552 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamX;
553 info->num_stream_output_components[fulldecl->Semantic.StreamX]++;
556 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamY << 2;
557 info->num_stream_output_components[fulldecl->Semantic.StreamY]++;
560 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamZ << 4;
561 info->num_stream_output_components[fulldecl->Semantic.StreamZ]++;
564 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamW << 6;
565 info->num_stream_output_components[fulldecl->Semantic.StreamW]++
    [all...]
tgsi_transform.h 141 decl.Declaration.Semantic = 1;
142 decl.Semantic.Name = sem_name;
143 decl.Semantic.Index = sem_index;
162 decl.Declaration.Semantic = 1;
163 decl.Semantic.Name = sem_name;
164 decl.Semantic.Index = sem_index;
tgsi_build.c 109 declaration.Semantic = 0;
126 unsigned semantic,
144 declaration.Semantic = semantic;
384 full_declaration.Semantic = tgsi_default_declaration_semantic();
414 full_decl->Declaration.Semantic,
463 if( full_decl->Declaration.Semantic ) {
472 full_decl->Semantic.Name,
473 full_decl->Semantic.Index,
474 full_decl->Semantic.StreamX
    [all...]
tgsi_aa_point.c 68 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
69 decl->Semantic.Index == 0) {
260 *\param aa_point_coord_index -- the semantic index of the generic register
tgsi_parse.c 120 if (decl->Declaration.Semantic) {
121 next_token( ctx, &decl->Semantic );
tgsi_sanity.c 413 uint patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH ||
414 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER ||
415 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER;
  /external/mesa3d/src/gallium/drivers/r300/
r300_vs_draw.c 98 decl.Declaration.Semantic = TRUE;
99 decl.Semantic.Name = name;
100 decl.Semantic.Index = index;
152 switch (decl->Semantic.Name) {
158 assert(decl->Semantic.Index < 2);
163 if (decl->Semantic.Index == 1 && !vsctx->color_used[0]) {
171 assert(decl->Semantic.Index < 2);
186 if (decl->Semantic.Index == 1 && !vsctx->bcolor_used[0]) {
194 vsctx->last_generic = MAX2(vsctx->last_generic, decl->Semantic.Index);
215 decl->Semantic.Name == TGSI_SEMANTIC_BCOLOR &
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_pstipple.c 212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
287 decl.Declaration.Semantic = 1;
288 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
  /external/mesa3d/src/gallium/drivers/svga/
svga_tgsi_decl_sm30.c 35 * Translate TGSI semantic info into SVGA3d semantic info.
40 struct tgsi_declaration_semantic semantic,
44 switch (semantic.Name) {
46 *idx = semantic.Index;
50 *idx = semantic.Index;
54 *idx = semantic.Index + 2; /* sharing with COLOR */
59 assert(semantic.Index == 0);
63 *idx = semantic.Index;
68 semantic.Index)
    [all...]
  /external/swiftshader/src/Renderer/
SetupProcessor.cpp 132 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component - project); local
134 if(semantic.active())
139 if(semantic == context->vertexShader->getOutput(i, component - project))
148 switch(semantic.usage)
151 case Shader::USAGE_COLOR: flat = semantic.flat || flatShading; break;
166 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component); local
168 switch(semantic.usage)
173 state.gradient[interpolant][component].attribute = T0 + semantic.index
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_aapoint.c 138 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
139 decl->Semantic.Index == 0) {
145 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
146 (int) decl->Semantic.Index > aactx->maxGeneric) {
147 aactx->maxGeneric = decl->Semantic.Index;
  /external/mesa3d/src/gallium/drivers/nouveau/nv30/
nvfx_fragprog.c 890 switch (fdec->Semantic.Name) {
895 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index;
904 assert(fdec->Semantic.Index < 8);
905 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index;
906 fpc->fp->texcoords |= (1 << fdec->Semantic.Index);
907 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index);
908 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index);
931 switch (fdec->Semantic.Name) {
942 if (fdec->Semantic.Name == TGSI_SEMANTIC_PCOORD)
    [all...]
  /external/clang/lib/Analysis/
AnalysisDeclContext.cpp 541 Expr *Semantic = *it;
542 if (OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Semantic))
543 Semantic = OVE->getSourceExpr();
544 Visit(Semantic);
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_shader.c 422 if (decl->Declaration.Semantic &&
423 decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
427 if (decl->Declaration.Semantic &&
428 decl->Semantic.Name == TGSI_SEMANTIC_EDGEFLAG)
440 if (decl->Declaration.Semantic &&
441 decl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID)
443 if (decl->Declaration.Semantic &&
444 decl->Semantic.Name == TGSI_SEMANTIC_VERTEXID)
1079 int semantic, int index)
1084 if (semantics[i] == semantic && indices[i] == index
1193 const int semantic = kernel->in.semantic_names[dst_slot]; local
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
en.stg 242 <if(disabled)><\n>As a result, alternative(s) <disabled; separator=","> were disabled for that input<endif><if(hasPredicateBlockedByAction)><\n>Semantic predicates were present but were hidden by actions.<endif>
254 Input such as "<upon>" is insufficiently covered with predicates at locations: <altToLocations.keys:{alt|alt <alt>: <altToLocations.(alt):{loc| line <loc.line>:<loc.column> at <loc.text>}; separator=", ">}; separator=", "><if(hasPredicateBlockedByAction)><\n>Semantic predicates were present but were hidden by actions.<endif>
284 <if(disabled)><\n>As a result, token(s) <disabled; separator=","> were disabled for that input<endif><if(hasPredicateBlockedByAction)><\n>Semantic predicates were present but were hidden by actions.<endif>

Completed in 662 milliseconds

1 2 3