iris/compute: Don't increment the grid size offset
It may be in the dynamic state buffer but the fact that we have a resource takes care of that. We don't need to add in the address of the dynamic state buffer again.
This commit is contained in:
committed by
Kenneth Graunke
parent
a3e813c5af
commit
c16e711ff2
@@ -118,8 +118,6 @@ iris_update_grid_size_resource(struct iris_context *ice,
|
||||
|
||||
u_upload_data(ice->state.dynamic_uploader, 0, sizeof(grid->grid), 4,
|
||||
grid->grid, &grid_ref->offset, &grid_ref->res);
|
||||
grid_ref->offset +=
|
||||
iris_bo_offset_from_base_address(iris_resource_bo(grid_ref->res));
|
||||
}
|
||||
|
||||
void *surf_map = NULL;
|
||||
|
||||
Reference in New Issue
Block a user