Lines Matching refs:compute_shader
1607 struct radv_shader_variant *compute_shader;
1616 compute_shader = pipeline->shaders[MESA_SHADER_COMPUTE];
1617 va = ws->buffer_get_va(compute_shader->bo);
1619 ws->cs_add_buffer(cmd_buffer->cs, compute_shader->bo, 8);
1629 radeon_emit(cmd_buffer->cs, compute_shader->rsrc1);
1630 radeon_emit(cmd_buffer->cs, compute_shader->rsrc2);
1638 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[0]));
1640 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[1]));
1642 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[2]));
2296 struct radv_shader_variant *compute_shader = pipeline->shaders[MESA_SHADER_COMPUTE];
2299 blocks[0] = round_up_u32(x, compute_shader->info.cs.block_size[0]);
2300 blocks[1] = round_up_u32(y, compute_shader->info.cs.block_size[1]);
2301 blocks[2] = round_up_u32(z, compute_shader->info.cs.block_size[2]);
2304 remainder[0] = x + compute_shader->info.cs.block_size[0] - align_u32_npot(x, compute_shader->info.cs.block_size[0]);
2305 remainder[1] = y + compute_shader->info.cs.block_size[1] - align_u32_npot(y, compute_shader
2306 remainder[2] = z + compute_shader->info.cs.block_size[2] - align_u32_npot(z, compute_shader->info.cs.block_size[2]);
2314 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[0]) |
2317 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[1]) |
2320 S_00B81C_NUM_THREAD_FULL(compute_shader->info.cs.block_size[2]) |