/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_scan.c | 159 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.Name == TGSI_SEMANTIC_CLIPDIST) [all...] |
tgsi_parse.h | 71 struct tgsi_declaration_semantic Semantic;
|
tgsi_parse.c | 120 if( decl->Declaration.Semantic ) { 121 next_token( ctx, &decl->Semantic );
|
tgsi_dump.c | 277 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 );
|
tgsi_build.c | 109 declaration.Semantic = 0; 123 unsigned semantic, 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, [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_scan.c | 159 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.Name == TGSI_SEMANTIC_CLIPDIST) [all...] |
tgsi_parse.h | 71 struct tgsi_declaration_semantic Semantic;
|
tgsi_parse.c | 120 if( decl->Declaration.Semantic ) { 121 next_token( ctx, &decl->Semantic );
|
tgsi_dump.c | 277 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 );
|
tgsi_build.c | 109 declaration.Semantic = 0; 123 unsigned semantic, 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, [all...] |
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 485 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/ |
radeonsi_shader.c | 485 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/ |
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/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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_pstipple.c | 213 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/ |
u_pstipple.c | 213 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/ |
draw_pipe_aaline.c | 158 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;
|
draw_pipe_aapoint.c | 139 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;
|
draw_pipe_pstipple.c | 153 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/ |
draw_pipe_aaline.c | 158 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;
|
draw_pipe_aapoint.c | 139 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/ |
nvfx_fragprog.c | 917 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) [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 917 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) [all...] |