clover: pass image attributes to the kernel

Graphics / Mesa 3D Graphics Library / Mesa - Zoltan Gilian [gmail.com] - 3 August 2015 06:31 UTC

Read-only and write-only image arguments are recognized and distinguished. Attributes of the image arguments are passed to the kernel as implicit arguments.

9ef5b7a clover: pass image attributes to the kernel
src/gallium/state_trackers/clover/core/kernel.cpp | 28 ++++
src/gallium/state_trackers/clover/core/kernel.hpp | 15 ++-
src/gallium/state_trackers/clover/core/module.hpp | 4 +-
.../state_trackers/clover/llvm/invocation.cpp | 135 +++++++++++++++++++-
4 files changed, 171 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share