Home
last modified time | relevance | path

Searched refs:tgsi_src (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv30/
Dnvfx_vertprog.c364 tgsi_src(struct nvfx_vpc *vpc, const struct tgsi_full_src_register *fsrc) { in tgsi_src() function
479 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction()
492 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction()
496 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction()
503 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction()
507 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction()
514 src[i] = tgsi_src(vpc, fsrc); in nvfx_vertprog_parse_instruction()
518 tgsi_src(vpc, fsrc), none, none)); in nvfx_vertprog_parse_instruction()
Dnvfx_fragprog.c371 tgsi_src(struct nvfx_fpc *fpc, const struct tgsi_full_src_register *fsrc) in tgsi_src() function
459 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction()
483 … 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()
486 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction()
489 … 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()
496 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction()
499 … 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()
506 src[i] = tgsi_src(fpc, fsrc); in nvfx_fragprog_parse_instruction()
509 … 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()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c937 static void tgsi_src(struct r600_shader_ctx *ctx, in tgsi_src() function
938 const struct tgsi_full_src_register *tgsi_src, in tgsi_src() argument
942 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src()
943 r600_src->swizzle[1] = tgsi_src->Register.SwizzleY; in tgsi_src()
944 r600_src->swizzle[2] = tgsi_src->Register.SwizzleZ; in tgsi_src()
945 r600_src->swizzle[3] = tgsi_src->Register.SwizzleW; in tgsi_src()
946 r600_src->neg = tgsi_src->Register.Negate; in tgsi_src()
947 r600_src->abs = tgsi_src->Register.Absolute; in tgsi_src()
949 if (tgsi_src->Register.File == TGSI_FILE_IMMEDIATE) { in tgsi_src()
951 if ((tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleY) && in tgsi_src()
[all …]