From: Marek Olšák Date: Wed, 30 Oct 2013 20:44:07 +0000 (+0100) Subject: radeonsi: report our border color behavior X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=164de0d2a5d4e102beba4f7a716516a5e76ac868;p=mesa.git radeonsi: report our border color behavior --- diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index 0431ab0b4df..f222f7d66bd 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -357,10 +357,12 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_CUBE_MAP_ARRAY: case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: - case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK: case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return 0; + case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK: + return PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_R600; + /* Stream output. */ case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: return has_streamout ? 4 : 0;