Searched refs:tex_options (Results 1 – 5 of 5) sorted by relevance
111 struct nir_lower_tex_options tex_options = { in ir3_optimize_nir() local118 tex_options.saturate_s = key->fsaturate_s; in ir3_optimize_nir()119 tex_options.saturate_t = key->fsaturate_t; in ir3_optimize_nir()120 tex_options.saturate_r = key->fsaturate_r; in ir3_optimize_nir()123 tex_options.saturate_s = key->vsaturate_s; in ir3_optimize_nir()124 tex_options.saturate_t = key->vsaturate_t; in ir3_optimize_nir()125 tex_options.saturate_r = key->vsaturate_r; in ir3_optimize_nir()135 tex_options.lower_txp = ~0; /* lower all txp */ in ir3_optimize_nir()138 tex_options.lower_txp = (1 << GLSL_SAMPLER_DIM_3D); in ir3_optimize_nir()170 OPT_V(s, nir_lower_tex, &tex_options); in ir3_optimize_nir()
623 static const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local630 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()790 nir_lower_tex_options tex_options = { 0 }; in brw_nir_apply_sampler_key() local794 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()[all …]
555 struct nir_lower_tex_options tex_options = { in v3d_lower_nir() local568 tex_options.swizzles[i][j] = c->key->tex[i].swizzle[j]; in v3d_lower_nir()571 tex_options.saturate_s |= 1 << i; in v3d_lower_nir()573 tex_options.saturate_t |= 1 << i; in v3d_lower_nir()575 tex_options.saturate_r |= 1 << i; in v3d_lower_nir()578 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
293 static const nir_lower_tex_options tex_options = { in radv_shader_compile_to_nir() local297 nir_lower_tex(nir, &tex_options); in radv_shader_compile_to_nir()
2263 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local2291 tex_options.swizzles[i][j] = in vc4_shader_ntq()2294 tex_options.swizzles[i][j] = arb_swiz; in vc4_shader_ntq()2299 tex_options.lower_srgb |= (1 << i); in vc4_shader_ntq()2302 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in vc4_shader_ntq()