diff options
author | Rafael Antognolli <[email protected]> | 2019-03-07 08:23:08 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-03-20 16:46:25 -0700 |
commit | 7f6344a726b9e201189ace0a9d93b247729ad1d5 (patch) | |
tree | dd6802c382fd07299b21339953d7afa812957ec7 /src/gallium/drivers/iris | |
parent | a8b5ea8ef015ed4a4dee1cc0cb3057ceb8362ea9 (diff) |
iris: Bring back check for srgb and fast clear color.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_resolve.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_resolve.c b/src/gallium/drivers/iris/iris_resolve.c index cd00d7fa526..08d139fcdf7 100644 --- a/src/gallium/drivers/iris/iris_resolve.c +++ b/src/gallium/drivers/iris/iris_resolve.c @@ -1371,12 +1371,10 @@ iris_resource_render_aux_usage(struct iris_context *ice, * formats. However, there are issues with blending where it doesn't * properly apply the sRGB curve to the clear color when blending. */ - /* XXX: if (devinfo->gen >= 9 && blend_enabled && isl_format_is_srgb(render_format) && - !isl_color_value_is_zero_one(res->fast_clear_color, render_format)) + !isl_color_value_is_zero_one(res->aux.clear_color, render_format)) return ISL_AUX_USAGE_NONE; - */ if (res->aux.usage == ISL_AUX_USAGE_CCS_E && format_ccs_e_compat_with_resource(devinfo, res, render_format)) |