Home
last modified time | relevance | path

Searched refs:semantic (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_signature.c118 * to the semantic name string. Then these strings are dumped into the stream.
409 /* copy the semantic name */ in copy_semantic_name_to_string()
492 struct semantic_info *semantic, in fill_signature_element()
496 elm->stream = semantic->stream; in fill_signature_element()
498 elm->semantic_index = semantic->index + row; in fill_signature_element()
499 elm->system_value = (uint32_t) prog_semantic_from_kind(semantic->kind, semantic->rows, row); in fill_signature_element()
500 elm->comp_type = (uint32_t) semantic->comp_type; in fill_signature_element()
501 elm->reg = semantic->start_row + row; in fill_signature_element()
503 assert(semantic in fill_signature_element()
491 fill_signature_element(struct dxil_signature_element *elm, struct semantic_info *semantic, unsigned row) fill_signature_element() argument
509 fill_psv_signature_element(struct dxil_psv_signature_element *psv_elm, struct semantic_info *semantic, struct dxil_module *mod) fill_psv_signature_element() argument
548 fill_io_signature(struct dxil_module *mod, int id, struct semantic_info *semantic, struct dxil_signature_record *rec, struct dxil_psv_signature_element *psv_elm) fill_io_signature() argument
573 struct semantic_info semantic = {0}; get_input_signature_group() local
637 struct semantic_info semantic = {0}; process_output_signature() local
723 struct semantic_info semantic = {0}; process_patch_const_signature() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c35 * Translate TGSI semantic info into SVGA3d semantic info.
40 struct tgsi_declaration_semantic semantic, in translate_vs_ps_semantic()
44 switch (semantic.Name) { in translate_vs_ps_semantic()
46 *idx = semantic.Index; in translate_vs_ps_semantic()
50 *idx = semantic.Index; in translate_vs_ps_semantic()
54 *idx = semantic.Index + 2; /* sharing with COLOR */ in translate_vs_ps_semantic()
59 assert(semantic.Index == 0); in translate_vs_ps_semantic()
63 *idx = semantic.Index; in translate_vs_ps_semantic()
68 semantic in translate_vs_ps_semantic()
39 translate_vs_ps_semantic(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned *usage, unsigned *idx) translate_vs_ps_semantic() argument
178 ps30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_input() argument
327 ps30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) ps30_output() argument
391 vs30_input(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_input() argument
449 vs30_output(struct svga_shader_emitter *emit, struct tgsi_declaration_semantic semantic, unsigned idx) vs30_output() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_info.c273 unsigned semantic = 0; in scan_io_usage() local
276 semantic = nir_intrinsic_io_semantics(intr).location; in scan_io_usage()
280 if (semantic == FRAG_RESULT_COLOR) in scan_io_usage()
281 semantic = FRAG_RESULT_DATA0; in scan_io_usage()
282 semantic += nir_intrinsic_io_semantics(intr).dual_source_blend_index; in scan_io_usage()
294 info->input[loc].semantic = semantic + i; in scan_io_usage()
296 if (semantic == VARYING_SLOT_PRIMITIVE_ID) in scan_io_usage()
319 info->output_semantic[loc] = semantic + i; in scan_io_usage()
361 semantic > in scan_io_usage()
746 unsigned semantic = info->output_semantic[i]; si_nir_scan_shader() local
816 unsigned semantic = info->input[i].semantic; si_nir_scan_shader() local
[all...]
H A Dsi_shader_llvm_vs.c457 if (outputs[i].semantic != VARYING_SLOT_COL0 && in si_vertex_color_clamping()
458 outputs[i].semantic != VARYING_SLOT_COL1 && in si_vertex_color_clamping()
459 outputs[i].semantic != VARYING_SLOT_BFC0 && in si_vertex_color_clamping()
460 outputs[i].semantic != VARYING_SLOT_BFC1) in si_vertex_color_clamping()
480 if (outputs[i].semantic != VARYING_SLOT_COL0 && in si_vertex_color_clamping()
481 outputs[i].semantic != VARYING_SLOT_COL1 && in si_vertex_color_clamping()
482 outputs[i].semantic != VARYING_SLOT_BFC0 && in si_vertex_color_clamping()
483 outputs[i].semantic != VARYING_SLOT_BFC1) in si_vertex_color_clamping()
495 if (outputs[i].semantic != VARYING_SLOT_COL0 && in si_vertex_color_clamping()
496 outputs[i].semantic ! in si_vertex_color_clamping()
[all...]
H A Dsi_shaderlib_nir.c319 unsigned semantic = info->output_semantic[i]; in si_create_passthrough_tcs() local
320 if (semantic < VARYING_SLOT_VAR31 && semantic != VARYING_SLOT_EDGE) in si_create_passthrough_tcs()
322 else if (semantic >= VARYING_SLOT_VAR0_16BIT) in si_create_passthrough_tcs()
330 in->data.location = semantic; in si_create_passthrough_tcs()
335 out->data.location = semantic; in si_create_passthrough_tcs()
H A Dsi_shader_llvm_tess.c269 ubyte semantic = info->input[driver_location].semantic; in si_nir_load_tcs_varyings() local
272 si_shader_io_get_unique_index(semantic, false) * 4; in si_nir_load_tcs_varyings()
515 unsigned semantic = info->output_semantic[i]; in si_llvm_tcs_build_end() local
516 if (semantic == VARYING_SLOT_TESS_LEVEL_OUTER) in si_llvm_tcs_build_end()
518 else if (semantic == VARYING_SLOT_TESS_LEVEL_INNER) in si_llvm_tcs_build_end()
580 unsigned semantic = info->output_semantic[i]; in si_llvm_ls_build_end() local
581 int param = si_shader_io_get_unique_index(semantic, false); in si_llvm_ls_build_end()
H A Dsi_shader.c80 * Returns a unique index for a per-patch semantic name and index. The index
84 unsigned si_shader_io_get_unique_index_patch(unsigned semantic) in si_shader_io_get_unique_index_patch() argument
86 switch (semantic) { in si_shader_io_get_unique_index_patch()
92 if (semantic >= VARYING_SLOT_PATCH0 && semantic < VARYING_SLOT_PATCH0 + 30) in si_shader_io_get_unique_index_patch()
93 return 2 + (semantic - VARYING_SLOT_PATCH0); in si_shader_io_get_unique_index_patch()
95 assert(!"invalid semantic"); in si_shader_io_get_unique_index_patch()
101 * Returns a unique index for a semantic name and index. The index must be
105 unsigned si_shader_io_get_unique_index(unsigned semantic, bool is_varying) in si_shader_io_get_unique_index() argument
107 switch (semantic) { in si_shader_io_get_unique_index()
1505 si_map_io_driver_location(unsigned semantic) si_map_io_driver_location() argument
1903 unsigned semantic = sel->info.output_semantic[i]; si_compile_shader() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSetupProcessor.cpp130 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component - project); in update() local
132 if(semantic.active()) in update()
137 if(semantic == context->vertexShader->getOutput(i, component - project)) in update()
146 switch(semantic.usage) in update()
149 case Shader::USAGE_COLOR: flat = semantic.flat || flatShading; break; in update()
164 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component); in update() local
166 switch(semantic.usage) in update()
171 state.gradient[interpolant][component].attribute = T0 + semantic.index; in update()
172 state.gradient[interpolant][component].flat = semantic.flat || (point && !sprite); in update()
175 state.gradient[interpolant][component].attribute = C0 + semantic in update()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dbinary.hpp98 enum semantic { enum
111 enum semantic semantic = general) : in argument()
114 ext_type(ext_type), semantic(semantic) { } in argument()
119 ext_type(zero_ext), semantic(general) { } in argument()
123 ext_type(zero_ext), semantic(general) { } in argument()
132 semantic semantic; member
/third_party/node/deps/v8/src/codegen/
H A Dmachine-type.h101 MachineSemantic semantic) in MachineType()
102 : representation_(representation), semantic_(semantic) {} in MachineType()
106 semantic() == other.semantic(); in operator ==()
116 constexpr MachineSemantic semantic() const { return semantic_; } in semantic() function in v8::internal::MachineRepresentation::MachineType
127 return semantic() == MachineSemantic::kInt32 || in IsSigned()
128 semantic() == MachineSemantic::kInt64; in IsSigned()
131 return semantic() == MachineSemantic::kUint32 || in IsUnsigned()
132 semantic() == MachineSemantic::kUint64; in IsUnsigned()
326 static_cast<size_t>(type.semantic()) * 1 in hash_value()
100 MachineType(MachineRepresentation representation, MachineSemantic semantic) MachineType() argument
[all...]
H A Dmachine-type.cc92 return os << type.semantic(); in operator <<()
93 } else if (type.semantic() == MachineSemantic::kNone) { in operator <<()
96 return os << type.representation() << "|" << type.semantic(); in operator <<()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DVertexShader.hpp43 void setInput(int inputIdx, const Semantic& semantic, AttribType attribType = ATTRIBTYPE_FLOAT);
44 void setOutput(int outputIdx, int nbComponents, const Semantic& semantic);
H A DVertexShader.cpp160 void VertexShader::setInput(int inputIdx, const sw::Shader::Semantic& semantic, AttribType aType) in setInput() argument
162 input[inputIdx] = semantic; in setInput()
166 void VertexShader::setOutput(int outputIdx, int nbComponents, const sw::Shader::Semantic& semantic) in setOutput() argument
170 output[outputIdx][i] = semantic; in setOutput()
H A DPixelShader.hpp39 void setInput(int inputIdx, int nbComponents, const Semantic& semantic);
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state_derived.c129 if (fs->texcoords[i].semantic != -1) { in calculate_vertex_layout()
130 src = draw_find_shader_output(i915->draw, fs->texcoords[i].semantic, in calculate_vertex_layout()
132 if (fs->texcoords[i].semantic == TGSI_SEMANTIC_FACE) { in calculate_vertex_layout()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_shader_gs.cpp84 auto semantic = r600_get_varying_semantic(location); in process_store_output() local
85 tgsi_semantic name = (tgsi_semantic)semantic.first; in process_store_output()
90 output.set_sid(semantic.second); in process_store_output()
141 auto semantic = r600_get_varying_semantic(location); in process_load_input() local
142 ShaderInput input(driver_location, semantic.first); in process_load_input()
143 input.set_sid(semantic.second); in process_load_input()
H A Dsfn_shader_tess.cpp204 auto semantic = r600_get_varying_semantic(location); in do_scan_instruction() local
205 tgsi_semantic name = (tgsi_semantic)semantic.first; in do_scan_instruction()
206 unsigned sid = semantic.second; in do_scan_instruction()
/third_party/mesa3d/src/amd/common/
H A Dac_nir.c51 unsigned semantic = nir_intrinsic_io_semantics(intrin).location; in ac_nir_calc_io_offset() local
52 unsigned mapped_driver_location = map_io ? map_io(semantic) : base; in ac_nir_calc_io_offset()
H A Dac_nir_lower_esgs_io_to_mem.c47 /* I/O semantic -> real location used by lowering. */
154 unsigned semantic = nir_intrinsic_io_semantics(intrin).location; in lower_es_output_store() local
155 if (semantic == VARYING_SLOT_LAYER || semantic == VARYING_SLOT_VIEWPORT) { in lower_es_output_store()
/third_party/typescript/tests/baselines/reference/tsbuildWatch/programUpdates/
H A Dwhen-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js44 No cached semantic diagnostics in the builder::
56 No cached semantic diagnostics in the builder::
290 No cached semantic diagnostics in the builder::
409 No cached semantic diagnostics in the builder::
574 No cached semantic diagnostics in the builder::
/third_party/ltp/scripts/coccinelle/
H A Drun-spatch.sh77 -f Apply the semantic patch in-place to fix the code
80 If run without -f then the semantic patch will only print locations
96 echo -e "Missing semantic patch name \n"
/third_party/typescript/tests/baselines/reference/tsbuild/noEmitOnError/
H A Dsyntax-errors-with-incremental.js63 No cached semantic diagnostics in the builder::
147 No cached semantic diagnostics in the builder::
H A Dsyntax-errors.js63 No cached semantic diagnostics in the builder::
94 No cached semantic diagnostics in the builder::
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_shader_dump.c598 dump_semantic(dcl.u.semantic.usage, in svga_shader_dump()
599 dcl.u.semantic.usage_index); in svga_shader_dump()
604 dump_semantic(dcl.u.semantic.usage, in svga_shader_dump()
605 dcl.u.semantic.usage_index); in svga_shader_dump()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawtex.c61 semantic_to_vert_attrib(unsigned semantic) in semantic_to_vert_attrib() argument
63 switch (semantic) { in semantic_to_vert_attrib()
72 unreachable("unhandled semantic"); in semantic_to_vert_attrib()
77 semantic_to_varying_slot(unsigned semantic) in semantic_to_varying_slot() argument
79 switch (semantic) { in semantic_to_varying_slot()
88 unreachable("unhandled semantic"); in semantic_to_varying_slot()
280 /* XXX: should this use semantic index i instead of 0 ? */ in st_DrawTex()

Completed in 17 milliseconds

1234