mesa/src/intel
Nanley Chery 144c2d4e4a anv: Initialize the clear color more often for FCV
Instead of only initializing the clear color when the first subresource
is accessed, initialize it for every FCV-enabled subresource. This is
needed because writes to any subresource may be converted to fast
clears.

Now that init_fast_clear_color is called for every subresource, we take
care not to stomp on the fast-clear-tracking state of the first
subresource by moving the code which updates it outside of
init_fast_clear_color.

Now init_fast_clear_color does just what it says: initializes the fast
clear color.

This fixes the regression introduced with commit 57445adc89,
("anv: Re-enable CCS_E on TGL+").

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8461
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24857>
2023-09-01 16:34:22 +00:00
..
blorp treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
ci ci: add a fix for KHR-GLES3.packed_pixels.*snorm tests 2023-09-01 10:37:43 +00:00
common intel/decoder: Fix memory leak on error path 2023-08-14 23:42:58 -07:00
compiler treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
dev intel: Add env variable to add break point on/before draw 2023-08-08 17:36:19 +00:00
ds intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
genxml intel/genxml: Update xml with gen_sort_tags.py output 2023-08-14 23:09:36 +00:00
isl intel/isl: Don't over-allocate CLEAR_COLOR size to use whole cache line 2023-08-23 12:55:08 +00:00
nullhw-layer
perf
tools intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
vulkan anv: Initialize the clear color more often for FCV 2023-09-01 16:34:22 +00:00
vulkan_hasvk treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
meson.build intel: Only build perf if drivers or tools are enabled 2023-08-31 21:53:19 +00:00