diff options
author | Brian Paul <[email protected]> | 2014-02-05 10:45:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-05 11:00:41 -0700 |
commit | db98d238e237f19c3d1bc201e748ed5bf289ba6b (patch) | |
tree | 3dd9a15791aa26cc38153ae604282582283a64b7 | |
parent | 357faa5a361db7683b61343bd0039ffc1a752443 (diff) |
st/mesa: add MESA_SHADER_COMPUTE case in shader_stage_to_ptarget()
Silences compiler warning. Trivial.
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |