Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir.c110 struct nir_lower_tex_options tex_options = { in ir3_optimize_nir() local
118 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir.c546 static const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local
553 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()
668 nir_lower_tex_options tex_options = { 0 }; in brw_nir_apply_sampler_key() local
672 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 …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c2225 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local
2253 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()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c249 static const nir_lower_tex_options tex_options = { in radv_shader_compile_to_nir() local
253 nir_lower_tex(nir, &tex_options); in radv_shader_compile_to_nir()