Lines Matching refs:vtx
1436 struct r600_bytecode_vtx vtx; in load_sample_position() local
1441 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in load_sample_position()
1442 vtx.op = FETCH_OP_VFETCH; in load_sample_position()
1443 vtx.buffer_id = R600_BUFFER_INFO_CONST_BUFFER; in load_sample_position()
1444 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in load_sample_position()
1448 vtx.src_gpr = ctx->fixed_pt_position_gpr; // SAMPLEID is in .w; in load_sample_position()
1449 vtx.src_sel_x = 3; in load_sample_position()
1464 vtx.src_gpr = t1; in load_sample_position()
1465 vtx.src_sel_x = 0; in load_sample_position()
1467 vtx.mega_fetch_count = 16; in load_sample_position()
1468 vtx.dst_gpr = t1; in load_sample_position()
1469 vtx.dst_sel_x = 0; in load_sample_position()
1470 vtx.dst_sel_y = 1; in load_sample_position()
1471 vtx.dst_sel_z = 2; in load_sample_position()
1472 vtx.dst_sel_w = 3; in load_sample_position()
1473 vtx.data_format = FMT_32_32_32_32_FLOAT; in load_sample_position()
1474 vtx.num_format_all = 2; in load_sample_position()
1475 vtx.format_comp_all = 1; in load_sample_position()
1476 vtx.use_const_fields = 0; in load_sample_position()
1477 vtx.offset = 0; in load_sample_position()
1478 vtx.endian = r600_endian_swap(32); in load_sample_position()
1479 vtx.srf_mode_all = 1; /* SRF_MODE_NO_ZERO */ in load_sample_position()
1481 r = r600_bytecode_add_vtx(ctx->bc, &vtx); in load_sample_position()
1507 struct r600_bytecode_vtx vtx; in eg_load_helper_invocation() local
1508 memset(&vtx, 0, sizeof(vtx)); in eg_load_helper_invocation()
1509 vtx.op = FETCH_OP_GET_BUFFER_RESINFO; in eg_load_helper_invocation()
1510 vtx.buffer_id = R600_BUFFER_INFO_CONST_BUFFER; in eg_load_helper_invocation()
1511 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in eg_load_helper_invocation()
1512 vtx.src_gpr = 0; in eg_load_helper_invocation()
1513 vtx.mega_fetch_count = 16; /* no idea here really... */ in eg_load_helper_invocation()
1514 vtx.dst_gpr = ctx->helper_invoc_reg; in eg_load_helper_invocation()
1515 vtx.dst_sel_x = 4; in eg_load_helper_invocation()
1516 vtx.dst_sel_y = 7; /* SEL_Y */ in eg_load_helper_invocation()
1517 vtx.dst_sel_z = 7; /* SEL_Z */ in eg_load_helper_invocation()
1518 vtx.dst_sel_w = 7; /* SEL_W */ in eg_load_helper_invocation()
1519 vtx.data_format = FMT_32; in eg_load_helper_invocation()
1520 if ((r = r600_bytecode_add_vtx_tc(ctx->bc, &vtx))) in eg_load_helper_invocation()
1559 struct r600_bytecode_vtx vtx; in load_block_grid_size() local
1579 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in load_block_grid_size()
1580 vtx.op = FETCH_OP_VFETCH; in load_block_grid_size()
1581 vtx.buffer_id = R600_BUFFER_INFO_CONST_BUFFER; in load_block_grid_size()
1582 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in load_block_grid_size()
1583 vtx.src_gpr = t1; in load_block_grid_size()
1584 vtx.src_sel_x = 0; in load_block_grid_size()
1586 vtx.mega_fetch_count = 16; in load_block_grid_size()
1587 vtx.dst_gpr = t1; in load_block_grid_size()
1588 vtx.dst_sel_x = 0; in load_block_grid_size()
1589 vtx.dst_sel_y = 1; in load_block_grid_size()
1590 vtx.dst_sel_z = 2; in load_block_grid_size()
1591 vtx.dst_sel_w = 7; in load_block_grid_size()
1592 vtx.data_format = FMT_32_32_32_32; in load_block_grid_size()
1593 vtx.num_format_all = 1; in load_block_grid_size()
1594 vtx.format_comp_all = 0; in load_block_grid_size()
1595 vtx.use_const_fields = 0; in load_block_grid_size()
1596 vtx.offset = load_block ? 0 : 16; // first element is size of buffer in load_block_grid_size()
1597 vtx.endian = r600_endian_swap(32); in load_block_grid_size()
1598 vtx.srf_mode_all = 1; /* SRF_MODE_NO_ZERO */ in load_block_grid_size()
1600 r = r600_bytecode_add_vtx(ctx->bc, &vtx); in load_block_grid_size()
1665 struct r600_bytecode_vtx vtx; in tgsi_src() local
1669 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in tgsi_src()
1670 vtx.op = FETCH_OP_READ_SCRATCH; in tgsi_src()
1671 vtx.dst_gpr = reg; in tgsi_src()
1672 vtx.uncached = 1; // Must bypass cache since prior spill written in same invocation in tgsi_src()
1673 vtx.elem_size = 3; in tgsi_src()
1674 vtx.data_format = FMT_32_32_32_32; in tgsi_src()
1675 vtx.num_format_all = V_038010_SQ_NUM_FORMAT_INT; in tgsi_src()
1676 vtx.dst_sel_x = tgsi_src->Register.SwizzleX; in tgsi_src()
1677 vtx.dst_sel_y = tgsi_src->Register.SwizzleY; in tgsi_src()
1678 vtx.dst_sel_z = tgsi_src->Register.SwizzleZ; in tgsi_src()
1679 vtx.dst_sel_w = tgsi_src->Register.SwizzleW; in tgsi_src()
1682 &vtx.array_base, &vtx.array_size); in tgsi_src()
1685 vtx.indexed = 1; in tgsi_src()
1686 vtx.src_gpr = ctx->bc->ar_reg; in tgsi_src()
1689 vtx.array_base += idx; in tgsi_src()
1690 vtx.array_size = 0; in tgsi_src()
1693 r = r600_bytecode_add_vtx(ctx->bc, &vtx); in tgsi_src()
1825 struct r600_bytecode_vtx vtx; in tgsi_fetch_rel_const() local
1854 memset(&vtx, 0, sizeof(vtx)); in tgsi_fetch_rel_const()
1855 vtx.buffer_id = cb_idx; in tgsi_fetch_rel_const()
1856 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in tgsi_fetch_rel_const()
1857 vtx.src_gpr = ar_reg; in tgsi_fetch_rel_const()
1858 vtx.src_sel_x = ar_chan; in tgsi_fetch_rel_const()
1859 vtx.mega_fetch_count = 16; in tgsi_fetch_rel_const()
1860 vtx.dst_gpr = dst_reg; in tgsi_fetch_rel_const()
1861 vtx.dst_sel_x = 0; /* SEL_X */ in tgsi_fetch_rel_const()
1862 vtx.dst_sel_y = 1; /* SEL_Y */ in tgsi_fetch_rel_const()
1863 vtx.dst_sel_z = 2; /* SEL_Z */ in tgsi_fetch_rel_const()
1864 vtx.dst_sel_w = 3; /* SEL_W */ in tgsi_fetch_rel_const()
1865 vtx.data_format = FMT_32_32_32_32_FLOAT; in tgsi_fetch_rel_const()
1866 vtx.num_format_all = 2; /* NUM_FORMAT_SCALED */ in tgsi_fetch_rel_const()
1867 vtx.format_comp_all = 1; /* FORMAT_COMP_SIGNED */ in tgsi_fetch_rel_const()
1868 vtx.endian = r600_endian_swap(32); in tgsi_fetch_rel_const()
1869 vtx.buffer_index_mode = cb_rel; // cb_rel ? V_SQ_CF_INDEX_0 : V_SQ_CF_INDEX_NONE; in tgsi_fetch_rel_const()
1871 if ((r = r600_bytecode_add_vtx(ctx->bc, &vtx))) in tgsi_fetch_rel_const()
1879 struct r600_bytecode_vtx vtx; in fetch_gs_input() local
1970 memset(&vtx, 0, sizeof(vtx)); in fetch_gs_input()
1971 vtx.buffer_id = R600_GS_RING_CONST_BUFFER; in fetch_gs_input()
1972 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in fetch_gs_input()
1973 vtx.src_gpr = offset_reg; in fetch_gs_input()
1974 vtx.src_sel_x = offset_chan; in fetch_gs_input()
1975 vtx.offset = index * 16; /*bytes*/ in fetch_gs_input()
1976 vtx.mega_fetch_count = 16; in fetch_gs_input()
1977 vtx.dst_gpr = dst_reg; in fetch_gs_input()
1978 vtx.dst_sel_x = 0; /* SEL_X */ in fetch_gs_input()
1979 vtx.dst_sel_y = 1; /* SEL_Y */ in fetch_gs_input()
1980 vtx.dst_sel_z = 2; /* SEL_Z */ in fetch_gs_input()
1981 vtx.dst_sel_w = 3; /* SEL_W */ in fetch_gs_input()
1983 vtx.use_const_fields = 1; in fetch_gs_input()
1985 vtx.data_format = FMT_32_32_32_32_FLOAT; in fetch_gs_input()
1988 if ((r = r600_bytecode_add_vtx(ctx->bc, &vtx))) in fetch_gs_input()
2580 struct r600_bytecode_vtx vtx; in generate_gs_copy_shader() local
2634 memset(&vtx, 0, sizeof(vtx)); in generate_gs_copy_shader()
2635 vtx.op = FETCH_OP_VFETCH; in generate_gs_copy_shader()
2636 vtx.buffer_id = R600_GS_RING_CONST_BUFFER; in generate_gs_copy_shader()
2637 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in generate_gs_copy_shader()
2638 vtx.mega_fetch_count = 16; in generate_gs_copy_shader()
2639 vtx.offset = out->ring_offset; in generate_gs_copy_shader()
2640 vtx.dst_gpr = out->gpr; in generate_gs_copy_shader()
2641 vtx.src_gpr = 0; in generate_gs_copy_shader()
2642 vtx.dst_sel_x = 0; in generate_gs_copy_shader()
2643 vtx.dst_sel_y = 1; in generate_gs_copy_shader()
2644 vtx.dst_sel_z = 2; in generate_gs_copy_shader()
2645 vtx.dst_sel_w = 3; in generate_gs_copy_shader()
2647 vtx.use_const_fields = 1; in generate_gs_copy_shader()
2649 vtx.data_format = FMT_32_32_32_32_FLOAT; in generate_gs_copy_shader()
2652 r600_bytecode_add_vtx(ctx.bc, &vtx); in generate_gs_copy_shader()
2978 struct r600_bytecode_vtx vtx; in r600_fetch_tess_io_info() local
2991 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in r600_fetch_tess_io_info()
2992 vtx.op = FETCH_OP_VFETCH; in r600_fetch_tess_io_info()
2993 vtx.buffer_id = R600_LDS_INFO_CONST_BUFFER; in r600_fetch_tess_io_info()
2994 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in r600_fetch_tess_io_info()
2995 vtx.mega_fetch_count = 16; in r600_fetch_tess_io_info()
2996 vtx.data_format = FMT_32_32_32_32; in r600_fetch_tess_io_info()
2997 vtx.num_format_all = 2; in r600_fetch_tess_io_info()
2998 vtx.format_comp_all = 1; in r600_fetch_tess_io_info()
2999 vtx.use_const_fields = 0; in r600_fetch_tess_io_info()
3000 vtx.endian = r600_endian_swap(32); in r600_fetch_tess_io_info()
3001 vtx.srf_mode_all = 1; in r600_fetch_tess_io_info()
3002 vtx.offset = 0; in r600_fetch_tess_io_info()
3003 vtx.dst_gpr = ctx->tess_input_info; in r600_fetch_tess_io_info()
3004 vtx.dst_sel_x = 0; in r600_fetch_tess_io_info()
3005 vtx.dst_sel_y = 1; in r600_fetch_tess_io_info()
3006 vtx.dst_sel_z = 2; in r600_fetch_tess_io_info()
3007 vtx.dst_sel_w = 3; in r600_fetch_tess_io_info()
3008 vtx.src_gpr = temp_val; in r600_fetch_tess_io_info()
3009 vtx.src_sel_x = 0; in r600_fetch_tess_io_info()
3011 r = r600_bytecode_add_vtx(ctx->bc, &vtx); in r600_fetch_tess_io_info()
3019 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in r600_fetch_tess_io_info()
3020 vtx.op = FETCH_OP_VFETCH; in r600_fetch_tess_io_info()
3021 vtx.buffer_id = R600_LDS_INFO_CONST_BUFFER; in r600_fetch_tess_io_info()
3022 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in r600_fetch_tess_io_info()
3023 vtx.mega_fetch_count = 16; in r600_fetch_tess_io_info()
3024 vtx.data_format = FMT_32_32_32_32; in r600_fetch_tess_io_info()
3025 vtx.num_format_all = 2; in r600_fetch_tess_io_info()
3026 vtx.format_comp_all = 1; in r600_fetch_tess_io_info()
3027 vtx.use_const_fields = 0; in r600_fetch_tess_io_info()
3028 vtx.endian = r600_endian_swap(32); in r600_fetch_tess_io_info()
3029 vtx.srf_mode_all = 1; in r600_fetch_tess_io_info()
3030 vtx.offset = 16; in r600_fetch_tess_io_info()
3031 vtx.dst_gpr = ctx->tess_output_info; in r600_fetch_tess_io_info()
3032 vtx.dst_sel_x = 0; in r600_fetch_tess_io_info()
3033 vtx.dst_sel_y = 1; in r600_fetch_tess_io_info()
3034 vtx.dst_sel_z = 2; in r600_fetch_tess_io_info()
3035 vtx.dst_sel_w = 3; in r600_fetch_tess_io_info()
3036 vtx.src_gpr = temp_val; in r600_fetch_tess_io_info()
3037 vtx.src_sel_x = 0; in r600_fetch_tess_io_info()
3039 r = r600_bytecode_add_vtx(ctx->bc, &vtx); in r600_fetch_tess_io_info()
7412 struct r600_bytecode_vtx vtx; in do_vtx_fetch_inst() local
7437 memset(&vtx, 0, sizeof(vtx)); in do_vtx_fetch_inst()
7438 vtx.op = FETCH_OP_VFETCH; in do_vtx_fetch_inst()
7439 vtx.buffer_id = id + R600_MAX_CONST_BUFFERS; in do_vtx_fetch_inst()
7440 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in do_vtx_fetch_inst()
7441 vtx.src_gpr = src_gpr; in do_vtx_fetch_inst()
7442 vtx.mega_fetch_count = 16; in do_vtx_fetch_inst()
7443 vtx.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in do_vtx_fetch_inst()
7444 vtx.dst_sel_x = (inst->Dst[0].Register.WriteMask & 1) ? 0 : 7; /* SEL_X */ in do_vtx_fetch_inst()
7445 vtx.dst_sel_y = (inst->Dst[0].Register.WriteMask & 2) ? 1 : 7; /* SEL_Y */ in do_vtx_fetch_inst()
7446 vtx.dst_sel_z = (inst->Dst[0].Register.WriteMask & 4) ? 2 : 7; /* SEL_Z */ in do_vtx_fetch_inst()
7447 vtx.dst_sel_w = (inst->Dst[0].Register.WriteMask & 8) ? 3 : 7; /* SEL_W */ in do_vtx_fetch_inst()
7448 vtx.use_const_fields = 1; in do_vtx_fetch_inst()
7449 vtx.buffer_index_mode = sampler_index_mode; in do_vtx_fetch_inst()
7451 if ((r = r600_bytecode_add_vtx(ctx->bc, &vtx))) in do_vtx_fetch_inst()
7466 alu.dst.sel = vtx.dst_gpr; in do_vtx_fetch_inst()
7469 alu.src[0].sel = vtx.dst_gpr; in do_vtx_fetch_inst()
7489 alu.dst.sel = vtx.dst_gpr; in do_vtx_fetch_inst()
7492 alu.src[0].sel = vtx.dst_gpr; in do_vtx_fetch_inst()
7530 struct r600_bytecode_vtx vtx; in r600_do_buffer_txq() local
7531 memset(&vtx, 0, sizeof(vtx)); in r600_do_buffer_txq()
7532 vtx.op = FETCH_OP_GET_BUFFER_RESINFO; in r600_do_buffer_txq()
7533 vtx.buffer_id = id + eg_buffer_base; in r600_do_buffer_txq()
7534 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in r600_do_buffer_txq()
7535 vtx.src_gpr = 0; in r600_do_buffer_txq()
7536 vtx.mega_fetch_count = 16; /* no idea here really... */ in r600_do_buffer_txq()
7537 vtx.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in r600_do_buffer_txq()
7538 vtx.dst_sel_x = (inst->Dst[0].Register.WriteMask & 1) ? 0 : 7; /* SEL_X */ in r600_do_buffer_txq()
7539 vtx.dst_sel_y = (inst->Dst[0].Register.WriteMask & 2) ? 4 : 7; /* SEL_Y */ in r600_do_buffer_txq()
7540 vtx.dst_sel_z = (inst->Dst[0].Register.WriteMask & 4) ? 4 : 7; /* SEL_Z */ in r600_do_buffer_txq()
7541 vtx.dst_sel_w = (inst->Dst[0].Register.WriteMask & 8) ? 4 : 7; /* SEL_W */ in r600_do_buffer_txq()
7542 vtx.data_format = FMT_32_32_32_32; in r600_do_buffer_txq()
7543 vtx.buffer_index_mode = sampler_index_mode; in r600_do_buffer_txq()
7545 if ((r = r600_bytecode_add_vtx_tc(ctx->bc, &vtx))) in r600_do_buffer_txq()
8864 struct r600_bytecode_vtx vtx; in tgsi_load_buffer() local
8877 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in tgsi_load_buffer()
8878 vtx.op = FETCH_OP_VFETCH; in tgsi_load_buffer()
8879 vtx.buffer_id = inst->Src[0].Register.Index + base; in tgsi_load_buffer()
8880 vtx.buffer_index_mode = rat_index_mode; in tgsi_load_buffer()
8881 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in tgsi_load_buffer()
8882 vtx.src_gpr = temp_reg; in tgsi_load_buffer()
8883 vtx.src_sel_x = 0; in tgsi_load_buffer()
8884 vtx.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in tgsi_load_buffer()
8885 vtx.dst_sel_x = (inst->Dst[0].Register.WriteMask & 1) ? 0 : 7; /* SEL_X */ in tgsi_load_buffer()
8886 vtx.dst_sel_y = (inst->Dst[0].Register.WriteMask & 2) ? 1 : 7; /* SEL_Y */ in tgsi_load_buffer()
8887 vtx.dst_sel_z = (inst->Dst[0].Register.WriteMask & 4) ? 2 : 7; /* SEL_Z */ in tgsi_load_buffer()
8888 vtx.dst_sel_w = (inst->Dst[0].Register.WriteMask & 8) ? 3 : 7; /* SEL_W */ in tgsi_load_buffer()
8889 vtx.num_format_all = 1; in tgsi_load_buffer()
8890 vtx.format_comp_all = 1; in tgsi_load_buffer()
8891 vtx.srf_mode_all = 0; in tgsi_load_buffer()
8894 vtx.data_format = FMT_32_32_32_32; in tgsi_load_buffer()
8895 vtx.use_const_fields = 0; in tgsi_load_buffer()
8897 vtx.data_format = FMT_32_32_32; in tgsi_load_buffer()
8898 vtx.use_const_fields = 0; in tgsi_load_buffer()
8900 vtx.data_format = FMT_32_32; in tgsi_load_buffer()
8901 vtx.use_const_fields = 0; in tgsi_load_buffer()
8903 vtx.data_format = FMT_32; in tgsi_load_buffer()
8904 vtx.use_const_fields = 0; in tgsi_load_buffer()
8907 r = r600_bytecode_add_vtx_tc(ctx->bc, &vtx); in tgsi_load_buffer()
8919 struct r600_bytecode_vtx vtx; in tgsi_load_rat() local
8958 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in tgsi_load_rat()
8959 vtx.op = FETCH_OP_VFETCH; in tgsi_load_rat()
8960 vtx.buffer_id = immed_base + inst->Src[0].Register.Index; in tgsi_load_rat()
8961 vtx.buffer_index_mode = rat_index_mode; in tgsi_load_rat()
8962 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in tgsi_load_rat()
8963 vtx.src_gpr = ctx->thread_id_gpr; in tgsi_load_rat()
8964 vtx.src_sel_x = 1; in tgsi_load_rat()
8965 vtx.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in tgsi_load_rat()
8966 vtx.dst_sel_x = desc->swizzle[0]; in tgsi_load_rat()
8967 vtx.dst_sel_y = desc->swizzle[1]; in tgsi_load_rat()
8968 vtx.dst_sel_z = desc->swizzle[2]; in tgsi_load_rat()
8969 vtx.dst_sel_w = desc->swizzle[3]; in tgsi_load_rat()
8970 vtx.srf_mode_all = 1; in tgsi_load_rat()
8971 vtx.data_format = format; in tgsi_load_rat()
8972 vtx.num_format_all = num_format; in tgsi_load_rat()
8973 vtx.format_comp_all = format_comp; in tgsi_load_rat()
8974 vtx.endian = endian; in tgsi_load_rat()
8975 vtx.offset = 0; in tgsi_load_rat()
8976 vtx.mega_fetch_count = 3; in tgsi_load_rat()
8977 r = r600_bytecode_add_vtx_tc(ctx->bc, &vtx); in tgsi_load_rat()
9249 struct r600_bytecode_vtx vtx; in tgsi_atomic_op_rat() local
9335 memset(&vtx, 0, sizeof(struct r600_bytecode_vtx)); in tgsi_atomic_op_rat()
9340 vtx.dst_sel_x = desc->swizzle[0]; in tgsi_atomic_op_rat()
9346 vtx.dst_sel_x = 0; in tgsi_atomic_op_rat()
9348 vtx.op = FETCH_OP_VFETCH; in tgsi_atomic_op_rat()
9349 vtx.buffer_id = immed_base + inst->Src[0].Register.Index; in tgsi_atomic_op_rat()
9350 vtx.buffer_index_mode = rat_index_mode; in tgsi_atomic_op_rat()
9351 vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET; in tgsi_atomic_op_rat()
9352 vtx.src_gpr = ctx->thread_id_gpr; in tgsi_atomic_op_rat()
9353 vtx.src_sel_x = 1; in tgsi_atomic_op_rat()
9354 vtx.dst_gpr = ctx->file_offset[inst->Dst[0].Register.File] + inst->Dst[0].Register.Index; in tgsi_atomic_op_rat()
9355 vtx.dst_sel_y = 7; in tgsi_atomic_op_rat()
9356 vtx.dst_sel_z = 7; in tgsi_atomic_op_rat()
9357 vtx.dst_sel_w = 7; in tgsi_atomic_op_rat()
9358 vtx.use_const_fields = 0; in tgsi_atomic_op_rat()
9359 vtx.srf_mode_all = 1; in tgsi_atomic_op_rat()
9360 vtx.data_format = format; in tgsi_atomic_op_rat()
9361 vtx.num_format_all = num_format; in tgsi_atomic_op_rat()
9362 vtx.format_comp_all = format_comp; in tgsi_atomic_op_rat()
9363 vtx.endian = endian; in tgsi_atomic_op_rat()
9364 vtx.offset = 0; in tgsi_atomic_op_rat()
9365 vtx.mega_fetch_count = 0xf; in tgsi_atomic_op_rat()
9366 r = r600_bytecode_add_vtx_tc(ctx->bc, &vtx); in tgsi_atomic_op_rat()