diff options
author | Marek Olšák <[email protected]> | 2011-05-02 02:38:20 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-05-06 20:13:05 +0200 |
commit | d931b0d8b360fc0222d295eca38aaee3e4e5d0be (patch) | |
tree | 60748a6eae3beec46086b5e38a9a1d7bb21c6586 /src/gallium/drivers/r600/r600_pipe.c | |
parent | a5f0a11477ae90f47f3adb59a93c5576dc8c7325 (diff) |
r600g: implement seamless_cube_map for evergreen
The r600/r700 support will follow soon.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 779507cdc03..080180ffea3 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -383,6 +383,11 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) /* R600 doesn't support per-MRT blends */ return family == CHIP_R600 ? 0 : 1; + /* Supported on Evergreen. */ + case PIPE_CAP_SEAMLESS_CUBE_MAP: + case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: + return family >= CHIP_CEDAR ? 1 : 0; + /* Unsupported features. */ case PIPE_CAP_STREAM_OUTPUT: case PIPE_CAP_PRIMITIVE_RESTART: |