Lines Matching defs:in
6 * to deal in the Software without restriction, including without limitation
12 * next paragraph) shall be included in all copies or substantial portions
17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
32 * *) in case of ps, semantic -> varying id mapping
34 * 3) temporary-to-output mapping (in case of vs, fixed for ps)
95 enum tgsi_file_type file; /* IN, OUT, TEMP, ... */
97 bool active; /* used in program */
129 /* Number of registers in each TGSI file (max register+1) */
159 /* Bitmap of dead instructions which are removed in a separate pass */
165 uint32_t imm_base; /* base of immediates (in 32 bit units) */
166 uint32_t imm_size; /* size of immediates (in 32 bit units) */
257 /* only interested in active registers now; will only assign inactive ones
258 * if no space in active ones */
308 * output, however Vivante GPUs use temporaries both for passing in inputs and
333 /* last usage of this input is before or in same instruction of first use
385 /* swizzle so that component with value is returned in all components */
504 /* Allocate register declarations for the registers in all register files */
546 * XXX in the case of loops this needs special care, or even be completely
556 * won't have been overwritten in previous iteration. The register can
565 /* Declaration: fill in file details */
654 * Also recognize direct assignment of IN to OUT (passthrough)
675 /* We are only interested in eliminating MOVs which write to
708 * and the output is only used in this instruction,
751 BUG("Too many inner temporaries (%i) requested in one instruction",
888 convert_dst(struct etna_compile *c, const struct tgsi_full_dst_register *in)
892 .comps = in->Register.WriteMask,
895 if (in->Register.File == TGSI_FILE_ADDRESS) {
896 assert(in->Register.Index == 0);
897 rv.reg = in->Register.Index;
900 rv = etna_native_to_dst(etna_get_dst_reg(c, in->Register)->native,
901 in->Register.WriteMask);
904 if (in->Register.Indirect)
905 rv.amode = etna_amode(in->Indirect);
912 convert_tex(struct etna_compile *c, const struct tgsi_full_src_register *in,
915 struct etna_native_reg native_reg = etna_get_src_reg(c, in->Register)->native;
1009 * target of the label will be filled in in the marked instruction's src2.imm
1105 /* mark position in instruction stream of label reference so that it can be
1106 * filled in in next pass */
1115 /* imm is filled in later */
1133 /* imm is filled in later */
1136 /* mark "else" label at this position in instruction stream */
1148 /* assign "endif" or "else" (if no ELSE) label to current position in
1180 /* mark position in instruction stream of label reference so that it can be
1181 * filled in in next pass */
1189 /* imm is filled in later */
1202 /* mark position in instruction stream of label reference so that it can be
1203 * filled in in next pass */
1211 /* imm is filled in later */
1222 /* mark position in instruction stream of label reference so that it can be
1223 * filled in in next pass */
1231 /* imm is filled in later */
1526 struct etna_inst_src sincos[3], in = src[0];
1537 ins.src[2] = in;
1539 in = t0s;
1544 ins[0].src[0] = swizzle(in, SWIZZLE(X, X, X, X));
1971 /* Additional pass to fill in branch targets. This pass should be last
2010 /* For PS we need to permute so that inputs are always in temporary 0..N-1.
2041 /* fill in ps inputs into shader object */
2071 /* fill in output mapping for ps into shader object */
2093 /* fill in inputs for vs into shader object */
2137 /* fill in outputs for vs into shader object */
2169 /* fill in "mystery meat" load balancing value. This value determines how
2171 * in the unified shader architecture. More precisely, it is determined from
2178 * outputs may be unused and thus unmapped. Then again, in the general use
2203 /* round up number of uniforms, including immediates, in units of four */
2292 * CONST, SAMP, IMM, OUT, IN, TEMP.
2318 * if single MOV TEMP[y], IN[x] before which temp y is not used, and
2319 * after which IN[x]
2342 * writing all components that are used in
2379 /* XXX for PS we need to permute so that inputs are always in temporary
2417 /* fill in output structure */
2508 const struct etna_shader_inout *in)
2510 if (in->semantic.Index < sobj->output_count_per_semantic[in->semantic.Name])
2511 return sobj->output_per_semantic[in->semantic.Name][in->semantic.Index];