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 b662c70aea.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Neha Bhende 2016-09-16 14:53:01 -07:00 committed by Brian Paul
parent 29c174a3e5
commit 47f16f5e7f
1 changed files with 0 additions and 12 deletions

View File

@ -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);