mesa/src
Nanley Chery 82849fb6d5 i965: Update the indirect buffer in set_clear_color
For depth buffers, we avoid fast-clearing if the aux_state is already
CLEAR. We do the same for color buffers only if the clear color
doesn't change. We require that the clear colors match because, in
that case, we don't update the indirect clear color outside of BLORP.

Update the indirect clear color for color buffers as well. We'll
enable the same depth buffer optimization for color buffers in a
later patch.

Note that we're now actually updating the indirect clear color twice
in the case where we use BLORP to perform the fast-clear. This is
only temporary. In later patches, we'll prevent BLORP from performing
the update.

v2: Add more context to the commit message (Topi).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2018-05-17 07:06:41 -07:00
..
amd radv: only declare the ESGS rings for pre GFX9 chips 2018-05-17 14:14:20 +02:00
broadcom v3d: Rename the driver files from "vc5" to "v3d". 2018-05-16 21:19:07 +01:00
compiler spirv: fix visiting inner loops with same break/continue block 2018-05-15 21:38:19 +02:00
egl android: change include "cutils/log.h" to "log/log.h" on Android API >=26 2018-05-14 08:08:31 +03:00
gallium radeonsi: create .gitignore 2018-05-16 21:48:17 -04:00
gbm gbm: remove never-implemented function 2018-03-28 16:25:52 +01:00
getopt
glx meson: allow empty sources when using link_whole 2018-04-24 14:08:15 -07:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/blorp: Use linear formats for CCS_E clear colors in copies 2018-05-14 10:41:26 -07:00
loader dri3: Only update number of back buffers in loader_dri3_get_buffers 2018-05-09 15:40:41 +02:00
mapi mesa: enable geom shaders in OpenGL 3.2 Compat profile 2018-05-03 12:08:21 +10:00
mesa i965: Update the indirect buffer in set_clear_color 2018-05-17 07:06:41 -07:00
util util/set: add a set_clear function 2018-05-04 10:13:33 -07:00
vulkan vulkan/wsi: Only use LINEAR modifier for prime if supported. 2018-05-08 15:47:16 +02:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am vulkan: Drop vk_android_native_buffer.xml 2018-04-10 19:29:49 -07:00
meson.build meson: only build mesa_st tests when build-tests is true 2018-04-24 14:08:15 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00