clover: little OpenCL status code logging clean
authorEdB <edb+mesa@sigluy.net>
Tue, 7 Jul 2015 15:58:56 +0000 (17:58 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 16 Jul 2015 10:48:20 +0000 (13:48 +0300)
commit7e0180d57d330bd8d3047e841086712376b2a1cc
tree4ec25b241c4c176409df496870264e584bbedaf3
parent7b9ebf879b6f35038996805a641667f00d93c4b7
clover: little OpenCL status code logging clean

s/build_error/compile_error in order to match the stored OpenCL status code.
Make program::build catch and log every OpenCL error.
Make tgsi error triggering uniform with the llvm one.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/compiler.hpp
src/gallium/state_trackers/clover/core/error.hpp
src/gallium/state_trackers/clover/core/program.cpp
src/gallium/state_trackers/clover/llvm/invocation.cpp
src/gallium/state_trackers/clover/tgsi/compiler.cpp