Re: [Mesa-dev] glBlitFramebuffer and sRGB vs piglit

2013-12-16 Thread Henri Verbeet
On 16 December 2013 01:37, Marek Olšák wrote: > Hi everybody, > > There is an inconsistence in the piglit glBlitFramebuffer tests. If > both src and dst are sRGB, piglit expects this from glBlitFramebuffer: > > if (dst.num_samples == 1 && src.num_samples > 1) { >enable the sRGB->linear convers

[Mesa-dev] glBlitFramebuffer and sRGB vs piglit

2013-12-15 Thread Marek Olšák
Hi everybody, There is an inconsistence in the piglit glBlitFramebuffer tests. If both src and dst are sRGB, piglit expects this from glBlitFramebuffer: if (dst.num_samples == 1 && src.num_samples > 1) { enable the sRGB->linear conversion for src reads and the linear->sRGB conversion for ds