diff options
author | Dave Airlie <[email protected]> | 2012-12-06 16:14:03 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-12-08 13:32:38 +1000 |
commit | a6256f1e678cf72a2c0cb407a2118afa92bd1b20 (patch) | |
tree | 36afdcc2bf739b50f78089e7876eb69a49f62885 /src/gallium/drivers/softpipe/sp_screen.c | |
parent | 22439f24a2403aaf8428a80da23fc95fc16454fa (diff) |
softpipe: add texture buffer object support
This adds TBO support to softpipe.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 3a38182994c..1e752fbc8c8 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -171,6 +171,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_QUERY_TIMESTAMP: case PIPE_CAP_CUBE_MAP_ARRAY: return 1; + case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: + return 1; } /* should only get here on unhandled cases */ debug_printf("Unexpected PIPE_CAP %d query\n", param); |