Searched refs:shadow_ref (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 2253 int dim, shadow_ref, i; in exec_tex() local 2263 shadow_ref = tgsi_util_get_shadow_ref_src_index(inst->Texture.Texture); in exec_tex() 2266 if (shadow_ref >= 0) in exec_tex() 2267 assert(shadow_ref >= dim && shadow_ref < ARRAY_SIZE(args)); in exec_tex() 2275 assert(dim <= TGSI_CHAN_W && shadow_ref != TGSI_CHAN_W); in exec_tex() 2279 assert(shadow_ref != 4); in exec_tex() 2318 if (shadow_ref >= 0) { in exec_tex() 2319 FETCH(&r[shadow_ref], shadow_ref / 4, TGSI_CHAN_X + (shadow_ref % 4)); in exec_tex() 2322 micro_div(&r[shadow_ref], &r[shadow_ref], proj); in exec_tex() 2324 args[shadow_ref] = &r[shadow_ref]; in exec_tex()
|
/external/mesa3d/src/gallium/docs/source/ |
D | tgsi.rst | 531 shadow_ref = src0.z or src0.w (optional) 535 dst = texture\_sample(unit, coord, shadow_ref) 547 shadow_ref = src1.x 551 dst = texture\_sample(unit, coord, shadow_ref)
|