Home
last modified time | relevance | path

Searched refs:txs (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_builtin_builder.c317 nir_tex_instr *txs; in nir_get_texture_size() local
330 txs = nir_tex_instr_create(b->shader, num_srcs); in nir_get_texture_size()
331 txs->op = nir_texop_txs; in nir_get_texture_size()
332 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size()
333 txs->is_array = tex->is_array; in nir_get_texture_size()
334 txs->is_shadow = tex->is_shadow; in nir_get_texture_size()
335 txs->is_new_style_shadow = tex->is_new_style_shadow; in nir_get_texture_size()
336 txs->texture_index = tex->texture_index; in nir_get_texture_size()
337 txs->sampler_index = tex->sampler_index; in nir_get_texture_size()
338 txs->dest_type = nir_type_int32; in nir_get_texture_size()
[all …]
Dnir_lower_tex.c159 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_offset() local
160 nir_ssa_def *scale = nir_frcp(b, txs); in lower_offset()
201 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in lower_rect() local
202 nir_ssa_def *scale = nir_frcp(b, txs); in lower_rect()
864 nir_ssa_def *txs = nir_i2f32(b, nir_get_texture_size(b, tex)); in saturate_src() local
866 comp[j] = nir_fmin(b, comp[j], nir_channel(b, txs, j)); in saturate_src()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp680 nir_tex_instr *txs = nir_tex_instr_create(b.shader, 1); in get_stencil_resolve_fs() local
681 txs->op = nir_texop_txs; in get_stencil_resolve_fs()
682 txs->sampler_dim = GLSL_SAMPLER_DIM_MS; in get_stencil_resolve_fs()
683 txs->src[0].src_type = nir_tex_src_texture_deref; in get_stencil_resolve_fs()
684 txs->src[0].src = nir_src_for_ssa(tex_deref); in get_stencil_resolve_fs()
685 txs->is_array = false; in get_stencil_resolve_fs()
686 txs->dest_type = nir_type_int; in get_stencil_resolve_fs()
688 nir_ssa_dest_init(&txs->instr, &txs->dest, 2, 32, "tex"); in get_stencil_resolve_fs()
689 nir_builder_instr_insert(&b, &txs->instr); in get_stencil_resolve_fs()
696 nir_channel(&b, nir_i2f32(&b, &txs->dest.ssa), 1), in get_stencil_resolve_fs()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1582 nir_tex_instr *txs, *qlv; in ttn_txq() local
1584 txs = nir_tex_instr_create(b->shader, 2); in ttn_txq()
1585 txs->op = nir_texop_txs; in ttn_txq()
1587 &txs->sampler_dim, &txs->is_shadow, &txs->is_array); in ttn_txq()
1598 get_sampler_var(c, tex_index, txs->sampler_dim, in ttn_txq()
1599 txs->is_shadow, in ttn_txq()
1600 txs->is_array, in ttn_txq()
1601 base_type_for_alu_type(txs->dest_type), in ttn_txq()
1606 txs->src[0].src = nir_src_for_ssa(&deref->dest.ssa); in ttn_txq()
1607 txs->src[0].src_type = nir_tex_src_texture_deref; in ttn_txq()
[all …]
/third_party/mesa3d/docs/relnotes/
D13.0.6.rst100 - radv/ac: implement txs for buffer textures.
102 - radv/ac: avoid the fmask path when doing txs.
106 - radv: fix txs for sampler buffers
D21.1.4.rst98 - intel/nir: Fix txs for null surfaces
D17.0.1.rst82 - radv: fix txs for sampler buffers
D21.2.0.rst2850 - intel/nir: Fix txs for null surfaces
2908 - intel/nir: Set lower txs with non-zero LOD
D21.1.0.rst1251 - nir/lower_tex: 'txs free' tex_rect lowering
2789 - intel/nir: Set lower txs with non-zero LOD
D20.0.0.rst367 - pan/midgard: Fix crash with txs
D21.0.0.rst578 - pan/bi: Support txs operations
D20.1.0.rst1154 - ir3: Fix txs with bindless
D20.3.0.rst343 - broadcom/compiler: allow GLSL_SAMPLER_DIM_BUF on txs emission
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c367 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()
/third_party/mesa3d/docs/gallium/
Dscreen.rst618 …mesa will lower the NIR to use normal 2D texture sampling by using either `txs` or `nir_intrinsic_…