/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir.c | 784 const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local 797 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir() 1206 nir_lower_tex_options tex_options = { in brw_nir_apply_sampler_key() local 1213 tex_options.lower_rect = true; in brw_nir_apply_sampler_key() 1217 tex_options.saturate_s = key_tex->gl_clamp_mask[0]; in brw_nir_apply_sampler_key() 1218 tex_options.saturate_t = key_tex->gl_clamp_mask[1]; in brw_nir_apply_sampler_key() 1219 tex_options.saturate_r = key_tex->gl_clamp_mask[2]; in brw_nir_apply_sampler_key() 1227 tex_options.swizzle_result |= BITFIELD_BIT(s); in brw_nir_apply_sampler_key() 1229 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in brw_nir_apply_sampler_key() 1233 tex_options.lower_txd_shadow = devinfo->verx10 <= 70; in brw_nir_apply_sampler_key() [all …]
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_program.h | 40 struct nir_lower_tex_options *tex_options);
|
D | lima_program.c | 210 struct nir_lower_tex_options *tex_options) in lima_program_optimize_fs_nir() argument 218 NIR_PASS_V(s, nir_lower_tex, tex_options); in lima_program_optimize_fs_nir() 285 struct nir_lower_tex_options tex_options = { in lima_fs_compile_shader() local 292 tex_options.swizzles[i][j] = key->tex[i].swizzle[j]; in lima_fs_compile_shader() 295 lima_program_optimize_fs_nir(nir, &tex_options); in lima_fs_compile_shader()
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 215 struct nir_lower_tex_options tex_options = { in main() local 231 lima_program_optimize_fs_nir(nir, &tex_options); in main()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.cpp | 869 struct nir_lower_tex_options tex_options = { }; in select_shader_variant() local 870 tex_options.lower_txp = ~0u; /* No equivalent for textureProj */ in select_shader_variant() 871 tex_options.lower_rect = true; in select_shader_variant() 872 tex_options.lower_rect_offset = true; in select_shader_variant() 873 tex_options.saturate_s = key.tex_saturate_s; in select_shader_variant() 874 tex_options.saturate_r = key.tex_saturate_r; in select_shader_variant() 875 tex_options.saturate_t = key.tex_saturate_t; in select_shader_variant() 877 NIR_PASS_V(new_nir_variant, nir_lower_tex, &tex_options); in select_shader_variant()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.c | 380 struct nir_lower_tex_options tex_options = { in ir3_finalize_nir() local 387 tex_options.lower_txp = ~0; /* lower all txp */ in ir3_finalize_nir() 390 tex_options.lower_txp = (1 << GLSL_SAMPLER_DIM_3D); in ir3_finalize_nir() 407 OPT_V(s, nir_lower_tex, &tex_options); in ir3_finalize_nir()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir.c | 596 struct nir_lower_tex_options tex_options = { in v3d_lower_nir() local 612 tex_options.swizzles[i][j] = c->key->tex[i].swizzle[j]; in v3d_lower_nir() 618 tex_options.lower_tex_packing[i] = in v3d_lower_nir() 633 tex_options.lower_tex_packing[var->data.binding + i] = in v3d_lower_nir() 638 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_nir.c | 110 struct nir_lower_tex_options tex_options = { in ir2_optimize_nir() local 128 OPT_V(s, nir_lower_tex, &tex_options); in ir2_optimize_nir()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 2260 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local 2283 tex_options.swizzles[i][j] = in vc4_shader_ntq() 2286 tex_options.swizzles[i][j] = arb_swiz; in vc4_shader_ntq() 2291 tex_options.lower_srgb |= (1 << i); in vc4_shader_ntq() 2294 NIR_PASS_V(c->s, nir_lower_tex, &tex_options); in vc4_shader_ntq()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program.c | 219 struct nir_lower_tex_options tex_options = { 0 }; in crocus_lower_swizzles() local 228 tex_options.swizzle_result |= (1 << s); in crocus_lower_swizzles() 230 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in crocus_lower_swizzles() 232 if (tex_options.swizzle_result) in crocus_lower_swizzles() 233 nir_lower_tex(nir, &tex_options); in crocus_lower_swizzles()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 638 static const nir_lower_tex_options tex_options = { in radv_shader_compile_to_nir() local 645 nir_lower_tex(nir, &tex_options); in radv_shader_compile_to_nir()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_nir.cpp | 3138 struct nir_lower_tex_options tex_options = {}; in run() local 3139 tex_options.lower_txp = ~0; in run() 3141 NIR_PASS_V(nir, nir_lower_tex, &tex_options); in run()
|