From: Karol Herbst Date: Thu, 5 Dec 2019 10:30:11 +0000 (+0100) Subject: clover/nir: set spirv environment to OpenCL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dba8bf116989402965a37b10bcb8ce83a1d4999c;p=mesa.git clover/nir: set spirv environment to OpenCL Signed-off-by: Karol Herbst Reviewed-by: Alyssa Rosenzweig Reviewed-by: Dave Airlie --- diff --git a/src/gallium/state_trackers/clover/nir/invocation.cpp b/src/gallium/state_trackers/clover/nir/invocation.cpp index 75a1d63ba0c..0522115a58d 100644 --- a/src/gallium/state_trackers/clover/nir/invocation.cpp +++ b/src/gallium/state_trackers/clover/nir/invocation.cpp @@ -62,6 +62,7 @@ module clover::nir::spirv_to_nir(const module &mod, const device &dev, std::string &r_log) { struct spirv_to_nir_options spirv_options = {}; + spirv_options.environment = NIR_SPIRV_OPENCL; spirv_options.caps.address = true; spirv_options.caps.float64 = true; spirv_options.caps.int8 = true;