| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/jitter/ |
| H A D | streamout_jit.h | 36 /// STREAMOUT_DECL - Stream decl 49 // indicates this decl is a hole 62 STREAMOUT_DECL decl[128]; member in struct:STREAMOUT_STREAM 89 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) 91 if (stream.decl[i].attribSlot != other.stream.decl[i].attribSlot) 93 if (stream.decl[i].componentMask != other.stream.decl[i].componentMask) 95 if (stream.decl[ [all...] |
| H A D | streamout_jit.cpp | 75 // buffer is considered oob if in use in a decl but not enabled 125 // @brief processes a single decl from the streamout stream. Reads 4 components from the input 130 // @param decl - input decl 131 void buildDecl(Value* pStream, Value* pOutBuffers[4], const STREAMOUT_DECL& decl) argument 133 uint32_t numComponents = _mm_popcnt_u32(decl.componentMask); 135 if (!decl.hole) 138 Value* pAttrib = GEP(pStream, C(4 * decl.attribSlot)); 147 Value* vpackedAttrib = VSHUFFLE(vattrib, vattrib, PackMask(decl.componentMask)); 151 Value* pOut = BITCAST(pOutBuffers[decl 174 const STREAMOUT_DECL& decl = streamState.decl[d]; local in function:StreamOutJit::buildVertex 189 const STREAMOUT_DECL& decl = streamState.decl[d]; local in function:StreamOutJit::buildStream [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/ |
| H A D | streamout_jit.h | 36 /// STREAMOUT_DECL - Stream decl 49 // indicates this decl is a hole 62 STREAMOUT_DECL decl[128]; member in struct:STREAMOUT_STREAM 89 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) 91 if (stream.decl[i].attribSlot != other.stream.decl[i].attribSlot) 93 if (stream.decl[i].componentMask != other.stream.decl[i].componentMask) 95 if (stream.decl[ [all...] |
| H A D | streamout_jit.cpp | 75 // buffer is considered oob if in use in a decl but not enabled 125 // @brief processes a single decl from the streamout stream. Reads 4 components from the input 130 // @param decl - input decl 131 void buildDecl(Value* pStream, Value* pOutBuffers[4], const STREAMOUT_DECL& decl) argument 133 uint32_t numComponents = _mm_popcnt_u32(decl.componentMask); 135 if (!decl.hole) 138 Value* pAttrib = GEP(pStream, C(4 * decl.attribSlot)); 147 Value* vpackedAttrib = VSHUFFLE(vattrib, vattrib, PackMask(decl.componentMask)); 151 Value* pOut = BITCAST(pOutBuffers[decl 174 const STREAMOUT_DECL& decl = streamState.decl[d]; local in function:StreamOutJit::buildVertex 189 const STREAMOUT_DECL& decl = streamState.decl[d]; local in function:StreamOutJit::buildStream [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_two_side.c | 72 struct tgsi_full_declaration *decl) 75 unsigned range_end = decl->Range.Last + 1; 77 if (decl->Declaration.File == TGSI_FILE_INPUT) { 78 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 71 xform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument 101 struct tgsi_full_declaration decl; local in function:emit_prolog [all...] |
| H A D | tgsi_emulate.c | 48 struct tgsi_full_declaration *decl) 53 decl->Declaration.File == TGSI_FILE_INPUT) { 54 assert(decl->Declaration.Interpolate); 55 decl->Interp.Location = TGSI_INTERPOLATE_LOC_SAMPLE; 58 tctx->emit_declaration(tctx, decl); 65 struct tgsi_full_declaration decl; local in function:passthrough_edgeflag 69 decl = tgsi_default_full_declaration(); 70 decl.Declaration.File = TGSI_FILE_INPUT; 71 decl.Range.First = decl 47 transform_decl(struct tgsi_transform_context * tctx,struct tgsi_full_declaration * decl) argument [all...] |
| H A D | tgsi_transform.h | 52 struct tgsi_full_declaration *decl); 81 const struct tgsi_full_declaration *decl); 101 struct tgsi_full_declaration decl; local in function:tgsi_transform_temps_decl 103 decl = tgsi_default_full_declaration(); 104 decl.Declaration.File = TGSI_FILE_TEMPORARY; 105 decl.Range.First = firstIdx; 106 decl.Range.Last = lastIdx; 107 ctx->emit_declaration(ctx, &decl); 121 struct tgsi_full_declaration decl; local in function:tgsi_transform_const_decl 123 decl 138 struct tgsi_full_declaration decl; local in function:tgsi_transform_input_decl 159 struct tgsi_full_declaration decl; local in function:tgsi_transform_output_decl 178 struct tgsi_full_declaration decl; local in function:tgsi_transform_sampler_decl 193 struct tgsi_full_declaration decl; local in function:tgsi_transform_sampler_view_decl [all...] |
| H A D | tgsi_parse.c | 109 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; local in function:tgsi_parse_token 111 memset(decl, 0, sizeof *decl); 112 copy_token(&decl->Declaration, &token); 114 next_token( ctx, &decl->Range ); 116 if (decl->Declaration.Dimension) { 117 next_token(ctx, &decl->Dim); 120 if (decl->Declaration.Interpolate) { 121 next_token( ctx, &decl->Interp ); 124 if (decl [all...] |
| H A D | tgsi_dump.c | 300 struct tgsi_full_declaration *decl ) 303 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; 310 TXT(tgsi_file_name(decl->Declaration.File)); 315 if (decl->Declaration.File == TGSI_FILE_INPUT && 324 if (decl->Declaration.File == TGSI_FILE_OUTPUT && 330 if (decl->Declaration.Dimension) { 332 SID(decl 298 iter_declaration(struct tgsi_iterate_context * iter,struct tgsi_full_declaration * decl) argument 467 tgsi_dump_declaration(const struct tgsi_full_declaration * decl) argument [all...] |
| H A D | tgsi_ureg.c | 49 struct tgsi_declaration decl; member in union:tgsi_any_token 529 struct const_decl *decl = &ureg->const_decls[index2D]; local in function:ureg_DECL_constant2D 533 if (decl->nr_constant_ranges < UREG_MAX_CONSTANT_RANGE) { 534 uint i = decl->nr_constant_ranges++; 536 decl->constant_range[i].first = first; 537 decl->constant_range[i].last = last; 551 struct const_decl *decl = &ureg->const_decls[0]; local in function:ureg_DECL_constant 557 for (i = 0; i < decl->nr_constant_ranges; i++) { 558 if (decl->constant_range[i].first <= index && 559 decl 617 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[buffer_id]; local in function:ureg_DECL_hw_atomic 1974 struct const_decl *decl = &ureg->const_decls[i]; local in function:emit_decls 1990 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[i]; local in function:emit_decls [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_two_side.c | 72 struct tgsi_full_declaration *decl) 75 unsigned range_end = decl->Range.Last + 1; 77 if (decl->Declaration.File == TGSI_FILE_INPUT) { 78 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 71 xform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument 101 struct tgsi_full_declaration decl; local in function:emit_prolog [all...] |
| H A D | tgsi_emulate.c | 48 struct tgsi_full_declaration *decl) 53 decl->Declaration.File == TGSI_FILE_INPUT) { 54 assert(decl->Declaration.Interpolate); 55 decl->Interp.Location = TGSI_INTERPOLATE_LOC_SAMPLE; 58 tctx->emit_declaration(tctx, decl); 65 struct tgsi_full_declaration decl; local in function:passthrough_edgeflag 69 decl = tgsi_default_full_declaration(); 70 decl.Declaration.File = TGSI_FILE_INPUT; 71 decl.Range.First = decl 47 transform_decl(struct tgsi_transform_context * tctx,struct tgsi_full_declaration * decl) argument [all...] |
| H A D | tgsi_transform.h | 52 struct tgsi_full_declaration *decl); 81 const struct tgsi_full_declaration *decl); 101 struct tgsi_full_declaration decl; local in function:tgsi_transform_temps_decl 103 decl = tgsi_default_full_declaration(); 104 decl.Declaration.File = TGSI_FILE_TEMPORARY; 105 decl.Range.First = firstIdx; 106 decl.Range.Last = lastIdx; 107 ctx->emit_declaration(ctx, &decl); 121 struct tgsi_full_declaration decl; local in function:tgsi_transform_const_decl 123 decl 138 struct tgsi_full_declaration decl; local in function:tgsi_transform_input_decl 159 struct tgsi_full_declaration decl; local in function:tgsi_transform_output_decl 178 struct tgsi_full_declaration decl; local in function:tgsi_transform_sampler_decl 193 struct tgsi_full_declaration decl; local in function:tgsi_transform_sampler_view_decl [all...] |
| H A D | tgsi_parse.c | 109 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; local in function:tgsi_parse_token 111 memset(decl, 0, sizeof *decl); 112 copy_token(&decl->Declaration, &token); 114 next_token( ctx, &decl->Range ); 116 if (decl->Declaration.Dimension) { 117 next_token(ctx, &decl->Dim); 120 if (decl->Declaration.Interpolate) { 121 next_token( ctx, &decl->Interp ); 124 if (decl [all...] |
| H A D | tgsi_dump.c | 300 struct tgsi_full_declaration *decl ) 303 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; 310 TXT(tgsi_file_name(decl->Declaration.File)); 315 if (decl->Declaration.File == TGSI_FILE_INPUT && 324 if (decl->Declaration.File == TGSI_FILE_OUTPUT && 330 if (decl->Declaration.Dimension) { 332 SID(decl 298 iter_declaration(struct tgsi_iterate_context * iter,struct tgsi_full_declaration * decl) argument 451 tgsi_dump_declaration(const struct tgsi_full_declaration * decl) argument [all...] |
| H A D | tgsi_ureg.c | 52 struct tgsi_declaration decl; member in union:tgsi_any_token 527 struct const_decl *decl = &ureg->const_decls[index2D]; local in function:ureg_DECL_constant2D 531 if (decl->nr_constant_ranges < UREG_MAX_CONSTANT_RANGE) { 532 uint i = decl->nr_constant_ranges++; 534 decl->constant_range[i].first = first; 535 decl->constant_range[i].last = last; 549 struct const_decl *decl = &ureg->const_decls[0]; local in function:ureg_DECL_constant 555 for (i = 0; i < decl->nr_constant_ranges; i++) { 556 if (decl->constant_range[i].first <= index && 557 decl 615 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[buffer_id]; local in function:ureg_DECL_hw_atomic 1993 struct const_decl *decl = &ureg->const_decls[i]; local in function:emit_decls 2009 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[i]; local in function:emit_decls [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_vs_draw.c | 65 /* Used to shift output decl. indices when inserting new ones. */ 80 struct tgsi_full_declaration decl; local in function:emit_temp 82 decl = tgsi_default_full_declaration(); 83 decl.Declaration.File = TGSI_FILE_TEMPORARY; 84 decl.Range.First = decl.Range.Last = reg; 85 ctx->emit_declaration(ctx, &decl); 93 struct tgsi_full_declaration decl; local in function:emit_output 95 decl = tgsi_default_full_declaration(); 96 decl 145 transform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_vs_draw.c | 65 /* Used to shift output decl. indices when inserting new ones. */ 80 struct tgsi_full_declaration decl; local in function:emit_temp 82 decl = tgsi_default_full_declaration(); 83 decl.Declaration.File = TGSI_FILE_TEMPORARY; 84 decl.Range.First = decl.Range.Last = reg; 85 ctx->emit_declaration(ctx, &decl); 93 struct tgsi_full_declaration decl; local in function:emit_output 95 decl = tgsi_default_full_declaration(); 96 decl 145 transform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_pstipple.c | 197 struct tgsi_full_declaration *decl) 204 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { 206 for (i = decl->Range.First; i <= decl->Range.Last; i++) { 210 else if (decl->Declaration.File == pctx->wincoordFile) { 211 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); 212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) 213 pctx->wincoordInput = (int) decl->Range.First; 215 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { 217 for (i = decl 196 pstip_transform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument 282 struct tgsi_full_declaration decl; local in function:pstip_transform_prolog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_pstipple.c | 197 struct tgsi_full_declaration *decl) 204 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { 206 for (i = decl->Range.First; i <= decl->Range.Last; i++) { 210 else if (decl->Declaration.File == pctx->wincoordFile) { 211 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); 212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) 213 pctx->wincoordInput = (int) decl->Range.First; 215 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { 217 for (i = decl 196 pstip_transform_decl(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument 282 struct tgsi_full_declaration decl; local in function:pstip_transform_prolog [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/svgadump/ |
| H A D | svga_dump.py | 51 def __init__(self, instance = '', decl = None): 54 self.decl = decl 57 return decl_dumper_t(self._instance, self.decl) 60 class_ = self.decl 61 assert self.decl.class_type in ('struct', 'union') 71 for name, value in self.decl.values: 83 def dump_decl(instance, decl): 84 dumper = decl_dumper_t(instance, decl) 85 algorithm.apply_visitor(dumper, decl) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/svgadump/ |
| H A D | svga_dump.py | 51 def __init__(self, instance = '', decl = None): 54 self.decl = decl 57 return decl_dumper_t(self._instance, self.decl) 60 class_ = self.decl 61 assert self.decl.class_type in ('struct', 'union') 71 for name, value in self.decl.values: 83 def dump_decl(instance, decl): 84 dumper = decl_dumper_t(instance, decl) 85 algorithm.apply_visitor(dumper, decl) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_tgsi.c | 43 struct tgsi_full_declaration *decl) 45 switch (decl->Declaration.File) { 47 if (decl->Declaration.Dimension) { 48 if (decl->Dim.Index2D == 0) 49 decl->Declaration.Dimension = 0; 55 ctx->emit_declaration(ctx, decl); 42 virgl_tgsi_transform_declaration(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_tgsi.c | 43 struct tgsi_full_declaration *decl) 45 switch (decl->Declaration.File) { 47 if (decl->Declaration.Dimension) { 48 if (decl->Dim.Index2D == 0) 49 decl->Declaration.Dimension = 0; 55 ctx->emit_declaration(ctx, decl); 42 virgl_tgsi_transform_declaration(struct tgsi_transform_context * ctx,struct tgsi_full_declaration * decl) argument
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| H A D | vk_cmd_queue_gen.py | 88 ${to_field_decl(p.decl)}; 125 , ${p.decl} 172 , ${p.decl} 190 % elif '[' in p.decl: 194 cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)} = (${remove_suffix(p.decl.replace("const", ""), p.name)}) ${p.name}; 195 % elif '*' in p.decl: 221 vk_free(queue->alloc, (${remove_suffix(p.decl.replace("const", ""), p.name)})cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)}); 222 % elif '*' in p.decl: 257 def to_field_decl(decl): 258 decl [all...] |