Lines Matching refs:tex_options
623 static const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local
630 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()
790 nir_lower_tex_options tex_options = { 0 }; in brw_nir_apply_sampler_key() local
794 tex_options.lower_rect = true; in brw_nir_apply_sampler_key()
798 tex_options.saturate_s = key_tex->gl_clamp_mask[0]; in brw_nir_apply_sampler_key()
799 tex_options.saturate_t = key_tex->gl_clamp_mask[1]; in brw_nir_apply_sampler_key()
800 tex_options.saturate_r = key_tex->gl_clamp_mask[2]; in brw_nir_apply_sampler_key()
808 tex_options.swizzle_result |= (1 << s); in brw_nir_apply_sampler_key()
810 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in brw_nir_apply_sampler_key()
814 tex_options.lower_txd_shadow = devinfo->gen < 8 && !devinfo->is_haswell; in brw_nir_apply_sampler_key()
816 tex_options.lower_y_uv_external = key_tex->y_uv_image_mask; in brw_nir_apply_sampler_key()
817 tex_options.lower_y_u_v_external = key_tex->y_u_v_image_mask; in brw_nir_apply_sampler_key()
818 tex_options.lower_yx_xuxv_external = key_tex->yx_xuxv_image_mask; in brw_nir_apply_sampler_key()
819 tex_options.lower_xy_uxvx_external = key_tex->xy_uxvx_image_mask; in brw_nir_apply_sampler_key()
821 if (nir_lower_tex(nir, &tex_options)) { in brw_nir_apply_sampler_key()