diff options
author | Kenneth Graunke <[email protected]> | 2016-08-02 20:58:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-08-08 14:01:51 -0700 |
commit | b1586526e84ab6eab2023b589da8e153f70dda50 (patch) | |
tree | 59944d5e84ec690104354f291ac2923c3e2b8912 /src/mesa/drivers/dri/i965/intel_debug.h | |
parent | 7dfb1a4074328bcdff4b407b8f44be538180791d (diff) |
i965: Bail on the BLT path if BlitFramebuffer requires sRGB conversion.
Modern OpenGL BlitFramebuffer require sRGB encode/decode when
GL_FRAMEBUFFER_SRGB is enabled. The blitter can't handle this,
so we need to bail. On Gen4-5, this means falling back to Meta,
which should handle it.
We allow sRGB <-> sRGB blits, as decode then encode ought to be a noop
(other than potential precision loss, which nobody wants anyway).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_debug.h')
0 files changed, 0 insertions, 0 deletions