diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-11-30 15:47:13 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-09-20 20:08:20 -0700 |
commit | 9694b23f66f4c41407289fb7d3ff25321042ef49 (patch) | |
tree | 191463d5f9a54ef0d4c49fa2d504a9e5d37486a8 /src/mesa/drivers/dri/i965/intel_mipmap_tree.c | |
parent | 8fec9fbb9f78c1cbc539b28cd914fe366fa7e344 (diff) | |
download | external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.zip external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.gz external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.bz2 |
i965: Rename intelScreen to screen.
"intelScreen" is wordy and also doesn't fit our style guidelines.
"screen" is shorter, which is nice, because we use it fairly often.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 427657c..5e19d54 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -262,7 +262,7 @@ intel_miptree_supports_non_msrt_fast_clear(struct brw_context *brw, if (brw->gen >= 9) { mesa_format linear_format = _mesa_get_srgb_format_linear(mt->format); const uint32_t brw_format = brw_format_for_mesa_format(linear_format); - return isl_format_supports_lossless_compression(brw->intelScreen->devinfo, + return isl_format_supports_lossless_compression(brw->screen->devinfo, brw_format); } else return true; @@ -3063,7 +3063,7 @@ intel_miptree_get_isl_surf(struct brw_context *brw, struct isl_surf *surf) { surf->dim = get_isl_surf_dim(mt->target); - surf->dim_layout = get_isl_dim_layout(brw->intelScreen->devinfo, + surf->dim_layout = get_isl_dim_layout(brw->screen->devinfo, mt->tiling, mt->target); if (mt->num_samples > 1) { |