From b406c34a65677cac2517336d93ab279c3d35fce6 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 23 Jul 2015 10:39:26 +1000 Subject: [PATCH] i965: fix warning since tess merge. Signed-off-by: Dave Airlie --- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 6c979334ac7..33469d4ad69 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -102,6 +102,8 @@ fs_visitor::nir_setup_inputs(nir_shader *shader) } case MESA_SHADER_GEOMETRY: case MESA_SHADER_COMPUTE: + case MESA_SHADER_TESS_CTRL: + case MESA_SHADER_TESS_EVAL: unreachable("fs_visitor not used for these stages yet."); break; case MESA_SHADER_FRAGMENT: -- 2.30.2