diff options
author | Chia-I Wu <[email protected]> | 2013-06-26 12:26:02 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-26 16:42:45 +0800 |
commit | 3eb6754e94c623c4c2393f23aeaafa933bee154e (patch) | |
tree | 1df7b9df4f461ffc13cec2d835a3afc1a111e8b2 /src/gallium/drivers/ilo/ilo_screen.c | |
parent | 79385950f383771b9021f7b5f016da09a80600d4 (diff) |
ilo: support PIPE_CAP_USER_CONSTANT_BUFFERS
We need it for HUD support, and will need it for push constants in the future.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index d2b211366b1..aaceb7a6494 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -393,7 +393,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_USER_INDEX_BUFFERS: return false; case PIPE_CAP_USER_CONSTANT_BUFFERS: - return false; /* TODO push constants */ + return true; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: /* imposed by OWord (Dual) Block Read */ return 16; |