diff options
author | Marek Olšák <[email protected]> | 2014-03-09 22:29:20 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-11 18:51:20 +0100 |
commit | de5094d102da0ffd8adef606b89e7a40d5843141 (patch) | |
tree | 7e64252626b502f7483bb16662736b2f18f18353 /src/gallium | |
parent | e2198422820fd076adccde2f72b821a2c05e8fcc (diff) |
radeonsi: small cleanup in get_param
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 08502698d39..827e9fe5e0d 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -258,11 +258,8 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) return HAVE_LLVM >= 0x0304 && (sscreen->b.chip_class < CIK || sscreen->b.info.drm_minor >= 35); - case PIPE_CAP_TGSI_TEXCOORD: - return 0; - case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: - return 64; + return R600_MAP_BUFFER_ALIGNMENT; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: @@ -285,6 +282,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_CUBE_MAP_ARRAY: case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: case PIPE_CAP_TEXTURE_GATHER_SM5: + case PIPE_CAP_TGSI_TEXCOORD: return 0; case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK: |