Home
last modified time | relevance | path

Searched refs:is_store (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/panfrost/shared/
Dpan_tiling.c190 bool is_store) \
202 if (is_store) \
217 #define TILED_UNALIGNED_TYPE(pixel_t, is_store, tile_shift) { \ argument
231 pixel_t *outp = (pixel_t *) (is_store ? dest : source); \
232 pixel_t *inp = (pixel_t *) (is_store ? source : dest); \
289 bool is_store) in panfrost_access_tiled_image() argument
296 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
316 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
331 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
342 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_info_opcodes.h104 OPCODE(1, 3, OTHR, ATOMFADD, .is_store = 1)
164 OPCODE(1, 2, OTHR, STORE, .is_store = 1)
170 OPCODE(1, 3, OTHR, ATOMUADD, .is_store = 1)
171 OPCODE(1, 3, OTHR, ATOMXCHG, .is_store = 1)
172 OPCODE(1, 4, OTHR, ATOMCAS, .is_store = 1)
173 OPCODE(1, 3, OTHR, ATOMAND, .is_store = 1)
174 OPCODE(1, 3, OTHR, ATOMOR, .is_store = 1)
175 OPCODE(1, 3, OTHR, ATOMXOR, .is_store = 1)
176 OPCODE(1, 3, OTHR, ATOMUMIN, .is_store = 1)
177 OPCODE(1, 3, OTHR, ATOMUMAX, .is_store = 1)
[all …]
Dtgsi_info.h77 unsigned is_store:1; member
Dtgsi_scan.c305 if (tgsi_get_opcode_info(fullinst->Instruction.Opcode)->is_store) { in scan_src_operand()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_ssbo.c106 bool is_store = op == nir_intrinsic_store_global; in lower_ssbo_instr() local
107 bool is_atomic = !is_store && op != nir_intrinsic_load_global; in lower_ssbo_instr()
114 nir_src index = intr->src[is_store ? 1 : 0]; in lower_ssbo_instr()
129 global->src[is_store ? 1 : 0] = nir_src_for_ssa(address); in lower_ssbo_instr()
136 if (is_store) { in lower_ssbo_instr()
152 return is_store ? NULL : &global->dest.ssa; in lower_ssbo_instr()
Dnir_opt_load_store_vectorize.c183 bool is_store; member
268 unsigned size = entry->is_store ? in get_bit_size()
578 entry->is_store = entry->info->value_src >= 0; in create_entry()
670 if (low->is_store) { in new_bitsize_acceptable()
991 if (first->is_store) { in check_for_aliasing()
1008 if (prev->is_store && may_alias(ctx->shader, second, prev)) in check_for_aliasing()
1155 if (first->is_store) in try_vectorize()
1202 low = low->is_store ? second : first; in vectorize_sorted_entries()
1366 if (entry->is_store) { in process_block()
/third_party/mesa3d/src/asahi/lib/
Dtiling.c75 #define TILED_UNALIGNED_TYPE(pixel_t, is_store) { \ argument
94 pixel_t *outp = (pixel_t *) (is_store ? ptiled : plinear); \
95 pixel_t *inp = (pixel_t *) (is_store ? plinear : ptiled); \
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c137 pan_format_class(const struct util_format_description *desc, unsigned quirks, bool is_store) in pan_format_class() argument
139 if (is_store) in pan_format_class()
610 bool is_store = intr->intrinsic == nir_intrinsic_store_deref; in pan_lower_framebuffer() local
612 if (!(is_load || (is_store && is_blend))) in pan_lower_framebuffer()
633 pan_format_class(desc, quirks, is_store); in pan_lower_framebuffer()
649 if (is_store) { in pan_lower_framebuffer()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_scratch.c40 bool is_store = instr->intrinsic == nir_intrinsic_store_scratch; in v3d_nir_scratch_offset() local
41 nir_ssa_def *offset = nir_ssa_for_src(b, instr->src[is_store ? 1 : 0], 1); in v3d_nir_scratch_offset()
Dnir_to_vir.c503 bool is_store = (instr->intrinsic == nir_intrinsic_store_ssbo || in ntq_emit_tmu_general() local
527 } else if (is_store) { in ntq_emit_tmu_general()
570 nir_src_as_uint(instr->src[is_store ? in ntq_emit_tmu_general()
586 uint32_t writemask = is_store ? nir_intrinsic_write_mask(instr) : 0; in ntq_emit_tmu_general()
591 if (is_store) { in ntq_emit_tmu_general()
/third_party/mesa3d/src/freedreno/afuc/
Ddisasm.c546 bool is_store = true; in disasm_instr() local
553 is_store = false; in disasm_instr()
562 is_store = false; in disasm_instr()
574 is_store = false; in disasm_instr()
583 if (is_store) in disasm_instr()
/third_party/mesa3d/src/panfrost/midgard/
Dcompiler.h565 bool is_store, in v_load_store_scratch() argument
578 .op = is_store ? midgard_op_st_128 : midgard_op_ld_128, in v_load_store_scratch()
594 if (is_store) { in v_load_store_scratch()
Dmidgard_compile.c1405 bool is_store = instr->intrinsic == nir_intrinsic_image_store; in emit_image_op() local
1422 if (is_store) { /* emit st_image_* */ in emit_image_op()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c1404 bool is_store = (instr->intrinsic == nir_intrinsic_store_ssbo || in ntt_emit_mem() local
1419 instr->src[is_store ? 1 : 0]); in ntt_emit_mem()
1445 if (is_store) { in ntt_emit_mem()
1547 if (is_store) { in ntt_emit_mem()
/third_party/mesa3d/src/freedreno/ir3/
Dir3.c925 if (is_store(instr) && (instr->opc != OPC_STG) && (n == 1)) in ir3_valid_flags()
Dir3.h912 is_store(struct ir3_instruction *instr) in is_store() function
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp4120 const bool is_store = in get_nir_ssbo_intrinsic_index() local
4123 const unsigned src = is_store ? 1 : 0; in get_nir_ssbo_intrinsic_index()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5587 if (inst->info->is_store) in eliminate_dead_code()