summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 7b5794d7470..52bcd877f44 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -938,8 +938,7 @@ nir_tex_instr_dest_size(nir_tex_instr *instr)
ret = 3;
break;
default:
- assert(0);
- break;
+ unreachable("not reached");
}
if (instr->is_array)
ret++;