aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_defines.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-02 05:50:58 +0200
committerMarek Olšák <[email protected]>2010-06-02 06:01:22 +0200
commit37f3454eb3afa1297126a8d77a563d734c292a37 (patch)
treeecef6b95adaf132fef15fd23caa7daed86a018f7 /src/gallium/drivers/r300/r300_defines.h
parentae3063066cb209efd07413f125bb86108906b033 (diff)
r300g: let the driver determine the GEM domain for buffer_create
Diffstat (limited to 'src/gallium/drivers/r300/r300_defines.h')
-rw-r--r--src/gallium/drivers/r300/r300_defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_defines.h b/src/gallium/drivers/r300/r300_defines.h
index 4b1c3707268..83c9ec7e399 100644
--- a/src/gallium/drivers/r300/r300_defines.h
+++ b/src/gallium/drivers/r300/r300_defines.h
@@ -45,4 +45,9 @@ enum r300_buffer_tiling {
R300_BUFFER_SQUARETILED
};
+enum r300_buffer_domain { /* bitfield */
+ R300_DOMAIN_GTT = 1,
+ R300_DOMAIN_VRAM = 2
+};
+
#endif