clc: Use stringstream for printing spirv errors
authorIcecream95 <ixn@disroot.org>
Wed, 19 Jan 2022 08:41:23 +0000 (21:41 +1300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 14 Apr 2022 00:14:43 +0000 (00:14 +0000)
commitf226222846780b88bc7bae2bf6213c4da0c8cdea
tree7b04144745d16943e561c908a2b4b7b985f8fbdd
parentfb69d9925ed0c87c988f617eb4b0e9358c5fd056
clc: Use stringstream for printing spirv errors

The type of the spv_position_t components can differ across platforms,
it's simpler to just let C++ overloading handle it.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15437>
src/compiler/clc/clc_helpers.cpp