[Mesa-dev] [PATCH] r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap

Marek Olšák maraeo at gmail.com
Fri May 25 12:29:32 PDT 2012


Pushed, thanks.

Marek

On Fri, May 25, 2012 at 4:27 PM, Kai Wasserbäch
<kai at dev.carbon-project.org> wrote:
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50318
>
> Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
> ---
>  Verified with a full Piglit run on my HW (see the bug).
>  Thanks to Marek for pointing out b2d63860 to me!
>
>  In case you accept this patch: please commit it for me, I don't have access.
>
>  src/gallium/drivers/r600/r600_state.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
> index ed08fd6..124eba2 100644
> --- a/src/gallium/drivers/r600/r600_state.c
> +++ b/src/gallium/drivers/r600/r600_state.c
> @@ -281,6 +281,8 @@ static uint32_t r600_translate_colorswap(enum pipe_format format)
>        case PIPE_FORMAT_R16G16_FLOAT:
>        case PIPE_FORMAT_R16G16_UINT:
>        case PIPE_FORMAT_R16G16_SINT:
> +       case PIPE_FORMAT_R16G16B16_FLOAT:
> +       case PIPE_FORMAT_R32G32B32_FLOAT:
>        case PIPE_FORMAT_R32_UINT:
>        case PIPE_FORMAT_R32_SINT:
>        case PIPE_FORMAT_R32_FLOAT:
> --
> 1.7.10
>


More information about the mesa-dev mailing list