clover: pass image attributes to the kernel
authorZoltan Gilian <zoltan.gilian@gmail.com>
Mon, 27 Jul 2015 09:34:07 +0000 (11:34 +0200)
committerZoltan Gilian <zoltan.gilian@gmail.com>
Mon, 3 Aug 2015 11:31:16 +0000 (13:31 +0200)
commit9ef5b7a23348291893a6bf61fcce7a306e787add
treee28c88b9a3be2b4bd87492907fd7ee9f404a1618
parentd2cd2c69b20fcb3f1fc3b7671745c5c84ef200cb
clover: pass image attributes to the kernel

Read-only and write-only image arguments are recognized and
distinguished.
Attributes of the image arguments are passed to the kernel as implicit
arguments.
src/gallium/state_trackers/clover/core/kernel.cpp
src/gallium/state_trackers/clover/core/kernel.hpp
src/gallium/state_trackers/clover/core/module.hpp
src/gallium/state_trackers/clover/llvm/invocation.cpp