| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 67 if (pair->RGB.Src[i].Used) { 68 if (pair->RGB.Src[i].File != file || 69 pair->RGB.Src[i].Index != index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[ [all...] |
| H A D | radeon_pair_dead_sources.c | 35 if (sub->Src[RC_PAIR_PRESUB_SRC].Used) { 37 sub->Src[RC_PAIR_PRESUB_SRC].Index); 40 sub->Src[i].Used = 1; 54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; 58 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 79 inst->U.P.RGB.Src[i].Used = 0; 80 inst->U.P.Alpha.Src[i].Used = 0;
|
| H A D | radeon_variable.c | 78 reader->U.I.Src->Index = new_index; 79 reader->U.I.Src->Swizzle = rc_rewrite_swizzle( 80 reader->U.I.Src->Swizzle, conversion_swizzle); 90 pair_inst, reader->U.P.Src); 104 pair_inst->RGB.Src[src_index] 106 pair_inst->RGB.Src[src_index] 108 pair_inst->RGB.Src[src_index] 112 pair_inst->Alpha.Src[src_index] 114 pair_inst->Alpha.Src[src_index] 116 pair_inst->Alpha.Src[src_inde [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 67 if (pair->RGB.Src[i].Used) { 68 if (pair->RGB.Src[i].File != file || 69 pair->RGB.Src[i].Index != index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[ [all...] |
| H A D | radeon_pair_dead_sources.c | 35 if (sub->Src[RC_PAIR_PRESUB_SRC].Used) { 37 sub->Src[RC_PAIR_PRESUB_SRC].Index); 40 sub->Src[i].Used = 1; 54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; 58 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 79 inst->U.P.RGB.Src[i].Used = 0; 80 inst->U.P.Alpha.Src[i].Used = 0;
|
| H A D | radeon_variable.c | 78 reader->U.I.Src->Index = new_index; 79 reader->U.I.Src->Swizzle = rc_rewrite_swizzle( 80 reader->U.I.Src->Swizzle, conversion_swizzle); 90 pair_inst, reader->U.P.Src); 104 pair_inst->RGB.Src[src_index] 106 pair_inst->RGB.Src[src_index] 108 pair_inst->RGB.Src[src_index] 112 pair_inst->Alpha.Src[src_index] 114 pair_inst->Alpha.Src[src_index] 116 pair_inst->Alpha.Src[src_inde [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_cb_bitmap_shader.c | 110 inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; 111 inst.Src[0].Register.Index = 0; 112 inst.Src[0].Register.Negate = 1; 113 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 115 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; 116 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; 117 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; 119 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; 120 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; 121 inst.Src[ [all...] |
| H A D | st_tgsi_lower_yuv.c | 109 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; 110 inst.Src[1].Register.Index = samp; 266 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, _)); 267 reg_src(&inst.Src[1], &ctx->imm[3], SWIZ(X, Y, Z, _)); 268 inst.Src[1].Register.Negate = 1; 275 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); 276 reg_src(&inst.Src[1], &ctx->imm[0], SWIZ(X, Y, Z, W)); 284 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); 285 reg_src(&inst.Src[1], &ctx->imm[1], SWIZ(X, Y, Z, W)); 293 reg_src(&inst.Src[ [all...] |
| H A D | st_cb_drawpixels_shader.c | 59 inst->Src[i].Register.File = file; 60 inst->Src[i].Register.Index = index; 61 inst->Src[i].Register.SwizzleX = x; 62 inst->Src[i].Register.SwizzleY = y; 63 inst->Src[i].Register.SwizzleZ = z; 64 inst->Src[i].Register.SwizzleW = w; 175 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; 176 inst.Src[1].Register.Index = ctx->pixelmap_sampler; 193 struct tgsi_full_src_register *src = ¤t_inst->Src[i];
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_cb_bitmap_shader.c | 109 inst.Src[0].Register.File = TGSI_FILE_TEMPORARY; 110 inst.Src[0].Register.Index = 0; 111 inst.Src[0].Register.Negate = 1; 112 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 114 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; 115 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; 116 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; 118 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; 119 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; 120 inst.Src[ [all...] |
| H A D | st_tgsi_lower_yuv.c | 108 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; 109 inst.Src[1].Register.Index = samp; 265 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, _)); 266 reg_src(&inst.Src[1], &ctx->imm[3], SWIZ(X, Y, Z, _)); 267 inst.Src[1].Register.Negate = 1; 274 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); 275 reg_src(&inst.Src[1], &ctx->imm[0], SWIZ(X, Y, Z, W)); 283 reg_src(&inst.Src[0], &ctx->tmp[A].src, SWIZ(X, Y, Z, W)); 284 reg_src(&inst.Src[1], &ctx->imm[1], SWIZ(X, Y, Z, W)); 292 reg_src(&inst.Src[ [all...] |
| H A D | st_cb_drawpixels_shader.c | 59 inst->Src[i].Register.File = file; 60 inst->Src[i].Register.Index = index; 61 inst->Src[i].Register.SwizzleX = x; 62 inst->Src[i].Register.SwizzleY = y; 63 inst->Src[i].Register.SwizzleZ = z; 64 inst->Src[i].Register.SwizzleW = w; 175 inst.Src[1].Register.File = TGSI_FILE_SAMPLER; 176 inst.Src[1].Register.Index = ctx->pixelmap_sampler; 193 struct tgsi_full_src_register *src = ¤t_inst->Src[i];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_transform.h | 286 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 313 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 314 tgsi_transform_src_reg_xyzw(&inst.Src[1], src1_file, src1_index); 315 inst.Src[1].Register.Negate = src1_negate; 343 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 344 tgsi_transform_src_reg_xyzw(&inst.Src[1], src1_file, src1_index); 345 tgsi_transform_src_reg_xyzw(&inst.Src[2], src2_file, src2_index); 371 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 374 inst.Src[0].Register.SwizzleX = src0_swizzle; 377 inst.Src[ [all...] |
| H A D | tgsi_lowering.c | 143 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); 201 struct tgsi_full_src_register *src0 = &inst->Src[0]; 202 struct tgsi_full_src_register *src1 = &inst->Src[1]; 222 reg_src(&new_inst.Src[0], src0, SWIZ(_, Y, _, _)); 223 reg_src(&new_inst.Src[1], src1, SWIZ(_, Y, _, _)); 234 reg_src(&new_inst.Src[0], src0, SWIZ(_, _, Z, _)); 245 reg_src(&new_inst.Src[0], src1, SWIZ(_, _, _, W)); 256 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, _)); 282 struct tgsi_full_src_register *src0 = &inst->Src[0]; 283 struct tgsi_full_src_register *src1 = &inst->Src[ [all...] |
| H A D | tgsi_two_side.c | 156 inst.Src[0].Register.File = TGSI_FILE_INPUT; 157 inst.Src[0].Register.Index = ts->face_input; 158 inst.Src[1].Register.File = TGSI_FILE_INPUT; 159 inst.Src[1].Register.Index = ts->back_color_input[i]; 160 inst.Src[2].Register.File = TGSI_FILE_INPUT; 161 inst.Src[2].Register.Index = ts->front_color_input[i]; 183 if (inst->Src[i].Register.File == TGSI_FILE_INPUT) { 185 if (inst->Src[i].Register.Index == (int)ts->front_color_input[j]) { 187 inst->Src[i].Register.File = TGSI_FILE_TEMPORARY; 188 inst->Src[ [all...] |
| H A D | tgsi_emulate.c | 93 new_inst.Src[0].Register.File = TGSI_FILE_INPUT; 94 new_inst.Src[0].Register.Index = ctx->info.num_inputs; 95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 96 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; 97 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; 98 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_transform.h | 304 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 331 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 332 tgsi_transform_src_reg_xyzw(&inst.Src[1], src1_file, src1_index); 333 inst.Src[1].Register.Negate = src1_negate; 361 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 362 tgsi_transform_src_reg_xyzw(&inst.Src[1], src1_file, src1_index); 363 tgsi_transform_src_reg_xyzw(&inst.Src[2], src2_file, src2_index); 389 tgsi_transform_src_reg_xyzw(&inst.Src[0], src0_file, src0_index); 392 inst.Src[0].Register.SwizzleX = src0_swizzle; 395 inst.Src[ [all...] |
| H A D | tgsi_dynamic_indexing.c | 137 tgsi_transform_src_reg(&inst.Src[0], file, 140 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_IMMEDIATE, 155 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_IMMEDIATE, 208 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, 212 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_TEMPORARY, 222 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_TEMPORARY, 231 if (inst.Src[j].Dimension.Indirect && 232 inst.Src[j].Register.File == TGSI_FILE_CONSTANT) { 233 inst.Src[j].Register.Dimension = 1; 234 inst.Src[ [all...] |
| H A D | tgsi_lowering.c | 144 reg_src(&new_inst.Src[0], src, SWIZ(X, Y, Z, W)); 202 struct tgsi_full_src_register *src0 = &inst->Src[0]; 203 struct tgsi_full_src_register *src1 = &inst->Src[1]; 223 reg_src(&new_inst.Src[0], src0, SWIZ(_, Y, _, _)); 224 reg_src(&new_inst.Src[1], src1, SWIZ(_, Y, _, _)); 235 reg_src(&new_inst.Src[0], src0, SWIZ(_, _, Z, _)); 246 reg_src(&new_inst.Src[0], src1, SWIZ(_, _, _, W)); 257 reg_src(&new_inst.Src[0], &ctx->imm, SWIZ(Y, _, _, _)); 283 struct tgsi_full_src_register *src0 = &inst->Src[0]; 284 struct tgsi_full_src_register *src1 = &inst->Src[ [all...] |
| H A D | tgsi_two_side.c | 156 inst.Src[0].Register.File = TGSI_FILE_INPUT; 157 inst.Src[0].Register.Index = ts->face_input; 158 inst.Src[1].Register.File = TGSI_FILE_INPUT; 159 inst.Src[1].Register.Index = ts->back_color_input[i]; 160 inst.Src[2].Register.File = TGSI_FILE_INPUT; 161 inst.Src[2].Register.Index = ts->front_color_input[i]; 183 if (inst->Src[i].Register.File == TGSI_FILE_INPUT) { 185 if (inst->Src[i].Register.Index == (int)ts->front_color_input[j]) { 187 inst->Src[i].Register.File = TGSI_FILE_TEMPORARY; 188 inst->Src[ [all...] |
| H A D | tgsi_emulate.c | 93 new_inst.Src[0].Register.File = TGSI_FILE_INPUT; 94 new_inst.Src[0].Register.Index = ctx->info.num_inputs; 95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 96 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; 97 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; 98 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| H A D | i915_fpc_optimize.c | 247 copy_src_reg(&o->Src[0].Register, &i->Src[0].Register); 248 copy_src_reg(&o->Src[1].Register, &i->Src[1].Register); 249 copy_src_reg(&o->Src[2].Register, &i->Src[2].Register); 341 src_reg = ¤t->FullInstruction.Src[2]; 344 src_reg = ¤t->FullInstruction.Src[1]; 347 src_reg = ¤t->FullInstruction.Src[0]; 413 same_src_dst_reg(&next->FullInstruction.Src[ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| H A D | i915_fpc_optimize.c | 265 copy_src_reg(&o->Src[0].Register, &i->Src[0].Register); 266 copy_src_reg(&o->Src[1].Register, &i->Src[1].Register); 267 copy_src_reg(&o->Src[2].Register, &i->Src[2].Register); 355 src_reg = ¤t->FullInstruction.Src[2]; 359 src_reg = ¤t->FullInstruction.Src[1]; 363 src_reg = ¤t->FullInstruction.Src[0]; 434 same_src_dst_reg(&next->FullInstruction.Src[ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_tgsi.c | 96 if (inst->Src[i].Register.File == TGSI_FILE_CONSTANT && 97 inst->Src[i].Register.Dimension && 98 inst->Src[i].Dimension.Index == 0) 99 inst->Src[i].Register.Dimension = 0;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_tgsi.c | 96 if (inst->Src[i].Register.File == TGSI_FILE_CONSTANT && 97 inst->Src[i].Register.Dimension && 98 inst->Src[i].Dimension.Index == 0) 99 inst->Src[i].Register.Dimension = 0;
|