spirv: Update the OpenCL.std.h header
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 3 Jun 2019 21:41:46 +0000 (14:41 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 4 Jun 2019 19:12:51 +0000 (12:12 -0700)
commitd482a8f680f7a4aa3073d08a868b5ab69ec86bbb
tree2ce78ae9712950a016bf579a405a47c208117570
parent9701cb1034a683e9e14222d5e8a9e464053573ca
spirv: Update the OpenCL.std.h header

This corresponds to commit 8b911bd2ba37677037b38c9bd286c7c05701bcda on
GitHub.

We previously tweaked OpenCL.std.h from upstream to be included in C
code.  Now upstream header can be included, however the symbol names
are slightly different (include an OpenCLstd_ prefix), so this patch
also fixes vtn_opencl.c to use those.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/spirv/OpenCL.std.h
src/compiler/spirv/vtn_opencl.c