<div dir="ltr">Ping<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 3, 2018 at 3:32 PM, Andriy Khulap <span dir="ltr"><<a href="mailto:andriy.khulap@gmail.com" target="_blank">andriy.khulap@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=105438" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=105438</a><br>
Signed-off-by: Andriy Khulap <<a href="mailto:andriy.khulap@globallogic.com">andriy.khulap@globallogic.com</a><wbr>><br>
Signed-off-by: Vadym Shovkoplias <<a href="mailto:vadym.shovkoplias@globallogic.com">vadym.shovkoplias@<wbr>globallogic.com</a>><br>
---<br>
 src/compiler/glsl/glsl_to_nir.<wbr>cpp | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/src/compiler/glsl/glsl_to_<wbr>nir.cpp b/src/compiler/glsl/glsl_to_<wbr>nir.cpp<br>
index dbb58d82e8..1a0cd822a0 100644<br>
--- a/src/compiler/glsl/glsl_to_<wbr>nir.cpp<br>
+++ b/src/compiler/glsl/glsl_to_<wbr>nir.cpp<br>
@@ -1952,6 +1952,9 @@ nir_visitor::visit(ir_<wbr>expression *ir)<br>
    case ir_quadop_vector:<br>
       result = nir_vec(&b, srcs, ir->type->vector_elements);<br>
       break;<br>
+   case ir_binop_vector_extract:<br>
+      /* Prevent the unreachable trap */<br>
+      break;<br>
<br>
    default:<br>
       unreachable("not reached");<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.16.2<br>
<br>
</font></span></blockquote></div><br></div></div>