[Mesa-dev] [PATCH v2 00/11] Enable sRGB-encoded fast-clears on CNL
Nanley Chery
nanleychery at gmail.com
Wed Apr 4 20:58:07 UTC 2018
Compared to the v1, this v2 manages to restrict the uses of
intel_miptree::fast_clear_color to the miptree module with less churn.
Notes:
* Patches 8-10 have no reviews.
* Patches 10-11 are optional improvements found by inspection.
Jason Ekstrand (1):
util/srgb: Add a float sRGB -> linear helper
Nanley Chery (10):
i965: Use the brw_context for the clear color and value setters
i965/miptree: Move the clear color and value setter implementations
i965: Make the miptree clear color setter take a gl_color_union
i965: Add and use a getter for the clear color
i965/miptree: Extend the sRGB-blending WA to future platforms
i965/meta_util: Re-enable sRGB-encoded fast-clears on CNL
i965: Add and use a getter for depth miptree clear values
i965: Add and use a helper for depth miptree clear values
i965/brw_clear: Remove extra for-loop in brw_fast_clear_depth
i965/blorp: Also skip the fast clear if the clear color differs
src/mesa/drivers/dri/i965/brw_blorp.c | 14 ++--
src/mesa/drivers/dri/i965/brw_clear.c | 35 ++--------
src/mesa/drivers/dri/i965/brw_meta_util.c | 11 ---
src/mesa/drivers/dri/i965/brw_misc_state.c | 15 -----
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 4 +-
src/mesa/drivers/dri/i965/gen6_depth_state.c | 4 +-
src/mesa/drivers/dri/i965/gen7_misc_state.c | 3 +-
src/mesa/drivers/dri/i965/gen8_depth_state.c | 3 +-
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 85 +++++++++++++++++++++++-
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 43 ++++++------
src/util/format_srgb.h | 14 ++++
11 files changed, 138 insertions(+), 93 deletions(-)
--
2.16.2
More information about the mesa-dev
mailing list