summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_meta_util.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-06 11:38:59 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2016-04-21 10:20:03 +0300
commit69c364f2dcd65bb5b5e7fa075f40a2be9e45bff0 (patch)
treea40a955785611f32f2ee4913bfe4ad6ced4b5a74 /src/mesa/drivers/dri/i965/brw_meta_util.h
parent8a696e75d87da4f40e7ae26cb7fc47421b841455 (diff)
downloadexternal_mesa3d-69c364f2dcd65bb5b5e7fa075f40a2be9e45bff0.zip
external_mesa3d-69c364f2dcd65bb5b5e7fa075f40a2be9e45bff0.tar.gz
external_mesa3d-69c364f2dcd65bb5b5e7fa075f40a2be9e45bff0.tar.bz2
i965/meta: Move check for srgb into is_color_fast_clear_compatible()
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_meta_util.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_meta_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_meta_util.h b/src/mesa/drivers/dri/i965/brw_meta_util.h
index 4a7ce6b..550a46a 100644
--- a/src/mesa/drivers/dri/i965/brw_meta_util.h
+++ b/src/mesa/drivers/dri/i965/brw_meta_util.h
@@ -67,7 +67,7 @@ brw_meta_set_fast_clear_color(struct brw_context *brw,
bool
brw_is_color_fast_clear_compatible(struct brw_context *brw,
- mesa_format format,
+ const struct intel_mipmap_tree *mt,
const union gl_color_union *color);
#ifdef __cplusplus