projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
357faa5
)
st/mesa: add MESA_SHADER_COMPUTE case in shader_stage_to_ptarget()
author
Brian Paul
<brianp@vmware.com>
Wed, 5 Feb 2014 17:45:14 +0000
(10:45 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 0871dd06428eb6e3fedcd15453c262a09bb44655..610fc68a8e3629cd31c960e574c60712cbf7dc70 100644
(file)
--- 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");