From: Jan Vesely Date: Thu, 12 May 2016 20:24:58 +0000 (-0400) Subject: clover: Handle PIPE_SHADER_IR_NIR in switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9525f33164fcc071088093d110404b6c3b9d5ab8;p=mesa.git clover: Handle PIPE_SHADER_IR_NIR in switch Signed-off-by: Jan Vesely Reviewed-by: Francisco Jerez --- diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 96f6a485a40..e2cadda64cf 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -893,8 +893,9 @@ clover::compile_program_llvm(const std::string &source, module m; // Build the clover::module switch (ir) { + case PIPE_SHADER_IR_NIR: case PIPE_SHADER_IR_TGSI: - //XXX: Handle TGSI + //XXX: Handle TGSI, NIR assert(0); m = module(); break;