diff options
author | Marek Olšák <marek.olsak@amd.com> | 2017-04-30 01:18:43 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2017-05-10 19:29:08 +0200 |
commit | 70dcb7377dca89a230731efc2e2d650c38bddd93 (patch) | |
tree | fdc3076fdf623b3e3f5fb2b0bda6f60176efff44 /src/gallium/drivers/r600 | |
parent | 9db1f9bcd1acc3a6ee0b2246aaa60e1edef52614 (diff) |
gallium: add PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX
The next patch will use it. This is really for svga and GL2-level drivers.
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index ca18db0597..e4aa8868b9 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -286,6 +286,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_POLYGON_OFFSET_UNITS_UNSCALED: case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_TGSI_MUL_ZERO_WINS: + case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX: return 1; case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: |