diff options
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index ca404d8beb3..fda38f91106 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1426,7 +1426,7 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode, coord_components = 3; break; default: - assert("Invalid sampler type"); + unreachable("Invalid sampler type"); } if (is_array && texop != nir_texop_lod) |