Home
last modified time | relevance | path

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

123456

/external/swiftshader/src/Shader/
DVertexShader.cpp35 input[i] = Semantic(); in VertexShader()
72 input[i] = Semantic(); in VertexShader()
160 void VertexShader::setInput(int inputIdx, const sw::Shader::Semantic& semantic, AttribType aType) in setInput()
166 void VertexShader::setOutput(int outputIdx, int nbComponents, const sw::Shader::Semantic& semantic) in setOutput()
176 setOutput(posReg, 4, sw::Shader::Semantic(sw::Shader::USAGE_POSITION, 0)); in setPositionRegister()
182 setOutput(ptSizeReg, 4, sw::Shader::Semantic(sw::Shader::USAGE_PSIZE, 0)); in setPointSizeRegister()
186 const sw::Shader::Semantic& VertexShader::getInput(int inputIdx) const in getInput()
196 const sw::Shader::Semantic& VertexShader::getOutput(int outputIdx, int component) const in getOutput()
223 input[index] = Semantic(instruction[i]->usage, instruction[i]->usageIndex); in analyzeInput()
232 output[Pos][0] = Semantic(Shader::USAGE_POSITION, 0); in analyzeOutput()
[all …]
DVertexShader.hpp43 void setInput(int inputIdx, const Semantic& semantic, AttribType attribType = ATTRIBTYPE_FLOAT);
44 void setOutput(int outputIdx, int nbComponents, const Semantic& semantic);
50 const Semantic& getInput(int inputIdx) const;
51 const Semantic& getOutput(int outputIdx, int component) const;
64 Semantic input[MAX_VERTEX_INPUTS];
65 Semantic output[MAX_VERTEX_OUTPUTS][4];
DPixelShader.cpp141 void PixelShader::setInput(int inputIdx, int nbComponents, const sw::Shader::Semantic& semantic) in setInput()
149 const sw::Shader::Semantic& PixelShader::getInput(int inputIdx, int component) const in getInput()
205 input[0][0] = Semantic(Shader::USAGE_COLOR, 0); in analyzeInterpolants()
206 input[0][1] = Semantic(Shader::USAGE_COLOR, 0); in analyzeInterpolants()
207 input[0][2] = Semantic(Shader::USAGE_COLOR, 0); in analyzeInterpolants()
208 input[0][3] = Semantic(Shader::USAGE_COLOR, 0); in analyzeInterpolants()
210 input[1][0] = Semantic(Shader::USAGE_COLOR, 1); in analyzeInterpolants()
211 input[1][1] = Semantic(Shader::USAGE_COLOR, 1); in analyzeInterpolants()
212 input[1][2] = Semantic(Shader::USAGE_COLOR, 1); in analyzeInterpolants()
213 input[1][3] = Semantic(Shader::USAGE_COLOR, 1); in analyzeInterpolants()
[all …]
DPixelShader.hpp39 void setInput(int inputIdx, int nbComponents, const Semantic& semantic);
40 const Semantic& getInput(int inputIdx, int component) const;
53 Semantic input[MAX_FRAGMENT_INPUTS][4];
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c78 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) { in xform_decl()
80 assert(decl->Semantic.Index < 2); in xform_decl()
81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; in xform_decl()
82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; in xform_decl()
84 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) { in xform_decl()
112 decl.Declaration.Semantic = 1; in emit_prolog()
113 decl.Semantic.Name = TGSI_SEMANTIC_BCOLOR; in emit_prolog()
114 decl.Semantic.Index = i; in emit_prolog()
137 decl.Declaration.Semantic = 1; in emit_prolog()
138 decl.Semantic.Name = TGSI_SEMANTIC_FACE; in emit_prolog()
[all …]
Dtgsi_dump.c303 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH || in iter_declaration()
304 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER || in iter_declaration()
305 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER || in iter_declaration()
306 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID; in iter_declaration()
357 if (decl->Declaration.Semantic) { in iter_declaration()
359 ENM( decl->Semantic.Name, tgsi_semantic_names ); in iter_declaration()
360 if (decl->Semantic.Index != 0 || in iter_declaration()
361 decl->Semantic.Name == TGSI_SEMANTIC_TEXCOORD || in iter_declaration()
362 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) { in iter_declaration()
364 UID( decl->Semantic.Index ); in iter_declaration()
[all …]
Dtgsi_point_sprite.c120 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) { in psprite_decl()
123 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) { in psprite_decl()
128 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) { in psprite_decl()
131 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) { in psprite_decl()
134 else if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in psprite_decl()
135 decl->Semantic.Index < 32) { in psprite_decl()
136 ts->point_coord_decl |= 1 << decl->Semantic.Index; in psprite_decl()
137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index); in psprite_decl()
Dtgsi_emulate.c77 decl.Declaration.Semantic = true; in passthrough_edgeflag()
79 decl.Semantic.Name = TGSI_SEMANTIC_EDGEFLAG; in passthrough_edgeflag()
80 decl.Semantic.Index = 0; in passthrough_edgeflag()
Dtgsi_build.c109 declaration.Semantic = 0; in tgsi_default_declaration()
144 declaration.Semantic = semantic; in tgsi_build_declaration()
396 full_declaration.Semantic = tgsi_default_declaration_semantic(); in tgsi_default_full_declaration()
426 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
475 if( full_decl->Declaration.Semantic ) { in tgsi_build_full_declaration()
484 full_decl->Semantic.Name, in tgsi_build_full_declaration()
485 full_decl->Semantic.Index, in tgsi_build_full_declaration()
486 full_decl->Semantic.StreamX, in tgsi_build_full_declaration()
487 full_decl->Semantic.StreamY, in tgsi_build_full_declaration()
488 full_decl->Semantic.StreamZ, in tgsi_build_full_declaration()
[all …]
Dtgsi_transform.h143 decl.Declaration.Semantic = 1; in tgsi_transform_input_decl()
144 decl.Semantic.Name = sem_name; in tgsi_transform_input_decl()
145 decl.Semantic.Index = sem_index; in tgsi_transform_input_decl()
164 decl.Declaration.Semantic = 1; in tgsi_transform_output_decl()
165 decl.Semantic.Name = sem_name; in tgsi_transform_output_decl()
166 decl.Semantic.Index = sem_index; in tgsi_transform_output_decl()
Dtgsi_scan.c630 unsigned semName = fulldecl->Semantic.Name; in scan_declaration()
631 unsigned semIndex = fulldecl->Semantic.Index + in scan_declaration()
740 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamX; in scan_declaration()
741 info->num_stream_output_components[fulldecl->Semantic.StreamX]++; in scan_declaration()
744 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamY << 2; in scan_declaration()
745 info->num_stream_output_components[fulldecl->Semantic.StreamY]++; in scan_declaration()
748 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamZ << 4; in scan_declaration()
749 info->num_stream_output_components[fulldecl->Semantic.StreamZ]++; in scan_declaration()
752 info->output_streams[reg] |= (ubyte)fulldecl->Semantic.StreamW << 6; in scan_declaration()
753 info->num_stream_output_components[fulldecl->Semantic.StreamW]++; in scan_declaration()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/
DRegisterValueTest.cpp20 bitcastFloatValue(Semantic, PredefinedValues::ACTUAL))
24 const auto &Semantic = APFloatBase::IEEEhalf(); in TEST() local
40 const auto &Semantic = APFloatBase::IEEEsingle(); in TEST() local
56 const auto &Semantic = APFloatBase::IEEEdouble(); in TEST() local
/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/clang/test/Misc/
Dserialized-diags.m20 …-diags.m:8:4: error: use of undeclared identifier '_self'; did you mean 'self'? [] [Semantic Issue]
24 // CHECK: +-(null):0:0: note: 'self' is an implicit parameter [] [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/llvm-project/clang/test/Misc/
Dserialized-diags.m20 …-diags.m:8:4: error: use of undeclared identifier '_self'; did you mean 'self'? [] [Semantic Issue]
24 // CHECK: +-(null):0:0: note: 'self' is an implicit parameter [] [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/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c60 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) in transform_decl()
61 ctx->next_generic = MAX2(ctx->next_generic, decl->Semantic.Index + 1); in transform_decl()
64 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) in transform_decl()
65 ctx->next_generic = MAX2(ctx->next_generic, decl->Semantic.Index + 1); in transform_decl()
69 decl->Semantic.Name == TGSI_SEMANTIC_POSITION) { in transform_decl()
70 assert(decl->Semantic.Index == 0); in transform_decl()
73 decl->Semantic.Name == TGSI_SEMANTIC_POSITION) { in transform_decl()
74 assert(decl->Semantic.Index == 0); in transform_decl()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c285 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH || in iter_declaration()
286 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER || in iter_declaration()
287 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER || in iter_declaration()
288 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID; in iter_declaration()
339 if (decl->Declaration.Semantic) { in iter_declaration()
341 ENM( decl->Semantic.Name, tgsi_semantic_names ); in iter_declaration()
342 if (decl->Semantic.Index != 0 || in iter_declaration()
343 decl->Semantic.Name == TGSI_SEMANTIC_TEXCOORD || in iter_declaration()
344 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) { in iter_declaration()
346 UID( decl->Semantic.Index ); in iter_declaration()
Dtgsi_build.c109 declaration.Semantic = 0; in tgsi_default_declaration()
144 declaration.Semantic = semantic; in tgsi_build_declaration()
384 full_declaration.Semantic = tgsi_default_declaration_semantic(); in tgsi_default_full_declaration()
414 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
463 if( full_decl->Declaration.Semantic ) { in tgsi_build_full_declaration()
472 full_decl->Semantic.Name, in tgsi_build_full_declaration()
473 full_decl->Semantic.Index, in tgsi_build_full_declaration()
474 full_decl->Semantic.StreamX, in tgsi_build_full_declaration()
475 full_decl->Semantic.StreamY, in tgsi_build_full_declaration()
476 full_decl->Semantic.StreamZ, in tgsi_build_full_declaration()
[all …]
/external/vixl/
DVERSIONS.md4 Since version 3.0.0, VIXL uses [Semantic Versioning 2.0.0][semver].
30 "Semantic Versioning 2.0.0 Specification"
/external/deqp-deps/glslang/
DCHANGES.md4 This project adheres to [Semantic Versioning](https://semver.org/).
34 [Semantic Versioning 2.0.0](https://semver.org/).
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c864 switch (fdec->Semantic.Name) { in nvfx_fragprog_parse_decl_input()
869 hw = NVFX_FP_OP_INPUT_SRC_COL0 + fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
878 assert(fdec->Semantic.Index < 8); in nvfx_fragprog_parse_decl_input()
879 fpc->fp->texcoord[fdec->Semantic.Index] = fdec->Semantic.Index; in nvfx_fragprog_parse_decl_input()
880 fpc->fp->texcoords |= (1 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
881 fpc->fp->vp_or |= (0x00004000 << fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
882 hw = NVFX_FP_OP_INPUT_SRC_TC(fdec->Semantic.Index); in nvfx_fragprog_parse_decl_input()
905 switch (fdec->Semantic.Name) { in nvfx_fragprog_assign_generic()
916 if (fdec->Semantic.Name == TGSI_SEMANTIC_PCOORD) { in nvfx_fragprog_assign_generic()
920 fpc->fp->texcoord[hw] = fdec->Semantic.Index + 8; in nvfx_fragprog_assign_generic()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c212 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) in pstip_transform_decl()
287 decl.Declaration.Semantic = 1; in pstip_transform_prolog()
288 decl.Semantic.Name = TGSI_SEMANTIC_POSITION; in pstip_transform_prolog()
/external/angle/third_party/vulkan-deps/glslang/src/
DCHANGES.md4 This project adheres to [Semantic Versioning](https://semver.org/).
73 [Semantic Versioning 2.0.0](https://semver.org/).
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aaline.c124 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
125 decl->Semantic.Index == 0) { in aa_transform_decl()
131 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
132 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
133 aactx->maxGeneric = decl->Semantic.Index; in aa_transform_decl()
/external/swiftshader/third_party/marl/
DCHANGES.md4 This project adheres to [Semantic Versioning](https://semver.org/).

123456