• Home
  • Raw
  • Download

Lines Matching refs:gds

61 	list_inithead(&cf->gds);  in r600_bytecode_cf()
97 struct r600_bytecode_gds *gds = CALLOC_STRUCT(r600_bytecode_gds); in r600_bytecode_gds() local
99 if (gds == NULL) in r600_bytecode_gds()
101 list_inithead(&gds->list); in r600_bytecode_gds()
102 return gds; in r600_bytecode_gds()
1580 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) in r600_bytecode_add_gds() argument
1587 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds)); in r600_bytecode_add_gds()
1590 if (gds->uav_index_mode) in r600_bytecode_add_gds()
1591 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false); in r600_bytecode_add_gds()
1605 list_addtail(&ngds->list, &bc->cf_last->gds); in r600_bytecode_add_gds()
1832 struct r600_bytecode_gds *gds; in r600_bytecode_build() local
1917 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_build()
1918 r = eg_bytecode_gds_build(bc, gds, addr); in r600_bytecode_build()
1953 struct r600_bytecode_gds *gds = NULL, *next_gds; in r600_bytecode_clear() local
1973 LIST_FOR_EACH_ENTRY_SAFE(gds, next_gds, &cf->gds, list) { in r600_bytecode_clear()
1974 free(gds); in r600_bytecode_clear()
1977 list_inithead(&cf->gds); in r600_bytecode_clear()
2177 struct r600_bytecode_gds *gds = NULL; in r600_bytecode_disasm() local
2502 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_disasm()
2507 o += fprintf(stderr, "%s ", r600_isa_fetch(gds->op)->name); in r600_bytecode_disasm()
2509 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2510 o += fprintf(stderr, "R%d.", gds->dst_gpr); in r600_bytecode_disasm()
2511 o += print_swizzle(gds->dst_sel_x); in r600_bytecode_disasm()
2512 o += print_swizzle(gds->dst_sel_y); in r600_bytecode_disasm()
2513 o += print_swizzle(gds->dst_sel_z); in r600_bytecode_disasm()
2514 o += print_swizzle(gds->dst_sel_w); in r600_bytecode_disasm()
2517 o += fprintf(stderr, ", R%d.", gds->src_gpr); in r600_bytecode_disasm()
2518 o += print_swizzle(gds->src_sel_x); in r600_bytecode_disasm()
2519 o += print_swizzle(gds->src_sel_y); in r600_bytecode_disasm()
2520 o += print_swizzle(gds->src_sel_z); in r600_bytecode_disasm()
2522 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2523 o += fprintf(stderr, ", R%d.", gds->src_gpr2); in r600_bytecode_disasm()
2525 if (gds->alloc_consume) { in r600_bytecode_disasm()
2526 o += fprintf(stderr, " UAV: %d", gds->uav_id); in r600_bytecode_disasm()
2527 if (gds->uav_index_mode) in r600_bytecode_disasm()
2528 o += fprintf(stderr, "[%s]", index_mode[gds->uav_index_mode]); in r600_bytecode_disasm()