Lines Matching refs:tql
390 nir_tex_instr *tql;
404 tql = nir_tex_instr_create(b->shader, num_srcs);
405 tql->op = nir_texop_lod;
406 tql->coord_components = tex->coord_components;
407 tql->sampler_dim = tex->sampler_dim;
408 tql->is_array = tex->is_array;
409 tql->is_shadow = tex->is_shadow;
410 tql->is_new_style_shadow = tex->is_new_style_shadow;
411 tql->texture_index = tex->texture_index;
412 tql->sampler_index = tex->sampler_index;
413 tql->dest_type = nir_type_float32;
424 nir_src_copy(&tql->src[idx].src, &tex->src[i].src);
425 tql->src[idx].src_type = tex->src[i].src_type;
430 nir_ssa_dest_init(&tql->instr, &tql->dest, 2, 32, NULL);
431 nir_builder_instr_insert(b, &tql->instr);
434 return nir_channel(b, &tql->dest.ssa, 1);