Searched refs:tgsi_src (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 774 struct tgsi_src_register *tgsi_src = &tgsi_fsrc->Register; in ttn_get_src() local 783 if (tgsi_src->File == TGSI_FILE_NULL) { in ttn_get_src() 785 } else if (tgsi_src->File == TGSI_FILE_SAMPLER) { in ttn_get_src() 789 assert(!tgsi_src->Indirect); in ttn_get_src() 795 if (tgsi_src->Indirect) in ttn_get_src() 797 if (tgsi_src->Dimension) { in ttn_get_src() 803 tgsi_src->File, in ttn_get_src() 804 tgsi_src->Index, in ttn_get_src() 808 src.swizzle[0] = tgsi_src->SwizzleX; in ttn_get_src() 809 src.swizzle[1] = tgsi_src->SwizzleY; in ttn_get_src() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_fragprog.c | 377 tgsi_src(struct nvfx_fpc *fpc, const struct tgsi_full_src_register *fsrc) in tgsi_src() function 465 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 489 … nvfx_fp_emit(fpc, arith(0, ADD, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), addend, none)); in nvfx_fragprog_parse_instruction() 492 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 495 … nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none)); in nvfx_fragprog_parse_instruction() 502 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 505 … nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none)); in nvfx_fragprog_parse_instruction() 512 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 515 … nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none)); in nvfx_fragprog_parse_instruction()
|
D | nvfx_vertprog.c | 366 tgsi_src(struct nvfx_vpc *vpc, const struct tgsi_full_src_register *fsrc) { in tgsi_src() function 481 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 494 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 498 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction() 505 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 509 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction() 516 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 520 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 1361 static void tgsi_src(struct r600_shader_ctx *ctx, in tgsi_src() function 1362 const struct tgsi_full_src_register *tgsi_src, in tgsi_src() argument 1366 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src() 1367 r600_src->swizzle[1] = tgsi_src->Register.SwizzleY; in tgsi_src() 1368 r600_src->swizzle[2] = tgsi_src->Register.SwizzleZ; in tgsi_src() 1369 r600_src->swizzle[3] = tgsi_src->Register.SwizzleW; in tgsi_src() 1370 r600_src->neg = tgsi_src->Register.Negate; in tgsi_src() 1371 r600_src->abs = tgsi_src->Register.Absolute; in tgsi_src() 1373 if (tgsi_src->Register.File == TGSI_FILE_IMMEDIATE) { in tgsi_src() 1375 if ((tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleY) && in tgsi_src() [all …]
|