Revert "gallium: specify resource_resolve destination via a pipe_surface"
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 31 Jul 2012 13:56:09 +0000 (15:56 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 1 Aug 2012 13:39:46 +0000 (15:39 +0200)
commit6286d9810b7ebae588060370cd7a63c327478a2f
tree615439a67beb92f629bfeffe27217257a94679c1
parentbe2dcc5e9f61d380aec93eeb01227cbb6b5037c1
Revert "gallium: specify resource_resolve destination via a pipe_surface"

This reverts commit 5d5af7d359e0060fa00b90a8f04900b96f9058b0.

It turns out the issue this was supposed to fix merely counter-acted
a bug in the hardware driver that I wasn't aware of.

The resource_resolve is not supposed to do sRGB conversion, period.
(This would violate the requirement that source and destination must
be of the same format).
src/gallium/drivers/nv30/nv30_miptree.c
src/gallium/drivers/nv50/nv50_surface.c
src/gallium/drivers/nvc0/nvc0_surface.c
src/gallium/drivers/r300/r300_render.c
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_cb_blit.c