Searched refs:tgsi_src (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 851 struct tgsi_src_register *tgsi_src = &tgsi_fsrc->Register; in ttn_get_src() local 861 if (tgsi_src->File == TGSI_FILE_NULL) { in ttn_get_src() 863 } else if (tgsi_src->File == TGSI_FILE_SAMPLER || in ttn_get_src() 864 tgsi_src->File == TGSI_FILE_IMAGE || in ttn_get_src() 865 tgsi_src->File == TGSI_FILE_BUFFER) { in ttn_get_src() 869 assert(!tgsi_src->Indirect); in ttn_get_src() 875 if (tgsi_src->Indirect) in ttn_get_src() 877 if (tgsi_src->Dimension) { in ttn_get_src() 883 tgsi_src->File, in ttn_get_src() 884 tgsi_src->Index, 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 | 1592 static void tgsi_src(struct r600_shader_ctx *ctx, in tgsi_src() function 1593 const struct tgsi_full_src_register *tgsi_src, in tgsi_src() argument 1597 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src() 1598 r600_src->swizzle[1] = tgsi_src->Register.SwizzleY; in tgsi_src() 1599 r600_src->swizzle[2] = tgsi_src->Register.SwizzleZ; in tgsi_src() 1600 r600_src->swizzle[3] = tgsi_src->Register.SwizzleW; in tgsi_src() 1601 r600_src->neg = tgsi_src->Register.Negate; in tgsi_src() 1602 r600_src->abs = tgsi_src->Register.Absolute; in tgsi_src() 1604 if (tgsi_src->Register.File == TGSI_FILE_TEMPORARY) { in tgsi_src() 1608 idx = map_tgsi_reg_index_to_r600_gpr(ctx, tgsi_src->Register.Index, &spilled); in tgsi_src() [all …]
|