Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_convert_ycbcr.c134 nir_fdot4(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[0])), in nir_convert_ycbcr_to_rgb()
135 nir_fdot4(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[1])), in nir_convert_ycbcr_to_rgb()
136 nir_fdot4(b, expanded_channels, nir_build_imm(b, 4, 32, conversion_matrix->v[2])) in nir_convert_ycbcr_to_rgb()
Dnir_format_convert.h62 return nir_iand(b, src, nir_build_imm(b, src->num_components, 32, mask)); in nir_format_mask_uvec()
220 return nir_build_imm(b, num_components, 32, factor); in _nir_format_norm_factor()
320 return nir_umin(b, f, nir_build_imm(b, f->num_components, 32, max)); in nir_format_clamp_uint()
340 f = nir_imin(b, f, nir_build_imm(b, f->num_components, 32, max)); in nir_format_clamp_sint()
341 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()
221 nir_ssa_def *val = nir_build_imm(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
259 val = nir_build_imm(b, intrin->dest.ssa.num_components, in try_fold_intrinsic()
Dnir_builder.h255 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm() function
287 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_boolN_t()
312 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_floatN_t()
340 return nir_build_imm(build, 2, 32, v); in nir_imm_vec2()
353 return nir_build_imm(build, 4, 32, v); in nir_imm_vec4()
366 return nir_build_imm(build, 4, 16, v); in nir_imm_vec4_16()
373 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_intN_t()
396 return nir_build_imm(build, 2, 32, v); in nir_imm_ivec2()
409 return nir_build_imm(build, 4, 32, v); in nir_imm_ivec4()
730 nir_build_imm(b, vec->num_components, in nir_vector_insert()
Dnir_lower_tex.c319 nir_ssa_def *m0 = nir_f2fN(b, nir_build_imm(b, 4, 32, m[0]), bit_size); in convert_yuv_to_rgb()
320 nir_ssa_def *m1 = nir_f2fN(b, nir_build_imm(b, 4, 32, m[1]), bit_size); in convert_yuv_to_rgb()
321 nir_ssa_def *m2 = nir_f2fN(b, nir_build_imm(b, 4, 32, m[2]), bit_size); in convert_yuv_to_rgb()
742 return nir_build_imm(b, 4, 32, v); in get_zero_or_one()
Dnir_lower_system_values.c354 return nir_u2u(b, nir_build_imm(b, 3, 32, local_size_const), bit_size); in lower_compute_system_value_instr()
Dnir_opt_vectorize.c222 nir_ssa_def *def = nir_build_imm(&b, total_components, bit_size, value); in instr_try_combine()
Dnir_linking_helpers.c945 nir_ssa_def *nconst = nir_build_imm(&b, store_intr->num_components, in replace_constant_input()
/external/mesa3d/src/panfrost/util/
Dnir_undef_to_zero.c71 nir_ssa_def *zero = nir_build_imm(&b, c, s, v); in nir_undef_to_zero()
/external/mesa3d/src/compiler/nir/tests/
Dnegative_equal_tests.cpp209 nir_ssa_def *a = nir_build_imm(&bld, \
245 nir_ssa_def *a = nir_build_imm(&bld, \ in compare_with_self()
249 nir_ssa_def *b = nir_build_imm(&bld, \ in compare_with_self()
Dload_store_vectorizer_tests.cpp264 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()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.h110 return nir_build_imm(build, 3, 32, v); in r600_imm_ivec3()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.c244 out = nir_iand(b, out, nir_build_imm(b, 4, 32, mask)); in nir_blend_logicop()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c767 nir_ssa_def *def = nir_build_imm(&b, swiz_max + 1, 32, value); in lower_alu()
813 nir_ssa_def *def = nir_build_imm(&b, num_components, 32, value); in lower_alu()
921 nir_ssa_def *def = nir_build_imm(&b, intr->dest.ssa.num_components, 32, value); in emit_shader()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c2568 nir_build_imm(&b->nb, nir_address_format_num_components(addr_format), in vtn_handle_variables()