Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c837 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/
Dlima_program.c223 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()
Dlima_program.h40 struct nir_lower_tex_options *tex_options);
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c215 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/
Dd3d12_compiler.cpp1168 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/
Dir3_nir.c316 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/
Dvir.c610 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/
Dvc4_program.c2243 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/
Dcrocus_program.c222 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/
Dir2_nir.c112 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/
Dnv50_ir_from_nir.cpp3211 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/
Dradv_shader.c928 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()