Searched refs:txl (Results 1 - 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_lower_cubemap_to_array.c | 410 /* txb(s, coord, bias) = txl(s, coord, lod(s, coord).y + bias) */ 411 /* tex(s, coord) = txl(s, coord, lod(s, coord).x) */ 418 nir_tex_instr *txl = nir_tex_instr_create(b->shader, num_srcs); in lower_tex_to_txl() local 420 txl->op = nir_texop_txl; in lower_tex_to_txl() 421 txl->sampler_dim = tex->sampler_dim; in lower_tex_to_txl() 422 txl->dest_type = tex->dest_type; in lower_tex_to_txl() 423 txl->coord_components = tex->coord_components; in lower_tex_to_txl() 424 txl->texture_index = tex->texture_index; in lower_tex_to_txl() 425 txl->sampler_index = tex->sampler_index; in lower_tex_to_txl() 426 txl in lower_tex_to_txl() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 835 /* txb(s, coord, bias) = txl(s, coord, lod(s, coord).y + bias) */ 840 nir_tex_instr *txl = nir_tex_instr_create(b->shader, tex->num_srcs); in lower_txb_to_txl() local 842 txl->op = nir_texop_txl; in lower_txb_to_txl() 843 txl->sampler_dim = tex->sampler_dim; in lower_txb_to_txl() 844 txl->dest_type = tex->dest_type; in lower_txb_to_txl() 845 txl->coord_components = tex->coord_components; in lower_txb_to_txl() 846 txl->texture_index = tex->texture_index; in lower_txb_to_txl() 847 txl->sampler_index = tex->sampler_index; in lower_txb_to_txl() 848 txl->is_array = tex->is_array; in lower_txb_to_txl() 849 txl in lower_txb_to_txl() [all...] |
Completed in 4 milliseconds