st/mesa: add MESA_SHADER_COMPUTE case in shader_stage_to_ptarget()
authorBrian Paul <brianp@vmware.com>
Wed, 5 Feb 2014 17:45:14 +0000 (10:45 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Feb 2014 18:00:41 +0000 (11:00 -0700)
Silences compiler warning.  Trivial.

src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index 0871dd06428eb6e3fedcd15453c262a09bb44655..610fc68a8e3629cd31c960e574c60712cbf7dc70 100644 (file)
@@ -5027,6 +5027,8 @@ shader_stage_to_ptarget(gl_shader_stage stage)
       return PIPE_SHADER_FRAGMENT;
    case MESA_SHADER_GEOMETRY:
       return PIPE_SHADER_GEOMETRY;
+   case MESA_SHADER_COMPUTE:
+      return PIPE_SHADER_COMPUTE;
    }
 
    assert(!"should not be reached");