summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/r600/drm/radeon_priv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-17 12:47:49 +1000
committerDave Airlie <airlied@redhat.com>2010-09-17 15:29:31 +1000
commit7c1fcc41be15b6d648f84c8c1870a3a00575a48f (patch)
treeae08a7619787a20116ef12fc836e2e4a3f568711 /src/gallium/winsys/r600/drm/radeon_priv.h
parent0dbcf3b014ff05843bc71235652cd4a0e089bbc9 (diff)
r600g: move constant buffer creation behind winsys abstraction.
this paves the way for moving to pb bufmgrs now.
Diffstat (limited to 'src/gallium/winsys/r600/drm/radeon_priv.h')
-rw-r--r--src/gallium/winsys/r600/drm/radeon_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon_priv.h b/src/gallium/winsys/r600/drm/radeon_priv.h
index 6bd8d9850f..49fe1a6ead 100644
--- a/src/gallium/winsys/r600/drm/radeon_priv.h
+++ b/src/gallium/winsys/r600/drm/radeon_priv.h
@@ -86,11 +86,13 @@ struct radeon {
unsigned nstype;
struct radeon_stype_info *stype;
unsigned max_states;
+ boolean use_mem_constant; /* true for evergreen */
};
struct radeon_ws_bo {
struct pipe_reference reference;
struct radeon_bo *bo;
+ struct pb_buffer *pb;
};
extern struct radeon *radeon_new(int fd, unsigned device);