Home
last modified time | relevance | path

Searched refs:Semantic (Results 1 – 25 of 66) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c159 info->input_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name; in tgsi_scan_shader()
160 info->input_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index; in tgsi_scan_shader()
167 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION) in tgsi_scan_shader()
172 unsigned semName = fulldecl->Semantic.Name; in tgsi_scan_shader()
183 if (fulldecl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID) { in tgsi_scan_shader()
186 else if (fulldecl->Semantic.Name == TGSI_SEMANTIC_VERTEXID) { in tgsi_scan_shader()
191 info->output_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name; in tgsi_scan_shader()
192 info->output_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index; in tgsi_scan_shader()
196 fulldecl->Semantic.Name == TGSI_SEMANTIC_CLIPDIST) { in tgsi_scan_shader()
201 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION) in tgsi_scan_shader()
[all …]
Dtgsi_dump.c277 if (decl->Declaration.Semantic) { in iter_declaration()
279 ENM( decl->Semantic.Name, tgsi_semantic_names ); in iter_declaration()
280 if (decl->Semantic.Index != 0 || in iter_declaration()
281 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) { in iter_declaration()
283 UID( decl->Semantic.Index ); in iter_declaration()
Dtgsi_build.c109 declaration.Semantic = 0; in tgsi_default_declaration()
138 declaration.Semantic = semantic; in tgsi_build_declaration()
337 full_declaration.Semantic = tgsi_default_declaration_semantic(); in tgsi_default_full_declaration()
367 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
413 if( full_decl->Declaration.Semantic ) { in tgsi_build_full_declaration()
422 full_decl->Semantic.Name, in tgsi_build_full_declaration()
423 full_decl->Semantic.Index, in tgsi_build_full_declaration()
Dtgsi_parse.c120 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c159 info->input_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name; in tgsi_scan_shader()
160 info->input_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index; in tgsi_scan_shader()
167 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION) in tgsi_scan_shader()
172 unsigned semName = fulldecl->Semantic.Name; in tgsi_scan_shader()
183 if (fulldecl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID) { in tgsi_scan_shader()
186 else if (fulldecl->Semantic.Name == TGSI_SEMANTIC_VERTEXID) { in tgsi_scan_shader()
191 info->output_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name; in tgsi_scan_shader()
192 info->output_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index; in tgsi_scan_shader()
196 fulldecl->Semantic.Name == TGSI_SEMANTIC_CLIPDIST) { in tgsi_scan_shader()
201 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION) in tgsi_scan_shader()
[all …]
Dtgsi_dump.c277 if (decl->Declaration.Semantic) { in iter_declaration()
279 ENM( decl->Semantic.Name, tgsi_semantic_names ); in iter_declaration()
280 if (decl->Semantic.Index != 0 || in iter_declaration()
281 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) { in iter_declaration()
283 UID( decl->Semantic.Index ); in iter_declaration()
Dtgsi_build.c109 declaration.Semantic = 0; in tgsi_default_declaration()
138 declaration.Semantic = semantic; in tgsi_build_declaration()
337 full_declaration.Semantic = tgsi_default_declaration_semantic(); in tgsi_default_full_declaration()
367 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
413 if( full_decl->Declaration.Semantic ) { in tgsi_build_full_declaration()
422 full_decl->Semantic.Name, in tgsi_build_full_declaration()
423 full_decl->Semantic.Index, in tgsi_build_full_declaration()
Dtgsi_parse.c120 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
Dtgsi_parse.h71 struct tgsi_declaration_semantic Semantic; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c98 decl.Declaration.Semantic = TRUE; in emit_output()
99 decl.Semantic.Name = name; in emit_output()
100 decl.Semantic.Index = index; in emit_output()
152 switch (decl->Semantic.Name) { in transform_decl()
158 assert(decl->Semantic.Index < 2); in transform_decl()
163 if (decl->Semantic.Index == 1 && !vsctx->color_used[0]) { in transform_decl()
171 assert(decl->Semantic.Index < 2); in transform_decl()
186 if (decl->Semantic.Index == 1 && !vsctx->bcolor_used[0]) { in transform_decl()
194 vsctx->last_generic = MAX2(vsctx->last_generic, decl->Semantic.Index); in transform_decl()
215 decl->Semantic.Name == TGSI_SEMANTIC_BCOLOR && in transform_decl()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_vs_draw.c98 decl.Declaration.Semantic = TRUE; in emit_output()
99 decl.Semantic.Name = name; in emit_output()
100 decl.Semantic.Index = index; in emit_output()
152 switch (decl->Semantic.Name) { in transform_decl()
158 assert(decl->Semantic.Index < 2); in transform_decl()
163 if (decl->Semantic.Index == 1 && !vsctx->color_used[0]) { in transform_decl()
171 assert(decl->Semantic.Index < 2); in transform_decl()
186 if (decl->Semantic.Index == 1 && !vsctx->bcolor_used[0]) { in transform_decl()
194 vsctx->last_generic = MAX2(vsctx->last_generic, decl->Semantic.Index); in transform_decl()
215 decl->Semantic.Name == TGSI_SEMANTIC_BCOLOR && in transform_decl()
/external/clang/test/Misc/
Dserialized-diags.m20 …-diags.m:8:4: error: use of undeclared identifier '_self'; did you mean 'self'? [] [Semantic Issue]
26 …: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] [Semantic Issue]
28 …{{.*[/\\]}}serialized-diags.m:1:15: note: add a super class to fix this problem [] [Semantic Issue]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c485 shader->input[i].name = d->Semantic.Name; in si_llvm_emit_epilogue()
486 shader->input[i].sid = d->Semantic.Index; in si_llvm_emit_epilogue()
493 shader->output[i].name = d->Semantic.Name; in si_llvm_emit_epilogue()
494 shader->output[i].sid = d->Semantic.Index; in si_llvm_emit_epilogue()
504 switch(d->Semantic.Name) { in si_llvm_emit_epilogue()
527 d->Semantic.Name); in si_llvm_emit_epilogue()
533 (d->Semantic.Name == TGSI_SEMANTIC_POSITION) : in si_llvm_emit_epilogue()
534 (d->Semantic.Name == TGSI_SEMANTIC_COLOR)) { in si_llvm_emit_epilogue()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c485 shader->input[i].name = d->Semantic.Name; in si_llvm_emit_epilogue()
486 shader->input[i].sid = d->Semantic.Index; in si_llvm_emit_epilogue()
493 shader->output[i].name = d->Semantic.Name; in si_llvm_emit_epilogue()
494 shader->output[i].sid = d->Semantic.Index; in si_llvm_emit_epilogue()
504 switch(d->Semantic.Name) { in si_llvm_emit_epilogue()
527 d->Semantic.Name); in si_llvm_emit_epilogue()
533 (d->Semantic.Name == TGSI_SEMANTIC_POSITION) : in si_llvm_emit_epilogue()
534 (d->Semantic.Name == TGSI_SEMANTIC_COLOR)) { in si_llvm_emit_epilogue()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c529 ok = ps30_sampler( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
534 ok = vs30_input( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
536 ok = ps30_input( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
541 ok = vs30_output( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
543 ok = ps30_output( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_decl_sm30.c529 ok = ps30_sampler( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
534 ok = vs30_input( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
536 ok = ps30_input( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
541 ok = vs30_output( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
543 ok = ps30_output( emit, decl->Semantic, idx ); in svga_translate_decl_sm30()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) in pstip_transform_decl()
302 decl.Declaration.Semantic = 1; in pstip_transform_inst()
303 decl.Semantic.Name = TGSI_SEMANTIC_POSITION; in pstip_transform_inst()
304 decl.Semantic.Index = 0; in pstip_transform_inst()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_pstipple.c213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) in pstip_transform_decl()
302 decl.Declaration.Semantic = 1; in pstip_transform_inst()
303 decl.Semantic.Name = TGSI_SEMANTIC_POSITION; in pstip_transform_inst()
304 decl.Semantic.Index = 0; in pstip_transform_inst()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnvfx_fragprog.c917 switch (fdec->Semantic.Name) { in nvfx_fragprog_parse_decl_input()
922 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
931 if (fdec->Semantic.Index >= 8) in nvfx_fragprog_parse_decl_input()
934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
935 fpc->fp->texcoords |= (1 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
936 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
937 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
956 switch (fdec->Semantic.Name) { in nvfx_fragprog_assign_generic()
958 if (fdec->Semantic.Index >= 8) { in nvfx_fragprog_assign_generic()
961 fpc->fp->texcoord[hw] = fdec->Semantic.Index; in nvfx_fragprog_assign_generic()
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnvfx_fragprog.c917 switch (fdec->Semantic.Name) { in nvfx_fragprog_parse_decl_input()
922 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
931 if (fdec->Semantic.Index >= 8) in nvfx_fragprog_parse_decl_input()
934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
935 fpc->fp->texcoords |= (1 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
936 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
937 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
956 switch (fdec->Semantic.Name) { in nvfx_fragprog_assign_generic()
958 if (fdec->Semantic.Index >= 8) { in nvfx_fragprog_assign_generic()
961 fpc->fp->texcoord[hw] = fdec->Semantic.Index; in nvfx_fragprog_assign_generic()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_pipe_aaline.c158 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
159 decl->Semantic.Index == 0) { in aa_transform_decl()
172 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
173 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
174 aactx->maxGeneric = decl->Semantic.Index; in aa_transform_decl()
241 decl.Declaration.Semantic = 1; in aa_transform_inst()
242 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC; in aa_transform_inst()
243 decl.Semantic.Index = aactx->maxGeneric + 1; in aa_transform_inst()
Ddraw_pipe_aapoint.c139 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
140 decl->Semantic.Index == 0) { in aa_transform_decl()
146 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
147 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
148 aactx->maxGeneric = decl->Semantic.Index; in aa_transform_decl()
205 decl.Declaration.Semantic = 1; in aa_transform_inst()
206 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC; in aa_transform_inst()
207 decl.Semantic.Index = aactx->maxGeneric + 1; in aa_transform_inst()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c139 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
140 decl->Semantic.Index == 0) { in aa_transform_decl()
146 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
147 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
148 aactx->maxGeneric = decl->Semantic.Index; in aa_transform_decl()
205 decl.Declaration.Semantic = 1; in aa_transform_inst()
206 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC; in aa_transform_inst()
207 decl.Semantic.Index = aactx->maxGeneric + 1; in aa_transform_inst()
Ddraw_pipe_aaline.c158 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
159 decl->Semantic.Index == 0) { in aa_transform_decl()
172 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
173 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
174 aactx->maxGeneric = decl->Semantic.Index; in aa_transform_decl()
241 decl.Declaration.Semantic = 1; in aa_transform_inst()
242 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC; in aa_transform_inst()
243 decl.Semantic.Index = aactx->maxGeneric + 1; in aa_transform_inst()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp487 Expr *Semantic = *it; in VisitPseudoObjectExpr() local
488 if (OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Semantic)) in VisitPseudoObjectExpr()
489 Semantic = OVE->getSourceExpr(); in VisitPseudoObjectExpr()
490 Visit(Semantic); in VisitPseudoObjectExpr()

123