image2d is dynamic_cast-ed down from buffer, but is not it's
direct subclass. Make it inhernit buffer.
Signed-off-by: Dmitry Cherkassov dcherkas...@gmail.com
---
src/gallium/state_trackers/clover/core/memory.cpp |4 ++--
src/gallium/state_trackers/clover/core/memory.hpp |2 +-
2 files
Dmitry Cherkassov dcherkas...@gmail.com writes:
image2d is dynamic_cast-ed down from buffer, but is not it's
direct subclass. Make it inhernit buffer.
Hm, nope, you're not supposed to be able to dynamic_cast a buffer into
an image2d. If you found this problem in clEnqueueCopyBufferToImage()