Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_nir_cull.c42 nir_ssa_def *all_w_negative = nir_imm_bool(b, true); in analyze_position_w()
44 w_info->w_reflection = nir_imm_bool(b, false); in analyze_position_w()
45 w_info->any_w_negative = nir_imm_bool(b, false); in analyze_position_w()
Dac_nir_lower_ngg.c437 …ssa_def *num_gs_threads = nir_bit_count(b, nir_ballot(b, 1, st->wave_size, nir_imm_bool(b, true))); in emit_ngg_nogs_prim_export()
1234 nir_store_var(b, gs_accepted_var, nir_imm_bool(b, false), 0x1u); in add_deferred_attribute_culling()
1263 nir_ssa_def *accepted = ac_nir_cull_triangle(b, nir_imm_bool(b, true), pos); in add_deferred_attribute_culling()
1279 nir_store_var(b, es_accepted_var, nir_imm_bool(b, false), 0x1u); in add_deferred_attribute_culling()
1644 …nir_ssa_def *num_threads = nir_bit_count(b, nir_ballot(b, 1, s->wave_size, nir_imm_bool(b, true))); in ngg_gs_shader_query()
/third_party/mesa3d/src/amd/vulkan/
Dradv_rt_common.c414 opaque = nir_bcsel(b, instance_force_opaque, nir_imm_bool(b, true), opaque); in hit_is_opaque()
415 opaque = nir_bcsel(b, instance_force_non_opaque, nir_imm_bool(b, false), opaque); in hit_is_opaque()
420 opaque = nir_bcsel(b, ray_force_opaque, nir_imm_bool(b, true), opaque); in hit_is_opaque()
421 opaque = nir_bcsel(b, ray_force_non_opaque, nir_imm_bool(b, false), opaque); in hit_is_opaque()
Dradv_nir_lower_ray_queries.c305 rq_store_var(b, index, vars->incomplete, nir_imm_bool(b, false), 0x1); in insert_terminate_on_first_hit()
378 rq_store_var(b, index, vars->incomplete, nir_imm_bool(b, true), 0x1); in lower_rq_initialize()
382 rq_store_var(b, index, vars->incomplete, nir_imm_bool(b, false), 0x1); in lower_rq_initialize()
672 rq_store_var(b, index, vars->incomplete, nir_imm_bool(b, false), 0x1); in lower_rq_proceed()
832 rq_store_var(b, index, vars->incomplete, nir_imm_bool(b, false), 0x1); in lower_rq_terminate()
Dradv_meta_etc_decode.c289 nir_store_var(&b, etc1_compat, nir_imm_bool(&b, false), 0x1); in build_shader()
319 nir_store_var(&b, etc1_compat, nir_imm_bool(&b, true), 1); in build_shader()
440 nir_store_var(&b, punchthrough, nir_imm_bool(&b, false), 0x1); in build_shader()
444 nir_store_var(&b, etc1_compat, nir_imm_bool(&b, true), 1); in build_shader()
Dradv_pipeline_rt.c749 nir_store_var(b, vars->main_loop_case_visited, nir_imm_bool(b, true), 1); in insert_rt_case()
1615 nir_store_var(b, vars->main_loop_case_visited, nir_imm_bool(b, true), 1); in insert_traversal()
1754 nir_store_var(&b, vars.main_loop_case_visited, nir_imm_bool(&b, true), 1); in create_rt_shader()
1763 nir_store_var(&b, vars.main_loop_case_visited, nir_imm_bool(&b, false), 1); in create_rt_shader()
Dradv_device_generated_commands.c478 convert_cond = nir_imm_bool(&b, false); in build_dgc_prepare_shader()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_is_helper_invocation.c54 nir_store_deref(b, is_helper_deref, nir_imm_bool(b, true), 1); in nir_lower_load_and_store_is_helper()
Dnir_lower_goto_ifs.c142 nir_store_var(b, fork->path_var, nir_imm_bool(b, i), 1); in set_path_vars()
145 fork->path_ssa = nir_imm_bool(b, i); in set_path_vars()
170 nir_store_var(b, fork->path_var, nir_imm_bool(b, i), 1); in set_path_vars_cond()
173 fork->path_ssa = nir_imm_bool(b, i); in set_path_vars_cond()
Dnir_inline_functions.c115 nir_if *cf = nir_push_if(b, nir_imm_bool(b, true)); in nir_inline_function_impl()
Dnir_opt_if.c1300 def[i] = nir_imm_bool(b, bool_value); in propagate_condition_eval()
1350 nir_src imm_src = nir_src_for_ssa(nir_imm_bool(b, bool_value)); in evaluate_condition_use()
Dnir_builder.h209 nir_imm_bool(nir_builder *build, bool x) in nir_imm_bool() function
217 return nir_imm_bool(build, true); in nir_imm_true()
223 return nir_imm_bool(build, false); in nir_imm_false()
Dnir_lower_tex.c1337 nir_ssa_def *is_zero = nir_imm_bool(b, true); in nir_lower_lod_zero_width()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo_compute.c464 nir_imm_bool(b, 0)); in check_for_weird_packing()
/third_party/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c5801 nir_imm_bool(&b->nb, false)); in vtn_handle_ray_query_intrinsic()