/external/mesa3d/src/compiler/nir/ |
D | nir_search_helpers.h | 42 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_pos_power_of_two() 72 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_neg_power_of_two() 98 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_zero_to_one() 121 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_not_const()
|
D | nir_opt_intrinsics.c | 50 if (nir_src_as_const_value(intrin->src[0])) in opt_intrinsics_impl() 54 if (nir_src_as_const_value(intrin->src[0])) in opt_intrinsics_impl()
|
D | nir_gs_count_vertices.c | 74 nir_const_value *val = nir_src_as_const_value(intrin->src[0]); in nir_gs_count_vertices()
|
D | nir_opt_if.c | 126 nir_const_value *const_src = nir_src_as_const_value(src->src); in opt_peel_loop_initial_if()
|
D | nir_lower_two_sided_color.c | 149 assert(nir_src_as_const_value(intr->src[0])); in nir_lower_two_sided_color_block()
|
D | nir_opt_constant_folding.c | 159 nir_const_value *src_val = nir_src_as_const_value(instr->src[0]); in constant_fold_intrinsic_instr()
|
D | nir_opt_dead_cf.c | 224 nir_src_as_const_value(following_if->condition); in dead_cf_block()
|
D | nir_lower_clip.c | 110 assert(nir_src_as_const_value(intr->src[1])); in find_output_in_block()
|
D | nir.h | 2250 nir_const_value *nir_src_as_const_value(nir_src src);
|
D | nir.c | 1410 nir_src_as_const_value(nir_src src) in nir_src_as_const_value() function
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_gs_nir.cpp | 44 nir_const_value *vertex = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() 45 nir_const_value *offset_reg = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic()
|
D | brw_vec4_nir.cpp | 265 nir_const_value *const_value = nir_src_as_const_value(*offset_src); in get_indirect_offset() 386 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() 413 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic() 451 nir_const_value *const_uniform_block = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() 482 nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic() 501 nir_const_value *const_offset = nir_src_as_const_value(instr->src[2]); in nir_emit_intrinsic() 642 nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() 666 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic() 776 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() 808 nir_const_value *const_block_index = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic() [all …]
|
D | brw_fs_nir.cpp | 487 nir_const_value *element = nir_src_as_const_value(src0->src[1].src); in optimize_extract_to_float() 520 nir_const_value *value1 = nir_src_as_const_value(instr->src[1].src); in optimize_frontfacing_ternary() 524 nir_const_value *value2 = nir_src_as_const_value(instr->src[2].src); in optimize_frontfacing_ternary() 1441 nir_const_value *byte = nir_src_as_const_value(instr->src[1].src); in nir_emit_alu() 1472 nir_const_value *word = nir_src_as_const_value(instr->src[1].src); in nir_emit_alu() 1575 nir_const_value *val = nir_src_as_const_value(src); in get_nir_src_imm() 2094 nir_const_value *vertex_const = nir_src_as_const_value(vertex_src); in emit_gs_input_load() 2095 nir_const_value *offset_const = nir_src_as_const_value(offset_src); in emit_gs_input_load() 2284 nir_const_value *const_value = nir_src_as_const_value(*offset_src); in get_indirect_offset() 2419 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_vs_intrinsic() [all …]
|
D | brw_nir_analyze_ubo_ranges.c | 133 nir_const_value *block_const = nir_src_as_const_value(intrin->src[0]); in analyze_ubos_block() 134 nir_const_value *offset_const = nir_src_as_const_value(intrin->src[1]); in analyze_ubos_block()
|
D | brw_nir.c | 72 nir_const_value *const_offset = nir_src_as_const_value(*offset); in add_const_offset_to_base_block() 183 nir_const_value *const_vertex = nir_src_as_const_value(*vertex); in remap_patch_urb_offsets()
|
D | brw_vec4_tcs.cpp | 263 nir_const_value *vertex_const = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 76 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); in lower_tex_src_plane_block()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_io.c | 183 assert(nir_src_as_const_value(intr->src[0]) && in vc4_nir_lower_vertex_attr() 184 nir_src_as_const_value(intr->src[0])->u32[0] == 0); in vc4_nir_lower_vertex_attr()
|
D | vc4_program.c | 1717 assert(nir_src_as_const_value(instr->src[0])->u32[0] == 0); in ntq_emit_color_read() 1739 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in ntq_emit_load_input() 1763 const_offset = nir_src_as_const_value(instr->src[0]); in ntq_emit_intrinsic() 1835 const_offset = nir_src_as_const_value(instr->src[1]); in ntq_emit_intrinsic()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_nir.c | 215 idx = nir_src_as_const_value(intr->src[0])->u32[0]; in ir3_nir_scan_driver_consts()
|
D | ir3_compiler_nir.c | 1189 const_offset = nir_src_as_const_value(intr->src[1]); in emit_intrinsic_load_ubo() 1243 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic_load_ssbo() 1282 const_offset = nir_src_as_const_value(intr->src[1]); in emit_intrinsic_store_ssbo() 1314 unsigned blk_idx = nir_src_as_const_value(intr->src[0])->u32[0]; in emit_intrinsic_ssbo_size() 1349 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic_atomic_ssbo() 1947 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic() 1975 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic() 2066 const_offset = nir_src_as_const_value(intr->src[1]); in emit_intrinsic()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d40_tex.c | 122 nir_src_as_const_value(instr->src[i].src); in v3d40_vir_emit_tex()
|
D | v3d33_tex.c | 110 nir_src_as_const_value(instr->src[i].src); in v3d33_vir_emit_tex()
|
D | nir_to_vir.c | 1438 const_offset = nir_src_as_const_value(instr->src[0]); in ntq_emit_intrinsic() 1455 int ubo = nir_src_as_const_value(instr->src[0])->u32[0]; in ntq_emit_intrinsic() 1471 const_offset = nir_src_as_const_value(instr->src[0]); in ntq_emit_intrinsic() 1524 const_offset = nir_src_as_const_value(instr->src[0]); in ntq_emit_intrinsic() 1535 const_offset = nir_src_as_const_value(instr->src[1]); in ntq_emit_intrinsic()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_apply_pipeline_layout.c | 119 nir_const_value *const_array_index = nir_src_as_const_value(intrin->src[0]); in lower_res_index_intrinsic() 229 nir_src_as_const_value(tex->src[i].src); in extract_tex_src_plane()
|