summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_winsys.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 13:03:35 +0000
committerKeith Whitwell <[email protected]>2009-11-04 13:03:35 +0000
commit211d7ab22b13430aaae00a0dfe95492450bcca20 (patch)
treedb312543dec8016161b9df2afa596412bf34fbeb /src/gallium/drivers/i965/brw_winsys.h
parenta277bb20debc413f6ccf46f529497bf8bafa64dd (diff)
i965g: add standalone xlib debug winsys
Create a dummy winsys that just debug-prints on calls into the winsys functions. Will use this to get to the point where we are generating sane-looking debug dumps and diassembly. Also fix various warnings generated with the new compiler flags set in this config.
Diffstat (limited to 'src/gallium/drivers/i965/brw_winsys.h')
-rw-r--r--src/gallium/drivers/i965/brw_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_winsys.h b/src/gallium/drivers/i965/brw_winsys.h
index d0bd97d9946..9338923da34 100644
--- a/src/gallium/drivers/i965/brw_winsys.h
+++ b/src/gallium/drivers/i965/brw_winsys.h
@@ -54,6 +54,7 @@ enum brw_buffer_usage {
BRW_USAGE_SAMPLER, /* SAMPLER, 0 */
BRW_USAGE_VERTEX, /* VERTEX, 0 */
BRW_USAGE_SCRATCH, /* 0, 0 */
+ BRW_USAGE_MAX
};
/* Should be possible to validate usages above against buffer creation