Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/ir3/
Dir3_nir.c273 struct nir_lower_tex_options tex_options = { in ir3_finalize_nir() local
280 tex_options.lower_txp = ~0; /* lower all txp */ in ir3_finalize_nir()
283 tex_options.lower_txp = (1 << GLSL_SAMPLER_DIM_3D); in ir3_finalize_nir()
302 OPT_V(s, nir_lower_tex, &tex_options); in ir3_finalize_nir()
475 struct nir_lower_tex_options tex_options = { }; in ir3_nir_lower_variant() local
479 tex_options.saturate_s = so->key.fsaturate_s; in ir3_nir_lower_variant()
480 tex_options.saturate_t = so->key.fsaturate_t; in ir3_nir_lower_variant()
481 tex_options.saturate_r = so->key.fsaturate_r; in ir3_nir_lower_variant()
484 tex_options.saturate_s = so->key.vsaturate_s; in ir3_nir_lower_variant()
485 tex_options.saturate_t = so->key.vsaturate_t; in ir3_nir_lower_variant()
[all …]
/external/mesa3d/src/gallium/drivers/lima/
Dlima_program.c196 struct nir_lower_tex_options *tex_options) in lima_program_optimize_fs_nir() argument
204 NIR_PASS_V(s, nir_lower_tex, tex_options); in lima_program_optimize_fs_nir()
267 struct nir_lower_tex_options *tex_options) in lima_fs_compile_shader() argument
272 lima_program_optimize_fs_nir(nir, tex_options); in lima_fs_compile_shader()
318 struct nir_lower_tex_options tex_options = { in lima_create_fs_state() local
327 if (!lima_fs_compile_shader(ctx, so, &tex_options)) { in lima_create_fs_state()
381 struct nir_lower_tex_options tex_options = { in lima_update_fs_state() local
407 tex_options.swizzles[i][j] = swizzle[j]; in lima_update_fs_state()
410 tex_options.swizzle_result |= (1 << i); in lima_update_fs_state()
424 if (!lima_fs_compile_shader(ctx, fs, &tex_options)) in lima_update_fs_state()
Dlima_program.h40 struct nir_lower_tex_options *tex_options);
/external/mesa3d/src/intel/compiler/
Dbrw_nir.c769 static const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local
781 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()
1168 nir_lower_tex_options tex_options = { in brw_nir_apply_sampler_key() local
1175 tex_options.lower_rect = true; in brw_nir_apply_sampler_key()
1179 tex_options.saturate_s = key_tex->gl_clamp_mask[0]; in brw_nir_apply_sampler_key()
1180 tex_options.saturate_t = key_tex->gl_clamp_mask[1]; in brw_nir_apply_sampler_key()
1181 tex_options.saturate_r = key_tex->gl_clamp_mask[2]; in brw_nir_apply_sampler_key()
1189 tex_options.swizzle_result |= BITFIELD_BIT(s); in brw_nir_apply_sampler_key()
1191 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in brw_nir_apply_sampler_key()
1195 tex_options.lower_txd_shadow = devinfo->gen < 8 && !devinfo->is_haswell; in brw_nir_apply_sampler_key()
[all …]
/external/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c215 struct nir_lower_tex_options tex_options = { in main() local
231 lima_program_optimize_fs_nir(nir, &tex_options); in main()
/external/mesa3d/src/broadcom/compiler/
Dvir.c554 struct nir_lower_tex_options tex_options = { in v3d_lower_nir() local
569 tex_options.swizzles[i][j] = c->key->tex[i].swizzle[j]; in v3d_lower_nir()
572 tex_options.saturate_s |= 1 << i; in v3d_lower_nir()
574 tex_options.saturate_t |= 1 << i; in v3d_lower_nir()
576 tex_options.saturate_r |= 1 << i; in v3d_lower_nir()
578 tex_options.lower_tex_packing[i] = in v3d_lower_nir()
593 tex_options.lower_tex_packing[var->data.binding + i] = in v3d_lower_nir()
598 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c105 struct nir_lower_tex_options tex_options = { in ir2_optimize_nir() local
122 OPT_V(s, nir_lower_tex, &tex_options); in ir2_optimize_nir()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c2257 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local
2285 tex_options.swizzles[i][j] = in vc4_shader_ntq()
2288 tex_options.swizzles[i][j] = arb_swiz; in vc4_shader_ntq()
2293 tex_options.lower_srgb |= (1 << i); in vc4_shader_ntq()
2296 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in vc4_shader_ntq()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c599 static const nir_lower_tex_options tex_options = { in radv_shader_compile_to_nir() local
604 nir_lower_tex(nir, &tex_options); in radv_shader_compile_to_nir()