summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-09 12:10:41 +0800
committerChia-I Wu <[email protected]>2013-05-09 16:05:47 +0800
commit7cca1aac9dba97cc7a97d3fd7690bc4af4bda0a6 (patch)
tree1f2819dfdf3e1ab8aa5c4f337fe9448ebed127d2 /src/gallium/drivers/ilo/ilo_resource.h
parent1c56fc1025e14827b69e4dd354aea4c9e487c0dd (diff)
ilo: allow bo format to differ from that requested
For separate stencil buffer or formats not supported natively, the real format of the bo may differ from that requested.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index 89ad8c20811..03d31d4bcb9 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -48,6 +48,7 @@ struct ilo_resource {
struct pipe_resource base;
struct winsys_handle *handle;
+ enum pipe_format bo_format;
struct intel_bo *bo;
/*