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

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_two_side.c78 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) {
80 assert(decl->Semantic.Index < 2);
81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First;
82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate;
84 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) {
112 decl.Declaration.Semantic = 1;
113 decl.Semantic.Name = TGSI_SEMANTIC_BCOLOR;
114 decl.Semantic.Index = i;
137 decl.Declaration.Semantic = 1;
138 decl.Semantic
[all...]
H A Dtgsi_emulate.c77 decl.Declaration.Semantic = true;
79 decl.Semantic.Name = TGSI_SEMANTIC_EDGEFLAG;
80 decl.Semantic.Index = 0;
H A Dtgsi_dump.c303 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH ||
304 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER ||
305 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER ||
306 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID;
357 if (decl->Declaration.Semantic) {
359 ENM( decl->Semantic.Name, tgsi_semantic_names );
360 if (decl->Semantic.Index != 0 ||
361 decl->Semantic.Name == TGSI_SEMANTIC_TEXCOORD ||
362 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
364 UID( decl->Semantic
[all...]
H A Dtgsi_point_sprite.c120 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
123 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
128 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
131 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
134 else if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
135 decl->Semantic.Index < 32) {
136 ts->point_coord_decl |= 1 << decl->Semantic.Index;
137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index);
H A Dtgsi_parse.h66 struct tgsi_declaration_semantic Semantic; member in struct:tgsi_full_declaration
H A Dtgsi_build.c109 declaration.Semantic = 0;
144 declaration.Semantic = semantic;
395 full_declaration.Semantic = tgsi_default_declaration_semantic();
425 full_decl->Declaration.Semantic,
474 if( full_decl->Declaration.Semantic ) {
483 full_decl->Semantic.Name,
484 full_decl->Semantic.Index,
485 full_decl->Semantic.StreamX,
486 full_decl->Semantic.StreamY,
487 full_decl->Semantic
[all...]
H A Dtgsi_scan.c608 unsigned semName = fulldecl->Semantic.Name;
609 unsigned semIndex = fulldecl->Semantic.Index +
718 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamX;
719 info->num_stream_output_components[fulldecl->Semantic.StreamX]++;
722 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamY << 2;
723 info->num_stream_output_components[fulldecl->Semantic.StreamY]++;
726 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamZ << 4;
727 info->num_stream_output_components[fulldecl->Semantic.StreamZ]++;
730 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamW << 6;
731 info->num_stream_output_components[fulldecl->Semantic
[all...]
H A Dtgsi_transform.h143 decl.Declaration.Semantic = 1;
144 decl.Semantic.Name = sem_name;
145 decl.Semantic.Index = sem_index;
164 decl.Declaration.Semantic = 1;
165 decl.Semantic.Name = sem_name;
166 decl.Semantic.Index = sem_index;
H A Dtgsi_aa_point.c68 decl->Semantic.Name == TGSI_SEMANTIC_COLOR &&
69 decl->Semantic.Index == 0) {
H A Dtgsi_parse.c124 if (decl->Declaration.Semantic) {
125 next_token( ctx, &decl->Semantic );
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_two_side.c78 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) {
80 assert(decl->Semantic.Index < 2);
81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First;
82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate;
84 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) {
112 decl.Declaration.Semantic = 1;
113 decl.Semantic.Name = TGSI_SEMANTIC_BCOLOR;
114 decl.Semantic.Index = i;
137 decl.Declaration.Semantic = 1;
138 decl.Semantic
[all...]
H A Dtgsi_emulate.c77 decl.Declaration.Semantic = true;
79 decl.Semantic.Name = TGSI_SEMANTIC_EDGEFLAG;
80 decl.Semantic.Index = 0;
H A Dtgsi_dump.c303 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH ||
304 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER ||
305 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER ||
306 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID;
357 if (decl->Declaration.Semantic) {
359 ENM( decl->Semantic.Name, tgsi_semantic_names );
360 if (decl->Semantic.Index != 0 ||
361 decl->Semantic.Name == TGSI_SEMANTIC_TEXCOORD ||
362 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
364 UID( decl->Semantic
[all...]
H A Dtgsi_point_sprite.c120 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
123 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
128 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) {
131 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
134 else if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC &&
135 decl->Semantic.Index < 32) {
136 ts->point_coord_decl |= 1 << decl->Semantic.Index;
137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index);
H A Dtgsi_parse.h66 struct tgsi_declaration_semantic Semantic; member in struct:tgsi_full_declaration
H A Dtgsi_build.c109 declaration.Semantic = 0;
144 declaration.Semantic = semantic;
393 full_declaration.Semantic = tgsi_default_declaration_semantic();
423 full_decl->Declaration.Semantic,
471 if( full_decl->Declaration.Semantic ) {
480 full_decl->Semantic.Name,
481 full_decl->Semantic.Index,
482 full_decl->Semantic.StreamX,
483 full_decl->Semantic.StreamY,
484 full_decl->Semantic
[all...]
H A Dtgsi_scan.c630 unsigned semName = fulldecl->Semantic.Name;
631 unsigned semIndex = fulldecl->Semantic.Index +
739 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamX;
740 info->num_stream_output_components[fulldecl->Semantic.StreamX]++;
743 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamY << 2;
744 info->num_stream_output_components[fulldecl->Semantic.StreamY]++;
747 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamZ << 4;
748 info->num_stream_output_components[fulldecl->Semantic.StreamZ]++;
751 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamW << 6;
752 info->num_stream_output_components[fulldecl->Semantic
[all...]
H A Dtgsi_transform.h143 decl.Declaration.Semantic = 1;
144 decl.Semantic.Name = sem_name;
145 decl.Semantic.Index = sem_index;
164 decl.Declaration.Semantic = 1;
165 decl.Semantic.Name = sem_name;
166 decl.Semantic.Index = sem_index;
/xsrc/external/mit/MesaLib.old/dist/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...]
/xsrc/external/mit/MesaLib/dist/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...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_tgsi_lower_depth_clamp.c60 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC)
61 ctx->next_generic = MAX2(ctx->next_generic, decl->Semantic.Index + 1);
64 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC)
65 ctx->next_generic = MAX2(ctx->next_generic, decl->Semantic.Index + 1);
69 decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
70 assert(decl->Semantic.Index == 0);
73 decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
74 assert(decl->Semantic.Index == 0);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_pstipple.c212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
287 decl.Declaration.Semantic = 1;
288 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_pstipple.c212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
287 decl.Declaration.Semantic = 1;
288 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c595 ok = vs30_input(emit, decl->Semantic, idx);
597 ok = ps30_input(emit, decl->Semantic, idx);
602 ok = vs30_output(emit, decl->Semantic, idx);
604 ok = ps30_output(emit, decl->Semantic, idx);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c595 ok = vs30_input(emit, decl->Semantic, idx);
597 ok = ps30_input(emit, decl->Semantic, idx);
602 ok = vs30_output(emit, decl->Semantic, idx);
604 ok = ps30_output(emit, decl->Semantic, idx);

Completed in 18 milliseconds

123