Home
last modified time | relevance | path

Searched refs:read_mask (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c177 unsigned read_mask; in tgsi_util_get_inst_usage_mask() local
221 read_mask = write_mask; in tgsi_util_get_inst_usage_mask()
227 read_mask = TGSI_WRITEMASK_X; in tgsi_util_get_inst_usage_mask()
231 read_mask = write_mask & TGSI_WRITEMASK_XY ? TGSI_WRITEMASK_X : 0; in tgsi_util_get_inst_usage_mask()
236 read_mask = write_mask & TGSI_WRITEMASK_XYZ ? TGSI_WRITEMASK_X : 0; in tgsi_util_get_inst_usage_mask()
240 read_mask = src_idx == 2 ? TGSI_WRITEMASK_X : TGSI_WRITEMASK_XY; in tgsi_util_get_inst_usage_mask()
244 read_mask = TGSI_WRITEMASK_XY; in tgsi_util_get_inst_usage_mask()
248 read_mask = TGSI_WRITEMASK_XYZ; in tgsi_util_get_inst_usage_mask()
252 read_mask = TGSI_WRITEMASK_XYZW; in tgsi_util_get_inst_usage_mask()
256 read_mask = src_idx == 0 ? TGSI_WRITEMASK_XYZ : TGSI_WRITEMASK_XYZW; in tgsi_util_get_inst_usage_mask()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_optimize.c58 GLuint read_mask, channel_mask; in get_src_arg_mask() local
115 read_mask = 0x0; in get_src_arg_mask()
120 read_mask |= 1 << coord; in get_src_arg_mask()
123 return read_mask; in get_src_arg_mask()
276 GLuint read_mask; in _mesa_remove_dead_code_global() local
278 read_mask = get_src_arg_mask(inst, j, NO_MASK); in _mesa_remove_dead_code_global()
289 if ((read_mask & (1 << swz)) == 0) in _mesa_remove_dead_code_global()
539 GLuint comp, read_mask; in _mesa_remove_extra_move_use() local
546 read_mask = get_src_arg_mask(inst2, arg, NO_MASK); in _mesa_remove_extra_move_use()
552 (read_mask & dst_mask) == read_mask) { in _mesa_remove_extra_move_use()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.c522 unsigned int shared_mask, read_mask; in get_readers_read_callback() local
538 read_mask = rc_swizzle_to_writemask(swizzle); in get_readers_read_callback()
539 if (cb_data->ReaderData->AbortOnRead & read_mask) { in get_readers_read_callback()
546 (read_mask & cb_data->AliveWriteMask); in get_readers_read_callback()
550 if ((read_mask & cb_data->AliveWriteMask) != read_mask) { in get_readers_read_callback()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2990 int read_mask = 0, comp; in get_src_arg_mask() local
2999 read_mask |= 1 << coord; in get_src_arg_mask()
3002 return read_mask; in get_src_arg_mask()