diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-06-28 14:46:07 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-08-17 14:46:22 -0700 |
commit | 9f9abc82149839159a5fe5412ad09daa4f80442d (patch) | |
tree | 7f23920df7a0f8af7d62003ccea3c9ea8a4bec21 /src/mesa/drivers/dri/i965/brw_blorp.h | |
parent | a9a6df807e940f32025a109cbb00d52542ea336a (diff) |
i965/blorp: Add a z_offset field to blorp_surface_info
The layer field is in terms of physical layers which isn't quite what the
sampler will want for 2-D MS array textures.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index 282235d2851..ec12dfe9365 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -78,6 +78,9 @@ struct brw_blorp_surface_info struct isl_view view; + /* Z offset into a 3-D texture or slice of a 2-D array texture. */ + uint32_t z_offset; + /** * The miplevel to use. */ |