Lines Matching refs:grid
287 const struct pipe_grid_info *grid) in iris_update_grid_size_resource() argument
298 if (grid->indirect) { in iris_update_grid_size_resource()
299 pipe_resource_reference(&grid_ref->res, grid->indirect); in iris_update_grid_size_resource()
300 grid_ref->offset = grid->indirect_offset; in iris_update_grid_size_resource()
307 } else if (memcmp(ice->state.last_grid, grid->grid, sizeof(grid->grid)) != 0) { in iris_update_grid_size_resource()
308 memcpy(ice->state.last_grid, grid->grid, sizeof(grid->grid)); in iris_update_grid_size_resource()
309 u_upload_data(ice->state.dynamic_uploader, 0, sizeof(grid->grid), 4, in iris_update_grid_size_resource()
310 grid->grid, &grid_ref->offset, &grid_ref->res); in iris_update_grid_size_resource()
332 .size_B = sizeof(grid->grid), in iris_update_grid_size_resource()
342 iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid) in iris_launch_grid() argument
362 if (memcmp(ice->state.last_block, grid->block, sizeof(grid->block)) != 0) { in iris_launch_grid()
363 memcpy(ice->state.last_block, grid->block, sizeof(grid->block)); in iris_launch_grid()
368 iris_update_grid_size_resource(ice, grid); in iris_launch_grid()
381 batch->screen->vtbl.upload_compute_state(ice, batch, grid); in iris_launch_grid()