OSDN Git Service

gallium/svga: Pass the SVGA3D_SURFACE_HINT_RENDERTARGET flag to the device
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 10 Jan 2012 13:37:33 +0000 (14:37 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 12 Jan 2012 10:20:16 +0000 (11:20 +0100)
commit4dac89d92c711c01b7909d89b78ba568f9d5e1ef
treee5257c8ac72f87436692e0a6e0b53a1e08291126
parent90d654b09d98fc597ca273c65c2b1b00a9c35f09
gallium/svga: Pass the SVGA3D_SURFACE_HINT_RENDERTARGET flag to the device

Some hardware versions rely on it to render correctly.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c