[Mesa-dev] [PATCH 1/2] clover: Handle PIPE_SHADER_IR_NIR in switch

Jan Vesely jan.vesely at rutgers.edu
Sat May 14 19:42:30 UTC 2016


Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 96f6a48..e2cadda 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;
-- 
2.5.5



More information about the mesa-dev mailing list