Home
last modified time | relevance | path

Searched refs:nir_push_if (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/compiler/nir/tests/
Dcomparison_pre_tests.cpp101 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
153 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
206 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
258 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
311 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
364 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
418 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
471 nir_if *nif = nir_push_if(&bld, flt); in TEST_F()
510 nir_if *nif = nir_push_if(&bld, &flt->dest.dest.ssa); in TEST_F()
567 nir_if *nif = nir_push_if(&bld, &flt->dest.dest.ssa); in TEST_F()
Dlower_returns_tests.cpp100 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
176 nir_push_if(&bld, cmp_result); in TEST_F()
Dopt_if_tests.cpp73 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
110 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
Dvars_tests.cpp285 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
314 nir_if *if_stmt = nir_push_if(b, nir_imm_int(b, 0)); in TEST_F()
358 nir_if *if_stmt = nir_push_if(b, nir_imm_int(b, 0)); in TEST_F()
512 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
518 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
622 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
1056 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
1401 nir_if *if_stmt = nir_push_if(b, nir_imm_int(b, 0)); in TEST_F()
1424 nir_if *if_stmt = nir_push_if(b, nir_imm_int(b, 0)); in TEST_F()
1485 nir_pop_if(b, nir_push_if(b, nir_imm_int(b, 0))); in TEST_F()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_intersection_shader.c86 nir_push_if(b, nir_imm_true(b)); in lower_any_hit_for_intersection()
163 nir_push_if(b, nir_load_var(b, commit)); in brw_nir_lower_intersection_shader()
201 nir_push_if(b, nir_iand(b, nir_fge(b, hit_t, min_t), in brw_nir_lower_intersection_shader()
208 nir_push_if(b, nir_inot(b, nir_load_leaf_opaque_intel(b))); in brw_nir_lower_intersection_shader()
221 nir_push_if(b, nir_load_var(b, commit_tmp)); in brw_nir_lower_intersection_shader()
Dbrw_nir_rt.c231 nir_push_if(b, skip_closest_hit); in build_terminate_ray()
296 nir_push_if(&b, nir_imm_true(&b)); in lower_ray_walk_intrinsics()
310 nir_push_if(&b, terminate); in lower_ray_walk_intrinsics()
459 nir_push_if(&b, nir_ball(&b, nir_ult(&b, launch_id, launch_size))); in brw_nir_create_raygen_trampoline()
Dbrw_nir_tcs_workarounds.c95 nir_push_if(b, any_greater_than_1); in emit_quads_workaround()
Dbrw_nir_lower_storage_image.c427 nir_push_if(b, do_load); in lower_image_load_instr()
578 nir_push_if(b, do_store); in lower_image_store_instr()
623 nir_push_if(b, nir_ine(b, nir_channel(b, size, 0), zero)); in lower_image_atomic_instr()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_fp16_conv.c101 nir_push_if(b, nir_ige(b, abs, mode == nir_rounding_mode_rtne ? f16max : f32infinity)); in float_to_half_impl()
111 nir_push_if(b, nir_ige(b, abs, f16max)); in float_to_half_impl()
129 nir_push_if(b, nir_ige(b, abs, nir_imm_int(b, 113 << 23))); in float_to_half_impl()
145 nir_push_if(b, nir_ige(b, abs, nir_imm_int(b, 102 << 23))); in float_to_half_impl()
161 nir_push_if(b, nir_i2b1(b, abs)); in float_to_half_impl()
Dnir_lower_non_uniform_access.c159 nir_push_if(b, all_equal_first); in lower_non_uniform_tex_access()
189 nir_push_if(b, nu_handle_compare(options, b, &handle)); in lower_non_uniform_access_intrin()
Dnir_opt_uniform_atomics.c211 nir_if *nif = nir_push_if(b, cond); in optimize_atomic()
241 helper_nif = nir_push_if(b, nir_inot(b, helper)); in optimize_and_rewrite_atomic()
Dnir_lower_clip_disable.c53 nir_push_if(b, nir_ilt(b, index, nir_imm_int(b, mid))); in recursive_if_chain()
Dnir_lower_printf.c79 nir_push_if(b, nir_ilt(b, offset, nir_imm_int(b, max_valid_offset))); in lower_printf_instr()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c247 nir_if *if_first_lane = nir_push_if(b, nir_build_elect(b, 1)); in repack_invocations_in_workgroup()
355 nir_if *if_gs_thread = nir_push_if(b, gs_thread); in emit_ngg_nogs_prim_export()
692 nir_if *if_es_accepted = nir_push_if(b, nir_load_var(b, es_accepted_var)); in compact_vertices_after_culling()
721 nir_if *if_packed_es_thread = nir_push_if(b, es_survived); in compact_vertices_after_culling()
741 nir_if *if_gs_accepted = nir_push_if(b, nir_load_var(b, gs_accepted_var)); in compact_vertices_after_culling()
1066 nir_if *if_es_thread = nir_push_if(b, es_thread); in add_deferred_attribute_culling()
1112 nir_if *if_cull_en = nir_push_if(b, nir_build_load_cull_any_enabled_amd(b)); in add_deferred_attribute_culling()
1118 if_es_thread = nir_push_if(b, nir_build_has_input_vertex_amd(b)); in add_deferred_attribute_culling()
1140 nir_if *if_gs_thread = nir_push_if(b, nir_build_has_input_primitive_amd(b)); in add_deferred_attribute_culling()
1168 nir_if *if_gs_accepted = nir_push_if(b, accepted); in add_deferred_attribute_culling()
[all …]
Dac_nir_cull.c94 nir_if *if_cull_bbox = nir_push_if(b, try_cull_bbox); in cull_bbox()
117 … nir_if *if_cull_small_prims = nir_push_if(b, nir_build_load_cull_small_primitives_enabled_amd(b)); in cull_bbox()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c686 nir_push_if(&b_shader, nir_imm_true(&b_shader)); in lower_rt_instructions()
696 nir_push_if(&b_shader, nir_imm_true(&b_shader)); in lower_rt_instructions()
703 nir_push_if( in lower_rt_instructions()
765 nir_push_if(b, nir_ieq(b, idx, nir_imm_int(b, call_idx))); in insert_rt_case()
946 nir_push_if(b, nir_imm_true(b)); in lower_any_hit_for_intersection()
1043 nir_push_if(b, nir_iand(b, nir_fge(b, hit_t, min_t), nir_fge(b, max_t, hit_t))); in nir_lower_intersection_shader()
1049 nir_push_if(b, nir_inot(b, nir_load_intersection_opaque_amd(b))); in nir_lower_intersection_shader()
1061 nir_push_if(b, nir_load_var(b, commit_tmp)); in nir_lower_intersection_shader()
1194 nir_push_if(b, nir_ine(b, sbt_idx, nir_imm_int(b, 0))); in visit_any_hit_shaders()
1257 nir_push_if(b, nir_iand(b, in insert_traversal_triangle_case()
[all …]
Dradv_query.c63 nir_push_if(b, nir_uge(b, counter, count)); in radv_break_on_count()
75 nir_push_if(b, nir_test_flag(b, flags, VK_QUERY_RESULT_WITH_AVAILABILITY_BIT)); in radv_store_availability()
77 nir_push_if(b, nir_test_flag(b, flags, VK_QUERY_RESULT_64_BIT)); in radv_store_availability()
171 nir_push_if(&b, nir_i2b(&b, enabled_cond)); in build_occlusion_query_shader()
184 nir_push_if(&b, nir_iand(&b, start_done, end_done)); in build_occlusion_query_shader()
204 nir_push_if(&b, nir_ior(&b, nir_test_flag(&b, flags, VK_QUERY_RESULT_PARTIAL_BIT), in build_occlusion_query_shader()
207 nir_push_if(&b, result_is_64bit); in build_occlusion_query_shader()
306 nir_push_if(&b, nir_i2b(&b, available32)); in build_pipeline_statistics_query_shader()
310 nir_push_if(&b, nir_test_flag(&b, stats_mask, 1u << i)); in build_pipeline_statistics_query_shader()
324 nir_push_if(&b, result_is_64bit); in build_pipeline_statistics_query_shader()
[all …]
Dradv_acceleration_structure.c714 nir_push_if(b, nir_ult(b, type, nir_imm_int(b, 2))); in get_indices()
715 nir_push_if(b, nir_ieq(b, type, nir_imm_int(b, VK_INDEX_TYPE_UINT16))); in get_indices()
743 nir_push_if(b, nir_ieq(b, type, nir_imm_int(b, VK_INDEX_TYPE_NONE_KHR))); in get_indices()
778 nir_push_if(b, nir_ieq(b, format, nir_imm_int(b, formats[f]))); in get_vertices()
950 nir_push_if(&b, nir_ieq(&b, geom_type, nir_imm_int(&b, VK_GEOMETRY_TYPE_TRIANGLES_KHR))); in build_leaf_shader()
983 nir_push_if(&b, nir_ine(&b, transform_addr, nir_imm_int64(&b, 0))); in build_leaf_shader()
1023 nir_push_if(&b, nir_ieq(&b, geom_type, nir_imm_int(&b, VK_GEOMETRY_TYPE_AABBS_KHR))); in build_leaf_shader()
1066 nir_push_if(&b, nir_ine(&b, nir_channel(&b, pconst2, 2), nir_imm_int(&b, 0))); in build_leaf_shader()
1111 nir_push_if(&b, nir_ine(&b, header_addr, nir_imm_int64(&b, 0))); in build_leaf_shader()
1199 nir_push_if(b, nir_ieq(b, node_type, nir_imm_int(b, 0))); in determine_bounds()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp52 nir_if *if_exists = nir_push_if(b, image_exists); in r600_legalize_image_load_store_impl()
106 load_if = nir_push_if(b, in_range); in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_nir_lower_helper_writes.c75 nir_push_if(b, nir_inot(b, helper)); in nir_lower_helper_writes()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_divergent_indirects.c101 nir_push_if(b, nir_ieq_imm(b, lane, i)); in bi_lower_divergent_indirects_impl()
/third_party/mesa3d/src/panfrost/lib/
Dpan_indirect_dispatch.c176 nir_push_if(&b, nir_ieq(&b, num_wg_flat, zero)); in GENX()
210 nir_push_if(&b, nir_ine(&b, num_wg_x_ptr, nir_imm_int64(&b, 0))); in GENX()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_int_cubemap_to_array.c168 nir_if *use_face_x_if = nir_push_if(b, use_face_x); in lower_cube_sample()
176 nir_if *use_face_y_if = nir_push_if(b, use_face_y); in lower_cube_sample()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ubo_loads.c91 nir_push_if(b, in_bounds); in lower_ubo_load_instr()
/third_party/mesa3d/src/gallium/drivers/zink/
Dnir_lower_dynamic_bo_access.c85 nir_push_if(b, nir_ilt(b, index, mid_idx)); in generate_store_ssbo_ssa_def()

123