summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2016-05-12 16:24:58 -0400
committerJan Vesely <[email protected]>2016-05-15 20:05:10 -0400
commit9525f33164fcc071088093d110404b6c3b9d5ab8 (patch)
tree7cc449be6b6b5c9eb359028d0b9061b2b53888b9 /src/gallium
parent277818ecfb3d7a2ac840b0c36e3586b2fdac1a52 (diff)
clover: Handle PIPE_SHADER_IR_NIR in switch
Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/clover/llvm/invocation.cpp3
1 files changed, 2 insertions, 1 deletions
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;