diff options
author | Fredrik Höglund <[email protected]> | 2013-03-22 17:14:43 +0100 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2013-04-11 00:10:45 +0200 |
commit | fb69dbb0d164fc617941943472cfa390510ec63b (patch) | |
tree | 0b806b22929fc154943b7c20df4228261b58245c /src/gallium/drivers/r600/r600_pipe.c | |
parent | 42767dc22fdc69d72622c13521f2e703470170b3 (diff) |
r600g: Add support for GL_ARB_texture_buffer_range
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 7f308f7d001..ec83c45c83e 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -575,6 +575,9 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return 256; + case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: + return 1; + case PIPE_CAP_GLSL_FEATURE_LEVEL: return 140; @@ -601,7 +604,6 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_FRAGMENT_COLOR_CLAMPED: case PIPE_CAP_VERTEX_COLOR_CLAMPED: case PIPE_CAP_USER_VERTEX_BUFFERS: - case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: case PIPE_CAP_QUERY_PIPELINE_STATISTICS: return 0; |