Searched refs:Semantic (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_scan.c159 info->input_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name;
160 info->input_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index;
167 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION)
172 unsigned semName = fulldecl->Semantic.Name;
180 fulldecl->Semantic.Name;
183 if (fulldecl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID) {
186 else if (fulldecl->Semantic.Name == TGSI_SEMANTIC_VERTEXID) {
191 info->output_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name;
192 info->output_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index;
196 fulldecl->Semantic
[all...]
H A Dtgsi_parse.h71 struct tgsi_declaration_semantic Semantic; member in struct:tgsi_full_declaration
H A Dtgsi_parse.c120 if( decl->Declaration.Semantic ) {
121 next_token( ctx, &decl->Semantic );
H A Dtgsi_dump.c277 if (decl->Declaration.Semantic) {
279 ENM( decl->Semantic.Name, tgsi_semantic_names );
280 if (decl->Semantic.Index != 0 ||
281 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
283 UID( decl->Semantic.Index );
H A Dtgsi_build.c109 declaration.Semantic = 0;
138 declaration.Semantic = semantic;
337 full_declaration.Semantic = tgsi_default_declaration_semantic();
367 full_decl->Declaration.Semantic,
413 if( full_decl->Declaration.Semantic ) {
422 full_decl->Semantic.Name,
423 full_decl->Semantic.Index,
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_scan.c159 info->input_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name;
160 info->input_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index;
167 fulldecl->Semantic.Name == TGSI_SEMANTIC_POSITION)
172 unsigned semName = fulldecl->Semantic.Name;
180 fulldecl->Semantic.Name;
183 if (fulldecl->Semantic.Name == TGSI_SEMANTIC_INSTANCEID) {
186 else if (fulldecl->Semantic.Name == TGSI_SEMANTIC_VERTEXID) {
191 info->output_semantic_name[reg] = (ubyte)fulldecl->Semantic.Name;
192 info->output_semantic_index[reg] = (ubyte)fulldecl->Semantic.Index;
196 fulldecl->Semantic
[all...]
H A Dtgsi_parse.h71 struct tgsi_declaration_semantic Semantic; member in struct:tgsi_full_declaration
H A Dtgsi_parse.c120 if( decl->Declaration.Semantic ) {
121 next_token( ctx, &decl->Semantic );
H A Dtgsi_dump.c277 if (decl->Declaration.Semantic) {
279 ENM( decl->Semantic.Name, tgsi_semantic_names );
280 if (decl->Semantic.Index != 0 ||
281 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
283 UID( decl->Semantic.Index );
H A Dtgsi_build.c109 declaration.Semantic = 0;
138 declaration.Semantic = semantic;
337 full_declaration.Semantic = tgsi_default_declaration_semantic();
367 full_decl->Declaration.Semantic,
413 if( full_decl->Declaration.Semantic ) {
422 full_decl->Semantic.Name,
423 full_decl->Semantic.Index,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_vs_draw.c98 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
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs_draw.c98 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
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
H A Dradeonsi_shader.c485 shader->input[i].name = d->Semantic.Name;
486 shader->input[i].sid = d->Semantic.Index;
493 shader->output[i].name = d->Semantic.Name;
494 shader->output[i].sid = d->Semantic.Index;
504 switch(d->Semantic.Name) {
527 d->Semantic.Name);
533 (d->Semantic.Name == TGSI_SEMANTIC_POSITION) :
534 (d->Semantic.Name == TGSI_SEMANTIC_COLOR)) {
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_shader.c485 shader->input[i].name = d->Semantic.Name;
486 shader->input[i].sid = d->Semantic.Index;
493 shader->output[i].name = d->Semantic.Name;
494 shader->output[i].sid = d->Semantic.Index;
504 switch(d->Semantic.Name) {
527 d->Semantic.Name);
533 (d->Semantic.Name == TGSI_SEMANTIC_POSITION) :
534 (d->Semantic.Name == TGSI_SEMANTIC_COLOR)) {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c529 ok = ps30_sampler( emit, decl->Semantic, idx );
534 ok = vs30_input( emit, decl->Semantic, idx );
536 ok = ps30_input( emit, decl->Semantic, idx );
541 ok = vs30_output( emit, decl->Semantic, idx );
543 ok = ps30_output( emit, decl->Semantic, idx );
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c529 ok = ps30_sampler( emit, decl->Semantic, idx );
534 ok = vs30_input( emit, decl->Semantic, idx );
536 ok = ps30_input( emit, decl->Semantic, idx );
541 ok = vs30_output( emit, decl->Semantic, idx );
543 ok = ps30_output( emit, decl->Semantic, idx );
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_pstipple.c213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
302 decl.Declaration.Semantic = 1;
303 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
304 decl.Semantic.Index = 0;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_pstipple.c213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
302 decl.Declaration.Semantic = 1;
303 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
304 decl.Semantic.Index = 0;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_aaline.c158 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
159 decl->Semantic.Index == 0) {
172 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
173 (int) decl->Semantic.Index > aactx->maxGeneric) {
174 aactx->maxGeneric = decl->Semantic.Index;
241 decl.Declaration.Semantic = 1;
242 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
243 decl.Semantic.Index = aactx->maxGeneric + 1;
H A Ddraw_pipe_aapoint.c139 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
140 decl->Semantic.Index == 0) {
146 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
147 (int) decl->Semantic.Index > aactx->maxGeneric) {
148 aactx->maxGeneric = decl->Semantic.Index;
205 decl.Declaration.Semantic = 1;
206 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
207 decl.Semantic.Index = aactx->maxGeneric + 1;
H A Ddraw_pipe_pstipple.c153 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
238 decl.Declaration.Semantic = 1;
239 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
240 decl.Semantic.Index = 0;
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_aaline.c158 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
159 decl->Semantic.Index == 0) {
172 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
173 (int) decl->Semantic.Index > aactx->maxGeneric) {
174 aactx->maxGeneric = decl->Semantic.Index;
241 decl.Declaration.Semantic = 1;
242 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
243 decl.Semantic.Index = aactx->maxGeneric + 1;
H A Ddraw_pipe_aapoint.c139 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
140 decl->Semantic.Index == 0) {
146 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
147 (int) decl->Semantic.Index > aactx->maxGeneric) {
148 aactx->maxGeneric = decl->Semantic.Index;
205 decl.Declaration.Semantic = 1;
206 decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
207 decl.Semantic.Index = aactx->maxGeneric + 1;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnvfx_fragprog.c917 switch (fdec->Semantic.Name) {
922 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index;
931 if (fdec->Semantic.Index >= 8)
934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index;
935 fpc->fp->texcoords |= (1 << fdec->Semantic.Index);
936 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index);
937 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index);
956 switch (fdec->Semantic.Name) {
958 if (fdec->Semantic
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnvfx_fragprog.c917 switch (fdec->Semantic.Name) {
922 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index;
931 if (fdec->Semantic.Index >= 8)
934 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index;
935 fpc->fp->texcoords |= (1 << fdec->Semantic.Index);
936 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index);
937 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index);
956 switch (fdec->Semantic.Name) {
958 if (fdec->Semantic
[all...]

Completed in 528 milliseconds

12