Home
last modified time | relevance | path

Searched refs:nir_build_imm (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_convert_ycbcr.c134 nir_fdot(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[0])), in nir_convert_ycbcr_to_rgb()
135 nir_fdot(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[1])), in nir_convert_ycbcr_to_rgb()
136 nir_fdot(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[2])) in nir_convert_ycbcr_to_rgb()
Dnir_format_convert.h71 return nir_iand(b, src, nir_build_imm(b, src->num_components, 32, mask)); in nir_format_mask_uvec()
242 return nir_build_imm(b, num_components, 32, factor); in _nir_format_norm_factor()
342 return nir_umin(b, f, nir_build_imm(b, f->num_components, 32, max)); in nir_format_clamp_uint()
362 f = nir_imin(b, f, nir_build_imm(b, f->num_components, 32, max)); in nir_format_clamp_sint()
363 f = nir_imax(b, f, nir_build_imm(b, f->num_components, 32, min)); in nir_format_clamp_sint()
Dnir_opt_constant_folding.c103 nir_ssa_def *imm = nir_build_imm(b, alu->dest.dest.ssa.num_components, in try_fold_alu()
220 nir_ssa_def *val = nir_build_imm(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
258 val = nir_build_imm(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
Dnir_builder.h261 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm() function
293 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_boolN_t()
318 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_floatN_t()
346 return nir_build_imm(build, 2, 32, v); in nir_imm_vec2()
357 return nir_build_imm(build, 3, 32, v); in nir_imm_vec3()
370 return nir_build_imm(build, 4, 32, v); in nir_imm_vec4()
383 return nir_build_imm(build, 4, 16, v); in nir_imm_vec4_16()
390 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_intN_t()
413 return nir_build_imm(build, 2, 32, v); in nir_imm_ivec2()
425 return nir_build_imm(build, 3, 32, v); in nir_imm_ivec3()
[all …]
Dnir_lower_subgroups.c347 nir_ssa_def *min_shift_val = nir_build_imm(b, options->ballot_components, 32, min_shift); in build_ballot_imm_ishl()
352 nir_ssa_def *max_shift_val = nir_build_imm(b, options->ballot_components, 32, max_shift); in build_ballot_imm_ishl()
428 nir_ssa_def *min_idx_val = nir_build_imm(b, options->ballot_components, 32, min_idx); in build_subgroup_mask()
Dnir_lower_tex.c351 nir_ssa_def *m0 = nir_f2fN(b, nir_build_imm(b, 4, 32, m->v[0]), bit_size); in convert_yuv_to_rgb()
352 nir_ssa_def *m1 = nir_f2fN(b, nir_build_imm(b, 4, 32, m->v[1]), bit_size); in convert_yuv_to_rgb()
353 nir_ssa_def *m2 = nir_f2fN(b, nir_build_imm(b, 4, 32, m->v[2]), bit_size); in convert_yuv_to_rgb()
900 return nir_build_imm(b, 4, 32, v); in get_zero_or_one()
Dnir_lower_blend.c239 out = nir_iand(b, out, nir_build_imm(b, 4, 32, mask)); in nir_blend_logicop()
Dnir_lower_system_values.c442 return nir_u2u(b, nir_build_imm(b, 3, 32, workgroup_size_const), bit_size); in lower_compute_system_value_instr()
Dnir_opt_vectorize.c240 nir_ssa_def *def = nir_build_imm(&b, total_components, bit_size, value); in instr_try_combine()
Dnir_linking_helpers.c1044 nir_ssa_def *nconst = nir_build_imm(&b, store_intr->num_components, in replace_varying_input_by_constant_load()
/third_party/mesa3d/src/compiler/nir/tests/
Dnegative_equal_tests.cpp210 nir_ssa_def *a = nir_build_imm(&bld, \
246 nir_ssa_def *a = nir_build_imm(&bld, \ in compare_with_self()
250 nir_ssa_def *b = nir_build_imm(&bld, \ in compare_with_self()
Dload_store_vectorizer_tests.cpp268 nir_ssa_def *value = nir_build_imm(b, components, bit_size, values); in create_indirect_store()
332 nir_ssa_def *value = nir_build_imm(b, components, bit_size, values); in create_shared_store()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.h130 return nir_build_imm(build, 3, 32, v); in r600_imm_ivec3()
Dsfn_nir_lower_64bit.cpp732 return nir_build_imm(b, 2 * lc->def.num_components, 32, val); in lower()
/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_split_loads.c113 nir_ssa_def *new = nir_build_imm(b, load_const->def.num_components, in replace_load_const()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c80 nir_ssa_def *size = nir_build_imm(b, 3, 32, v); in lower_load_local_group_size()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c779 nir_ssa_def *def = nir_build_imm(&b, swiz_max + 1, 32, value); in lower_alu()
825 nir_ssa_def *def = nir_build_imm(&b, num_components, 32, value); in lower_alu()
929 nir_ssa_def *def = nir_build_imm(&b, intr->dest.ssa.num_components, 32, value); in emit_shader()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c241 nir_ssa_def *constant = nir_build_imm(b, 4, 32, constants); in panvk_inline_blend_constants()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c508 nir_ssa_def *constant = nir_build_imm(b, 4, 32, constants); in pan_inline_blend_constants()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c417 nir_build_imm(t->b, 4, 1, wrmask), in compile_instruction()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c249 return nir_build_imm(b, ndest_comp, 32, const_value); in load_bordercolor()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c2690 nir_build_imm(&b->nb, nir_address_format_num_components(addr_format), in vtn_handle_variables()