st/mesa: add fake ARB_copy_image support in Gallium

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 19 August 2015 01:35 UTC

This support should be removed in favor of something that actually works in all the weird cases. However this is simple and is enough to allow Bioshock Infinite to render properly on nvc0.

Since the functionality is not implemented correctly, the extension will not appear in the extension string and mesa will still return INVALID_OPERATION for any glCopyImageSubData calls. In order to make use of this functionality, run with MESA_EXTENSION_OVERRIDE=GL_ARB_copy_image

f33a7ab st/mesa: add fake ARB_copy_image support in Gallium
src/mesa/state_tracker/st_cb_texture.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Upstream: cgit.freedesktop.org


  • Share