Searched refs:txs (Results 1 - 5 of 5) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_builtin_builder.c | 338 nir_tex_instr *txs; in nir_get_texture_size() local 351 txs = nir_tex_instr_create(b->shader, num_srcs); in nir_get_texture_size() 352 txs->op = nir_texop_txs; in nir_get_texture_size() 353 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size() 354 txs->is_array = tex->is_array; in nir_get_texture_size() 355 txs->is_shadow = tex->is_shadow; in nir_get_texture_size() 356 txs->is_new_style_shadow = tex->is_new_style_shadow; in nir_get_texture_size() 357 txs->texture_index = tex->texture_index; in nir_get_texture_size() 358 txs->sampler_index = tex->sampler_index; in nir_get_texture_size() 359 txs in nir_get_texture_size() [all...] |
H A D | nir_lower_tex.c | 31 * to normalized coordinates with txs plus ALU instructions 185 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_offset() local 186 nir_ssa_def *scale = nir_frcp(b, txs); in lower_offset() 227 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_rect() local 228 nir_ssa_def *scale = nir_frcp(b, txs); in lower_rect() 909 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in saturate_src() local 911 comp[j] = nir_fmin(b, comp[j], nir_channel(b, txs, j)); in saturate_src()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_blit.cpp | 682 nir_tex_instr *txs = nir_tex_instr_create(b.shader, 1); in get_stencil_resolve_fs() local 683 txs->op = nir_texop_txs; in get_stencil_resolve_fs() 684 txs->sampler_dim = GLSL_SAMPLER_DIM_MS; in get_stencil_resolve_fs() 685 txs->src[0].src_type = nir_tex_src_texture_deref; in get_stencil_resolve_fs() 686 txs->src[0].src = nir_src_for_ssa(tex_deref); in get_stencil_resolve_fs() 687 txs->is_array = false; in get_stencil_resolve_fs() 688 txs->dest_type = nir_type_int; in get_stencil_resolve_fs() 690 nir_ssa_dest_init(&txs->instr, &txs->dest, 2, 32, "tex"); in get_stencil_resolve_fs() 691 nir_builder_instr_insert(&b, &txs in get_stencil_resolve_fs() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | tgsi_to_nir.c | 1577 * dst.xyz map to NIR txs opcode, and dst.w maps to query_levels 1584 nir_tex_instr *txs, *qlv; in ttn_txq() local 1586 txs = nir_tex_instr_create(b->shader, 2); in ttn_txq() 1587 txs->op = nir_texop_txs; in ttn_txq() 1588 txs->dest_type = nir_type_uint32; in ttn_txq() 1590 &txs->sampler_dim, &txs->is_shadow, &txs->is_array); in ttn_txq() 1602 get_sampler_var(c, tex_index, txs->sampler_dim, in ttn_txq() 1603 txs in ttn_txq() [all...] |
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.c | 367 nir_ssa_def *txs = nir_i2f32(&b, nir_get_texture_size(&b, tex)); in clc_lower_nonnormalized_samplers() local 370 nir_ssa_def *scale = nir_frcp(&b, txs); in clc_lower_nonnormalized_samplers() 378 comps[i] = nir_fmin(&b, comps[i], nir_fsub(&b, nir_channel(&b, txs, i), nir_imm_float(&b, 1.0f))); in clc_lower_nonnormalized_samplers()
|
Completed in 10 milliseconds