diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2022-07-21 09:55:44 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-08-12 14:24:52 +0000 |
commit | 1c172cdbccd6aeae6a0660514b8fef5e550f1ca4 (patch) | |
tree | 4aee08408f284a78f9e1b0957cfa4df872e01069 /src/mesa/state_tracker/st_texture.h | |
parent | d1e33fa3456d174e6c47c20abc466fd06936ac58 (diff) |
mesa/st: plumb glsl130_or_later through sampler creation
no functional changes
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17687>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_texture.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index efdfbcea909..10ac6fb892f 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -240,12 +240,14 @@ st_convert_sampler(const struct st_context *st, float tex_unit_lod_bias, struct pipe_sampler_state *sampler, bool seamless_cube_map, - bool ignore_srgb_decode); + bool ignore_srgb_decode, + bool glsl130_or_later); void st_convert_sampler_from_unit(const struct st_context *st, struct pipe_sampler_state *sampler, - GLuint texUnit); + GLuint texUnit, + bool glsl130_or_later); struct pipe_sampler_view * st_update_single_texture(struct st_context *st, |