• Home
  • Raw
  • Download

Lines Matching refs:ir3_instruction

40                          struct ir3_instruction **dst)  in emit_intrinsic_load_ssbo()
43 struct ir3_instruction *ldgb, *src0, *src1, *byte_offset, *offset; in emit_intrinsic_load_ssbo()
45 struct ir3_instruction *ssbo = ir3_ssbo_to_ibo(ctx, intr->src[0]); in emit_intrinsic_load_ssbo()
70 struct ir3_instruction *stgb, *src0, *src1, *src2, *byte_offset, *offset; in emit_intrinsic_store_ssbo()
76 struct ir3_instruction *ssbo = ir3_ssbo_to_ibo(ctx, intr->src[1]); in emit_intrinsic_store_ssbo()
120 static struct ir3_instruction *
124 struct ir3_instruction *atomic; in emit_intrinsic_atomic_ssbo()
127 struct ir3_instruction *ssbo = ir3_ssbo_to_ibo(ctx, intr->src[0]); in emit_intrinsic_atomic_ssbo()
129 struct ir3_instruction *data = ir3_get_src(ctx, &intr->src[2])[0]; in emit_intrinsic_atomic_ssbo()
131 struct ir3_instruction *byte_offset = in emit_intrinsic_atomic_ssbo()
134 struct ir3_instruction *src3 = ir3_get_src(ctx, &intr->src[3])[0]; in emit_intrinsic_atomic_ssbo()
169 struct ir3_instruction *dword_offset = ir3_get_src(ctx, &intr->src[4])[0]; in emit_intrinsic_atomic_ssbo()
189 static struct ir3_instruction *
191 struct ir3_instruction *const *coords, bool byteoff) in get_image_offset()
194 struct ir3_instruction *offset; in get_image_offset()
234 struct ir3_instruction **dst) in emit_intrinsic_load_image()
237 struct ir3_instruction *const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_load_image()
238 struct ir3_instruction *ibo = ir3_image_to_ibo(ctx, intr->src[0]); in emit_intrinsic_load_image()
239 struct ir3_instruction *offset = get_image_offset(ctx, intr, coords, true); in emit_intrinsic_load_image()
244 struct ir3_instruction *ldib = ir3_LDIB( in emit_intrinsic_load_image()
262 struct ir3_instruction *stib, *offset; in emit_intrinsic_store_image()
263 struct ir3_instruction *const *value = ir3_get_src(ctx, &intr->src[3]); in emit_intrinsic_store_image()
264 struct ir3_instruction *const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_store_image()
265 struct ir3_instruction *ibo = ir3_image_to_ibo(ctx, intr->src[0]); in emit_intrinsic_store_image()
295 static struct ir3_instruction *
299 struct ir3_instruction *atomic, *src0, *src1, *src2; in emit_intrinsic_atomic_image()
300 struct ir3_instruction *const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_atomic_image()
301 struct ir3_instruction *image = ir3_image_to_ibo(ctx, intr->src[0]); in emit_intrinsic_atomic_image()