diff options
author | Nicolai Hähnle <[email protected]> | 2017-08-02 11:56:16 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-08-02 14:18:52 +0200 |
commit | e7499953267028f5d28257e0e932fafc346c2243 (patch) | |
tree | f6ba80836d666107b2522eaa4c62a3229f4876cc /src/mesa/state_tracker/st_glsl_to_nir.cpp | |
parent | 56e3b8b9e6e38abab981f089d74290adc75f6d43 (diff) |
st/mesa: replace st_shader_stage_to_ptarget
Use pipe_shader_type_from_mesa instead.
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_glsl_to_nir.cpp')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index 7f5a9afda80..a2522070b1c 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -227,7 +227,7 @@ st_glsl_to_nir(struct st_context *st, struct gl_program *prog, gl_shader_stage stage) { struct pipe_screen *pscreen = st->pipe->screen; - enum pipe_shader_type ptarget = st_shader_stage_to_ptarget(stage); + enum pipe_shader_type ptarget = pipe_shader_type_from_mesa(stage); const nir_shader_compiler_options *options; nir_shader *nir; |