Home | History | Annotate | Download | only in r600

Lines Matching refs:Index

618 	/* work out gpr and base_chan from index */
691 * USE_VTX_RENDER_TARGET_INDX - render target index in the Z channel of export 61
692 * USE_VTX_VIEWPORT_INDX - viewport index in the W channel of export 61
694 * exclusive from render target index)
713 /* Map name/sid pair from tgsi to the 8-bit semantic index for SPI setup */
716 int index, name = io->name;
724 index = 0;
728 index = io->sid;
731 index = 0x80 | (name<<3) | (io->sid);
737 index++;
740 return index;
744 static int evergreen_interp_input(struct r600_shader_ctx *ctx, int index)
748 if (ctx->shader->input[index].spi_sid) {
749 ctx->shader->input[index].lds_pos = ctx->shader->nlds++;
750 if (ctx->shader->input[index].interpolate > 0) {
751 r = evergreen_interp_alu(ctx, index);
753 r = evergreen_interp_flat(ctx, index);
798 ctx->shader->input[i].sid = d->Semantic.Index;
824 ctx->shader->output[i].sid = d->Semantic.Index;
832 ctx->shader->clip_dist_write |= d->Declaration.UsageMask << (d->Semantic.Index << 2);
950 int index;
955 index = tgsi_src->Register.Index * 4 + tgsi_src->Register.SwizzleX;
956 r600_bytecode_special_constants(ctx->literals[index], &r600_src->sel, &r600_src->neg);
960 index = tgsi_src->Register.Index;
962 memcpy(r600_src->value, ctx->literals + index * 4, sizeof(r600_src->value));
964 if (ctx->info.system_value_semantic_name[tgsi_src->Register.Index] == TGSI_SEMANTIC_INSTANCEID) {
970 } else if (ctx->info.system_value_semantic_name[tgsi_src->Register.Index] == TGSI_SEMANTIC_VERTEXID) {
980 r600_src->sel = tgsi_src->Register.Index;
1756 r600_dst->sel = tgsi_dst->Register.Index;
3738 unsigned index)
3741 return (inst->Src[index].Register.File != TGSI_FILE_TEMPORARY &&
3742 inst->Src[index].Register.File != TGSI_FILE_INPUT &&
3743 inst->Src[index].Register.File != TGSI_FILE_OUTPUT) ||
3744 ctx->src[index].neg || ctx->src[index].abs;
3748 unsigned index)
3751 return ctx->file_offset[inst->Src[index].Register.File] + inst->Src[index].Register.Index;
3778 offset_x = ctx->literals[inst->TexOffsets[0].Index + inst->TexOffsets[0].SwizzleX] << 1;
3779 offset_y = ctx->literals[inst->TexOffsets[0].Index + inst->TexOffsets[0].SwizzleY] << 1;
3780 offset_z = ctx->literals[inst->TexOffsets[0].Index + inst->TexOffsets[0].SwizzleZ] << 1;
4083 tex.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index;
4143 /* the array index is read from Y */
4146 /* the array index is read from Z */
4152 /* the array index is read from Z */