Home
last modified time | relevance | path

Searched refs:nir_umin (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_amd.c143 def = nir_umin(nb, src[0], nir_umin(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
162 def = nir_umin(nb, nir_umax(nb, src[0], nir_umin(nb, src[1], src[2])), in vtn_handle_amd_shader_trinary_minmax_instruction()
Dvtn_alu.c749 dest->def = nir_umin(&b->nb, in vtn_handle_alu()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_robust_buffer_access.c49 nir_umin(b, instr->src[offset_src].ssa, aligned_buffer_size); in rewrite_offset()
99 nir_ssa_def *offset = nir_umin(b, instr->src[0].ssa, aligned_size); in lower_shared()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c227 array_index = nir_umin(b, array_index, nir_imm_int(b, array_size - 1)); in build_index_for_res_reindex()
373 array_index = nir_umin(b, array_index, nir_imm_int(b, array_size - 1)); in lower_res_index_intrinsic()
507 array_index = nir_umin(b, nir_channel(b, index, 1), in build_ssbo_descriptor_load()
605 array_index = nir_umin(b, nir_channel(b, index, 1), in lower_load_vulkan_descriptor()
624 dyn_offset_idx = nir_umin(b, dyn_offset_idx, in lower_load_vulkan_descriptor()
735 arr_index = nir_umin(b, arr_index, nir_imm_int(b, array_size - 1)); in build_descriptor_load()
800 index = nir_umin(b, index, nir_imm_int(b, array_size - 1)); in lower_image_intrinsic()
833 offset = nir_umin(b, offset, nir_imm_int(b, max_offset)); in lower_load_constant()
951 index = nir_umin(b, index, nir_imm_int(b, array_size - 1)); in lower_tex_deref()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c197 s_src[i] = nir_u2u16(b, nir_umin(b, s_src[i], nir_imm_int(b, 65535))); in panfrost_create_blend_shader()
201 s_src[i] = nir_u2u8(b, nir_umin(b, s_src[i], nir_imm_int(b, 255))); in panfrost_create_blend_shader()
/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c89 index = nir_umin(b, index, nir_imm_int(b, array_elements - 1)); in lower_tex_src_to_offset()
Dnir_conversion_builder.h150 nir_umin(b, positive_rounded, max_positive)); in nir_round_int_to_float()
155 nir_umin(b, max_positive, in nir_round_int_to_float()
Dnir_builtin_builder.h146 return nir_umin(b, nir_umax(b, x, min_val), max_val); in nir_uclamp()
Dnir_format_convert.h320 return nir_umin(b, f, nir_build_imm(b, f->num_components, 32, max)); in nir_format_clamp_uint()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c60 arr_index = nir_umin(b, arr_index, nir_imm_int(b, arr_size - 1)); in get_block_array_index()
Dglsl_to_nir.cpp2188 result = nir_umin(&b, srcs[0], srcs[1]); in visit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp301 return nir_umin(b, offset, nir_imm_int(b, array_size - elem_size)); in get_aoa_deref_offset()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c520 result = nir_umin(&b, result, nir_imm_int(&b, (1u << 31) - 1)); in create_fs()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c273 outval = nir_umin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_compute_shader()
Dradv_meta_resolve_fs.c451 outval = nir_umin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c216 return nir_umin(b, offset, nir_imm_int(b, array_size - elem_size)); in get_aoa_deref_offset()
440 offset = nir_umin(&b, offset, nir_imm_int(&b, max_offset)); in iris_setup_uniforms()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c714 index = nir_umin(b, index, nir_imm_int(b, array_elements - 1)); in lower_tex_src_to_offset()
829 index = nir_umin(b, index, nir_imm_int(b, array_elements - 1)); in lower_image_deref()
Dv3dv_meta_copy.c3603 c[i] = nir_umin(&b, c[i], max); in get_color_blit_fs()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c1429 color = nir_umin(&b, color, nir_imm_int(&b, INT32_MAX)); in brw_blorp_build_nir_shader()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h1649 nir_umin(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_umin() function