From 9525f33164fcc071088093d110404b6c3b9d5ab8 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Thu, 12 May 2016 16:24:58 -0400 Subject: clover: Handle PIPE_SHADER_IR_NIR in switch Signed-off-by: Jan Vesely Reviewed-by: Francisco Jerez --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers') 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; -- cgit v1.2.3