/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir.c | 837 const nir_lower_tex_options tex_options = { in brw_preprocess_nir() local 854 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir() 1329 nir_lower_tex_options tex_options = { in brw_nir_apply_sampler_key() local 1337 tex_options.lower_rect = true; in brw_nir_apply_sampler_key() 1341 tex_options.saturate_s = key_tex->gl_clamp_mask[0]; in brw_nir_apply_sampler_key() 1342 tex_options.saturate_t = key_tex->gl_clamp_mask[1]; in brw_nir_apply_sampler_key() 1343 tex_options.saturate_r = key_tex->gl_clamp_mask[2]; in brw_nir_apply_sampler_key() 1347 tex_options.lower_txd_shadow = devinfo->verx10 <= 70; in brw_nir_apply_sampler_key() 1349 tex_options.lower_y_uv_external = key_tex->y_uv_image_mask; in brw_nir_apply_sampler_key() 1350 tex_options.lower_y_u_v_external = key_tex->y_u_v_image_mask; in brw_nir_apply_sampler_key() [all …]
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_program.c | 223 struct nir_lower_tex_options *tex_options) in lima_program_optimize_fs_nir() argument 231 NIR_PASS_V(s, nir_lower_tex, tex_options); in lima_program_optimize_fs_nir() 299 struct nir_lower_tex_options tex_options = { in lima_fs_compile_shader() local 306 tex_options.swizzles[i][j] = key->tex[i].swizzle[j]; in lima_fs_compile_shader() 309 lima_program_optimize_fs_nir(nir, &tex_options); in lima_fs_compile_shader()
|
D | lima_program.h | 40 struct nir_lower_tex_options *tex_options);
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 215 struct nir_lower_tex_options tex_options = { in main() local 232 lima_program_optimize_fs_nir(nir, &tex_options); in main()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.cpp | 1168 struct nir_lower_tex_options tex_options = { }; in select_shader_variant() local 1169 tex_options.lower_txp = ~0u; /* No equivalent for textureProj */ in select_shader_variant() 1170 tex_options.lower_rect = true; in select_shader_variant() 1171 tex_options.lower_rect_offset = true; in select_shader_variant() 1172 tex_options.saturate_s = key.tex_saturate_s; in select_shader_variant() 1173 tex_options.saturate_r = key.tex_saturate_r; in select_shader_variant() 1174 tex_options.saturate_t = key.tex_saturate_t; in select_shader_variant() 1175 tex_options.lower_invalid_implicit_lod = true; in select_shader_variant() 1176 tex_options.lower_tg4_offsets = true; in select_shader_variant() 1178 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 | 316 struct nir_lower_tex_options tex_options = { in ir3_finalize_nir() local 324 tex_options.lower_txp = ~0; /* lower all txp */ in ir3_finalize_nir() 327 tex_options.lower_txp = (1 << GLSL_SAMPLER_DIM_3D); in ir3_finalize_nir() 344 OPT_V(s, nir_lower_tex, &tex_options); in ir3_finalize_nir()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir.c | 610 struct nir_lower_tex_options tex_options = { in v3d_lower_nir() local 627 tex_options.swizzles[i][j] = c->key->tex[i].swizzle[j]; in v3d_lower_nir() 633 tex_options.lower_tex_packing[i] = in v3d_lower_nir() 648 tex_options.lower_tex_packing[var->data.binding + i] = in v3d_lower_nir() 653 NIR_PASS(_, c->s, nir_lower_tex, &tex_options); in v3d_lower_nir()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 2243 struct nir_lower_tex_options tex_options = { in vc4_shader_ntq() local 2267 tex_options.swizzles[i][j] = in vc4_shader_ntq() 2270 tex_options.swizzles[i][j] = arb_swiz; in vc4_shader_ntq() 2275 tex_options.lower_srgb |= (1 << i); in vc4_shader_ntq() 2278 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 | 222 struct nir_lower_tex_options tex_options = { in crocus_lower_swizzles() local 233 tex_options.swizzle_result |= (1 << s); in crocus_lower_swizzles() 235 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c); in crocus_lower_swizzles() 237 if (tex_options.swizzle_result) in crocus_lower_swizzles() 238 nir_lower_tex(nir, &tex_options); in crocus_lower_swizzles()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_nir.c | 112 struct nir_lower_tex_options tex_options = { in ir2_optimize_nir() local 131 OPT_V(s, nir_lower_tex, &tex_options); in ir2_optimize_nir()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_from_nir.cpp | 3211 struct nir_lower_tex_options tex_options = {}; in run() local 3212 tex_options.lower_txp = ~0; in run() 3214 NIR_PASS_V(nir, nir_lower_tex, &tex_options); in run()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 928 static const nir_lower_tex_options tex_options = { in radv_shader_spirv_to_nir() local 939 NIR_PASS(_, nir, nir_lower_tex, &tex_options); in radv_shader_spirv_to_nir()
|