diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-06-23 18:40:08 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-08-17 14:46:22 -0700 |
commit | e046a4646090aa6b96664d128af70fd36cc2e065 (patch) | |
tree | efdafbccfd7602977f0deacca7ba1d2ebd464592 /src/mesa/drivers/dri/i965/brw_blorp.h | |
parent | 27a58615d3c35aefd7d94457ca175facb309073c (diff) |
i965/blorp: Move intratile offset calculations out of surface state setup
Previously we multiplied full x/y offsets, resolved tile aligned buffer
offset and intra tile offset based on that. Now we let ISL to take into
account the msaa setting and we only multiply the resolved intra tile
offsets.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index 7aa67be12a3..e591f4171e5 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -104,19 +104,8 @@ struct brw_blorp_surface_info */ uint32_t height; - /** - * X offset within the surface to texture from (or render to). For - * surfaces using INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not - * pixels. - */ - uint32_t x_offset; - - /** - * Y offset within the surface to texture from (or render to). For - * surfaces using INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not - * pixels. - */ - uint32_t y_offset; + uint32_t bo_offset; + uint32_t tile_x_sa, tile_y_sa; /** * Format that should be used when setting up the surface state for this |