diff options
author | Neha Bhende <[email protected]> | 2016-09-16 14:53:01 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-09-23 19:53:51 -0600 |
commit | 47f16f5e7f2663d922279b6b100b8f4d8c14f330 (patch) | |
tree | 80a161ada8e80ff8170b666898022708ac5c82a2 /src | |
parent | 29c174a3e57c9d6ea36fcfb75e0a04b76fc03ee6 (diff) |
svga: disable srgb format related code from svga_blit()
With latest mesa and latest piglit tests srgb<->linear conversion
is not required as per GL4.4 rules
See commit b662c70aeab6a92751514f30719c13a6de253b40.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_blit.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_blit.c b/src/gallium/drivers/svga/svga_pipe_blit.c index 5a7fa308718..fa4540a59c5 100644 --- a/src/gallium/drivers/svga/svga_pipe_blit.c +++ b/src/gallium/drivers/svga/svga_pipe_blit.c @@ -325,18 +325,6 @@ svga_blit(struct pipe_context *pipe, return; } - /** - * When there is blit from srgb to linear format or vice versa, we change - * src.format to srgb or linear, respectively - */ - - if (util_format_is_srgb(blit.dst.format)) { - blit.src.format = util_format_srgb(blit.src.format); - } - else { - blit.src.format = util_format_linear(blit.src.format); - } - /* XXX turn off occlusion and streamout queries */ util_blitter_save_vertex_buffer_slot(svga->blitter, svga->curr.vb); |