Searched refs:tgsi_src (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 772 struct tgsi_src_register *tgsi_src = &tgsi_fsrc->Register; in ttn_get_src() local 781 if (tgsi_src->File == TGSI_FILE_NULL) { in ttn_get_src() 783 } else if (tgsi_src->File == TGSI_FILE_SAMPLER) { in ttn_get_src() 787 assert(!tgsi_src->Indirect); in ttn_get_src() 793 if (tgsi_src->Indirect) in ttn_get_src() 795 if (tgsi_src->Dimension) { in ttn_get_src() 801 tgsi_src->File, in ttn_get_src() 802 tgsi_src->Index, in ttn_get_src() 806 src.swizzle[0] = tgsi_src->SwizzleX; in ttn_get_src() 807 src.swizzle[1] = tgsi_src->SwizzleY; in ttn_get_src() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_fragprog.c | 376 tgsi_src(struct nvfx_fpc *fpc, const struct tgsi_full_src_register *fsrc) in tgsi_src() function 464 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 488 … 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() 491 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 494 … 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() 501 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 504 … 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() 511 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction() 514 … 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 | 365 tgsi_src(struct nvfx_vpc *vpc, const struct tgsi_full_src_register *fsrc) { in tgsi_src() function 480 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 493 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 497 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction() 504 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 508 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction() 515 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction() 519 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 1289 static void tgsi_src(struct r600_shader_ctx *ctx, in tgsi_src() function 1290 const struct tgsi_full_src_register *tgsi_src, in tgsi_src() argument 1294 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src() 1295 r600_src->swizzle[1] = tgsi_src->Register.SwizzleY; in tgsi_src() 1296 r600_src->swizzle[2] = tgsi_src->Register.SwizzleZ; in tgsi_src() 1297 r600_src->swizzle[3] = tgsi_src->Register.SwizzleW; in tgsi_src() 1298 r600_src->neg = tgsi_src->Register.Negate; in tgsi_src() 1299 r600_src->abs = tgsi_src->Register.Absolute; in tgsi_src() 1301 if (tgsi_src->Register.File == TGSI_FILE_IMMEDIATE) { in tgsi_src() 1303 if ((tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleY) && in tgsi_src() [all …]
|