st/mesa: replace st_shader_stage_to_ptarget
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 09:56:16 +0000 (11:56 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 12:18:52 +0000 (14:18 +0200)
commite7499953267028f5d28257e0e932fafc346c2243
treef6ba80836d666107b2522eaa4c62a3229f4876cc
parent56e3b8b9e6e38abab981f089d74290adc75f6d43
st/mesa: replace st_shader_stage_to_ptarget

Use pipe_shader_type_from_mesa instead.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_constbuf.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_texture.c