Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp6637 ubyte tgsi_usage_mask = decl->usage_mask; in st_translate_program() local
6640 if (tgsi_usage_mask == 1) in st_translate_program()
6641 tgsi_usage_mask = TGSI_WRITEMASK_XY; in st_translate_program()
6642 else if (tgsi_usage_mask == 2) in st_translate_program()
6643 tgsi_usage_mask = TGSI_WRITEMASK_ZW; in st_translate_program()
6645 tgsi_usage_mask = TGSI_WRITEMASK_XYZW; in st_translate_program()
6664 interp_mode, 0, interp_location, slot, tgsi_usage_mask, in st_translate_program()
6705 ubyte tgsi_usage_mask = decl->usage_mask; in st_translate_program() local
6708 if (tgsi_usage_mask == 1) in st_translate_program()
6709 tgsi_usage_mask = TGSI_WRITEMASK_XY; in st_translate_program()
[all …]
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c136 uint32_t tgsi_usage_mask = 0; in ntt_tgsi_usage_mask() local
139 tgsi_usage_mask |= TGSI_WRITEMASK_XY; in ntt_tgsi_usage_mask()
141 tgsi_usage_mask |= TGSI_WRITEMASK_ZW; in ntt_tgsi_usage_mask()
143 return tgsi_usage_mask; in ntt_tgsi_usage_mask()