/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_geometry.cpp | 57 auto index = nir_src_as_const_value(instr->src[1]); in emit_store() 97 auto index = nir_src_as_const_value(instr->src[1]); in process_store_output() 148 auto index = nir_src_as_const_value(instr->src[1]); in process_load_input() 315 auto literal_index = nir_src_as_const_value(instr->src[0]); in emit_load_per_vertex_input()
|
D | sfn_vertexstageexport.cpp | 38 auto index = nir_src_as_const_value(instr->src[1]); in store_output() 288 auto index = nir_src_as_const_value(instr->src[1]); in scan_store_output()
|
D | sfn_nir_lower_tess_io.cpp | 89 auto idx1 = nir_src_as_const_value(op->src[0]); in emil_lsd_in_addr() 96 auto idx2 = nir_src_as_const_value(op->src[1]); in emil_lsd_in_addr()
|
D | sfn_shader_fragment.cpp | 103 auto index = nir_src_as_const_value(instr->src[interpolated ? 1 : 0]); in process_load_input() 559 auto param = nir_src_as_const_value(instr->src[1]); in emit_load_interpolated_input() 692 auto param = nir_src_as_const_value(instr->src[0]); in emit_load_input()
|
D | sfn_shader_base.cpp | 873 auto bufid = nir_src_as_const_value(instr->src[0]); in emit_load_ubo_vec4() 874 auto buf_offset = nir_src_as_const_value(instr->src[1]); in emit_load_ubo_vec4() 977 auto literal = nir_src_as_const_value(instr->src[0]); in load_uniform()
|
D | sfn_emitssboinstruction.cpp | 634 auto const_offset = nir_src_as_const_value(intrin->src[0]); in emit_image_size() 705 auto const_offset = nir_src_as_const_value(intr->src[0]); in emit_buffer_size()
|
D | sfn_emittexinstruction.cpp | 391 literal_offset = nir_src_as_const_value(*src.offset) != 0; in emit_tex_tg4() 636 auto literal = nir_src_as_const_value(*offset); in set_offsets()
|
D | sfn_valuepool.cpp | 116 auto literal_val = nir_src_as_const_value(v); in from_nir()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_intrinsics.c | 140 nir_src_as_const_value(alu->src[0].src); in opt_intrinsics_intrin() 142 const_val = nir_src_as_const_value(alu->src[1].src); in opt_intrinsics_intrin()
|
D | nir_lower_flrp.c | 227 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in all_same_constant() 261 nir_const_value *val0 = nir_src_as_const_value(instr->src[0].src); in sources_are_constants_with_similar_magnitudes() 262 nir_const_value *val1 = nir_src_as_const_value(instr->src[1].src); in sources_are_constants_with_similar_magnitudes()
|
D | nir_search_helpers.h | 184 if (nir_src_as_const_value(instr->src[src].src) == NULL) in is_not_const_zero() 388 if (nir_src_as_const_value(instr->src[src].src) == NULL) in is_upper_half_zero() 413 if (nir_src_as_const_value(instr->src[src].src) == NULL) in is_lower_half_zero()
|
D | nir_opt_vectorize.c | 229 nir_const_value *c1 = nir_src_as_const_value(alu1->src[i].src); in instr_try_combine() 230 nir_const_value *c2 = nir_src_as_const_value(alu2->src[i].src); in instr_try_combine()
|
D | nir_instr_set.c | 451 nir_src_as_const_value(alu1->src[src1].src); in nir_alu_srcs_negative_equal() 461 nir_src_as_const_value(alu2->src[src2].src); in nir_alu_srcs_negative_equal()
|
D | nir_opt_large_constants.c | 263 nir_const_value *val = nir_src_as_const_value(intrin->src[1]); in nir_opt_large_constants()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir.c | 578 unsigned idx = nir_src_as_const_value(intr->src[0])[0].u32; in emit_intrinsic() 760 nir_const_value *cv = nir_src_as_const_value(alu->src[i].src); in lower_alu() 782 nir_const_value *cv = nir_src_as_const_value(alu->src[i].src); in lower_alu() 797 nir_const_value *cv = nir_src_as_const_value(alu->src[i].src); in lower_alu() 815 nir_const_value *cv = nir_src_as_const_value(alu->src[i].src); in lower_alu() 834 nir_const_value *cv = nir_src_as_const_value(alu->src[i].src); in lower_alu() 910 nir_const_value *off = nir_src_as_const_value(intr->src[0]); in emit_shader()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_nir_optim.c | 105 nir_const_value *c = nir_src_as_const_value(intrin->src[0]); in get_output_as_const_value()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_lower_tex_src_plane.c | 119 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); in lower_tex_src_plane_block()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_io_offsets.c | 95 nir_const_value *const_val = nir_src_as_const_value(alu_instr->src[1].src); in check_and_propagate_bit_shift32()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_amd.c | 131 if (nir_src_as_const_value(nir_src_for_ssa(src[0]))) { in vtn_handle_amd_shader_trinary_minmax_instruction()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_nir.c | 233 nir_const_value *const_value = nir_src_as_const_value(src); in make_src() 390 if (nir_src_as_const_value(src)) { in make_src_noconst() 608 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic()
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 1939 nir_const_value *const_block_index = nir_src_as_const_value(intr->src[0]); in emit_load_bo() 2052 nir_const_value *const_block_index = nir_src_as_const_value(intr->src[1]); in emit_store_ssbo() 2499 nir_const_value *const_block_index = nir_src_as_const_value(intr->src[0]); in emit_ssbo_atomic_intrinsic() 2556 nir_const_value *const_block_index = nir_src_as_const_value(intr->src[0]); in emit_get_ssbo_size() 3132 cv = nir_src_as_const_value(tex->src[i].src); in emit_tex()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 3192 nir_const_value* val = nir_src_as_const_value(instr->src[1].src); in visit_alu_instr() 3306 nir_const_value* const_bitmask = nir_src_as_const_value(instr->src[0].src); in visit_alu_instr() 3307 nir_const_value* const_insert = nir_src_as_const_value(instr->src[1].src); in visit_alu_instr() 3318 nir_const_value* const_base = nir_src_as_const_value(instr->src[2].src); in visit_alu_instr() 3343 nir_const_value* const_offset = nir_src_as_const_value(instr->src[1].src); in visit_alu_instr() 3344 nir_const_value* const_bits = nir_src_as_const_value(instr->src[2].src); in visit_alu_instr() 5272 nir_const_value* src0 = nir_src_as_const_value(instr->src[0]); in visit_load_input() 5530 nir_const_value* index_cv = nir_src_as_const_value(instr->src[0]); in visit_load_push_constant() 5774 nir_const_value* const_value = nir_src_as_const_value(deref_instr->arr.index); in get_sampler_desc() 7374 nir_const_value* next_vertex_cv = nir_src_as_const_value(instr->src[0]); in visit_emit_vertex_with_counter() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | nir_to_dxil.c | 2418 nir_const_value *const_block_index = nir_src_as_const_value(*src); in get_ubo_ssbo_handle() 2650 nir_const_value *const_offset = nir_src_as_const_value(intr->src[1]); in emit_load_ubo() 3500 binding += nir_src_as_const_value(intr->src[0])->u32; in emit_vulkan_resource_index()
|
D | dxil_nir.c | 1208 nir_const_value *index = nir_src_as_const_value(deref->arr.index); in dxil_nir_split_clip_cull_distance_instr()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir.c | 1080 nir_src_as_const_value(intr->src[1]); in v3d_intrinsic_dependency_cb()
|