mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
intel/isl: Don't over-allocate CLEAR_COLOR size to use whole cache line
At the time this was added to fix some test failures. But it seems that
the failures were happening due to missing cache flushes, so
this extra space is no longer neccessary.
Fixes: 37b4eacc ("intel/isl: Resize clear color buffer to full cacheline")
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24768>
This commit is contained in:
parent
6d949e18fd
commit
caa5c23e48
1 changed files with 1 additions and 2 deletions
|
|
@ -307,8 +307,7 @@ isl_device_init(struct isl_device *dev,
|
|||
dev->ss.size = RENDER_SURFACE_STATE_length(info) * 4;
|
||||
dev->ss.align = isl_align(dev->ss.size, 32);
|
||||
|
||||
dev->ss.clear_color_state_size =
|
||||
isl_align(CLEAR_COLOR_length(info) * 4, 64);
|
||||
dev->ss.clear_color_state_size = CLEAR_COLOR_length(info) * 4;
|
||||
dev->ss.clear_color_state_offset =
|
||||
RENDER_SURFACE_STATE_ClearValueAddress_start(info) / 32 * 4;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue