mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
iris: Drop row pitch param from iris_get_ccs_surf
This parameter won't be used for XeHP, because we can't directly control the row pitch of the CCS independently from the main surface. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13555>
This commit is contained in:
parent
7d57c9959e
commit
656d34a811
1 changed files with 3 additions and 5 deletions
|
|
@ -710,8 +710,7 @@ static bool
|
|||
iris_get_ccs_surf(const struct isl_device *dev,
|
||||
const struct isl_surf *surf,
|
||||
struct isl_surf *aux_surf,
|
||||
struct isl_surf *extra_aux_surf,
|
||||
uint32_t row_pitch_B)
|
||||
struct isl_surf *extra_aux_surf)
|
||||
{
|
||||
assert(extra_aux_surf->size_B == 0);
|
||||
|
||||
|
|
@ -727,8 +726,7 @@ iris_get_ccs_surf(const struct isl_device *dev,
|
|||
ccs_surf = aux_surf;
|
||||
}
|
||||
|
||||
return isl_surf_get_ccs_surf(dev, surf, hiz_or_mcs_surf,
|
||||
ccs_surf, row_pitch_B);
|
||||
return isl_surf_get_ccs_surf(dev, surf, hiz_or_mcs_surf, ccs_surf, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -753,7 +751,7 @@ iris_resource_configure_aux(struct iris_screen *screen,
|
|||
|
||||
const bool has_ccs = !INTEL_DEBUG(DEBUG_NO_RBC) &&
|
||||
iris_get_ccs_surf(&screen->isl_dev, &res->surf, &res->aux.surf,
|
||||
&res->aux.extra_aux.surf, 0);
|
||||
&res->aux.extra_aux.surf);
|
||||
|
||||
if (has_mcs) {
|
||||
assert(!res->mod_info);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue