Searched refs:tex_options (Results 1 – 4 of 4) sorted by relevance
110 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()132 tex_options.lower_txp = ~0; /* lower all txp */ in ir3_optimize_nir()135 tex_options.lower_txp = (1 << GLSL_SAMPLER_DIM_3D); in ir3_optimize_nir()167 OPT_V(s, nir_lower_tex, &tex_options); in ir3_optimize_nir()
546 static const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local553 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()668 nir_lower_tex_options tex_options = { 0 }; in brw_nir_apply_sampler_key() local672 tex_options.lower_rect = true; in brw_nir_apply_sampler_key()676 tex_options.saturate_s = key_tex->gl_clamp_mask[0]; in brw_nir_apply_sampler_key()677 tex_options.saturate_t = key_tex->gl_clamp_mask[1]; in brw_nir_apply_sampler_key()678 tex_options.saturate_r = key_tex->gl_clamp_mask[2]; in brw_nir_apply_sampler_key()686 tex_options.swizzle_result |= (1 << s); in brw_nir_apply_sampler_key()688 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in brw_nir_apply_sampler_key()692 tex_options.lower_txd_shadow = devinfo->gen < 8 && !devinfo->is_haswell; in brw_nir_apply_sampler_key()[all …]
2225 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local2253 tex_options.swizzles[i][j] = in vc4_shader_ntq()2256 tex_options.swizzles[i][j] = arb_swiz; in vc4_shader_ntq()2261 tex_options.lower_srgb |= (1 << i); in vc4_shader_ntq()2264 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in vc4_shader_ntq()
249 static const nir_lower_tex_options tex_options = { in radv_shader_compile_to_nir() local253 nir_lower_tex(nir, &tex_options); in radv_shader_compile_to_nir()