summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/svga/svga_pipe_blit.c12
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);