clover: Handle PIPE_SHADER_IR_NIR in switch
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 12 May 2016 20:24:58 +0000 (16:24 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Mon, 16 May 2016 00:05:10 +0000 (20:05 -0400)
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/invocation.cpp

index 96f6a485a40cfe90f5774943b7827f107473041c..e2cadda64cfeb7cd31730004930828a38df90aff 100644 (file)
@@ -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;