From: Brian Paul Date: Wed, 5 Feb 2014 17:45:14 +0000 (-0700) Subject: st/mesa: add MESA_SHADER_COMPUTE case in shader_stage_to_ptarget() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db98d238e237f19c3d1bc201e748ed5bf289ba6b;p=mesa.git st/mesa: add MESA_SHADER_COMPUTE case in shader_stage_to_ptarget() Silences compiler warning. Trivial. --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 0871dd06428..610fc68a8e3 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -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");