summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2016-08-27 04:08:00 -0600
committerBrian Paul <[email protected]>2016-08-29 09:07:25 -0600
commit532db3b7881f3dfcd299320cbf44443d06b88373 (patch)
tree3d7099d986e4efbc4579e35d6139080f8f5ad0d2 /src/mesa/state_tracker/st_context.h
parent7413625ad357c87f409cd1673b40f8dffbc43259 (diff)
gallium: Use enum pipe_shader_type in set_sampler_views()
Signed-off-by: Kai Wasserbäch <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index f82cf3a85aa..2b783e00281 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -317,7 +317,7 @@ st_fb_orientation(const struct gl_framebuffer *fb)
}
-static inline unsigned
+static inline enum pipe_shader_type
st_shader_stage_to_ptarget(gl_shader_stage stage)
{
switch (stage) {