summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-21 13:31:27 +1000
committerDave Airlie <[email protected]>2010-10-21 13:33:00 +1000
commit91e513044de21f20c2c085a99e9d784c7a61173c (patch)
treecddd7a34bd55bf66548536820ed87a88b997e324 /src/gallium/drivers/r600/r600_resource.h
parent388ce31baa860a0d7535c852d768c6e243c8133c (diff)
r600g: add r600 surface to store the aligned height.
we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index d34a8edac2b..5d9fe8cf944 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -124,4 +124,9 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
void r600_texture_transfer_unmap(struct pipe_context *ctx,
struct pipe_transfer* transfer);
+struct r600_surface {
+ struct pipe_surface base;
+ unsigned aligned_height;
+};
+
#endif