st/dri: fix OpenGL-OpenCL interop for GL_TEXTURE_BUFFER
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Mar 2018 18:47:28 +0000 (13:47 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 9 Mar 2018 21:33:31 +0000 (16:33 -0500)
commitdb495b8962909f74e90b9eb0463fb37f37ac5f62
treed102aae4ecfcc7c3d70450676822389ad78082ec
parent2bdb54bce77828ef20b730ad869b66c5889b5347
st/dri: fix OpenGL-OpenCL interop for GL_TEXTURE_BUFFER

Tested by our OpenCL team.

Fixes: 9c499e6759b26c5e "st/mesa: don't invoke st_finalize_texture & st_convert_sampler for TBOs"
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/state_trackers/dri/dri2.c