Searched refs:inst_dwords (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 126 unsigned *inst_dwords = alloca(num_mem_ops * sizeof(unsigned)); in si_create_dma_compute_shader() local 130 inst_dwords[i] = MIN2(4, num_dwords_per_thread - i * 4); in si_create_dma_compute_shader() 143 ureg_property(ureg, TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD, inst_dwords[0]); in si_create_dma_compute_shader() 166 ureg_UMUL(ureg, store_addr, ureg_src(store_addr), ureg_imm1u(ureg, 4 * inst_dwords[0])); in si_create_dma_compute_shader() 178 ureg_imm1u(ureg, 4 * inst_dwords[i] * sscreen->compute_wave_size)); in si_create_dma_compute_shader() 183 ureg_writemask(ureg_dst(values[i]), u_bit_consecutive(0, inst_dwords[i])); in si_create_dma_compute_shader() 192 ureg_imm1u(ureg, 4 * inst_dwords[d] * sscreen->compute_wave_size)); in si_create_dma_compute_shader() 195 struct ureg_dst dst = ureg_writemask(dstbuf, u_bit_consecutive(0, inst_dwords[d])); in si_create_dma_compute_shader()
|