Home
last modified time | relevance | path

Searched refs:src_chans (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c226 nir_ssa_def **src_chans, nir_ssa_def **dst_chans, in v3d_emit_logic_op_raw() argument
233 nir_ssa_def *src = src_chans[i]; in v3d_emit_logic_op_raw()
248 nir_ssa_def **src_chans, nir_ssa_def **dst_chans, in v3d_emit_logic_op_unorm() argument
254 v3d_nir_swizzle_and_pack(b, src_chans, src_swz, pack_func); in v3d_emit_logic_op_unorm()
272 nir_ssa_def *src_chans[4], *dst_chans[4]; in v3d_nir_emit_logic_op() local
274 src_chans[i] = nir_channel(b, src, i); in v3d_nir_emit_logic_op()
280 c, b, src_chans, dst_chans, rt, 0, in v3d_nir_emit_logic_op()
286 c, b, src_chans, dst_chans, rt, 0, in v3d_nir_emit_logic_op()
290 return v3d_emit_logic_op_raw(c, b, src_chans, dst_chans, rt, 0); in v3d_nir_emit_logic_op()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5410 int src_chans = 1 << GET_SWZ(inst->src[i].swizzle, 0); in eliminate_dead_code() local
5411 src_chans |= 1 << GET_SWZ(inst->src[i].swizzle, 1); in eliminate_dead_code()
5412 src_chans |= 1 << GET_SWZ(inst->src[i].swizzle, 2); in eliminate_dead_code()
5413 src_chans |= 1 << GET_SWZ(inst->src[i].swizzle, 3); in eliminate_dead_code()
5416 if (src_chans & (1 << c)) in eliminate_dead_code()
5431 int src_chans = 1 << GET_SWZ(inst->tex_offsets[i].swizzle, 0); in eliminate_dead_code() local
5432 src_chans |= 1 << GET_SWZ(inst->tex_offsets[i].swizzle, 1); in eliminate_dead_code()
5433 src_chans |= 1 << GET_SWZ(inst->tex_offsets[i].swizzle, 2); in eliminate_dead_code()
5434 src_chans |= 1 << GET_SWZ(inst->tex_offsets[i].swizzle, 3); in eliminate_dead_code()
5437 if (src_chans & (1 << c)) in eliminate_dead_code()
[all …]