diff options
Diffstat (limited to 'src/gallium/drivers/swr/swr_resource.h')
-rw-r--r-- | src/gallium/drivers/swr/swr_resource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_resource.h b/src/gallium/drivers/swr/swr_resource.h index 41abd77cba0..ae9954c1e7d 100644 --- a/src/gallium/drivers/swr/swr_resource.h +++ b/src/gallium/drivers/swr/swr_resource.h @@ -46,6 +46,10 @@ struct swr_resource { struct sw_displaytarget *display_target; + /* If resource is multisample, then this points to a alternate resource + * containing the resolved multisample surface, otherwise null */ + struct pipe_resource *resolve_target; + size_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; size_t secondary_mip_offsets[PIPE_MAX_TEXTURE_LEVELS]; |