diff options
author | Marek Olšák <[email protected]> | 2017-06-12 01:15:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-22 01:51:02 +0200 |
commit | 25723857d95e40147e59e3fda5b5fba1b41ec5a4 (patch) | |
tree | 1418e83ece9b85835b2a9bc3efc50d23bafee937 /src/mesa/state_tracker/st_texture.h | |
parent | 3ee1c9b1263adcf68ca7c376d29c94a0fc31b2b0 (diff) |
st/mesa: samplers only need to track whether GLSL >= 130
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index b9336544bb3..a6f6ee8ebef 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -121,7 +121,7 @@ struct st_texture_object uint layer_override; /** The glsl version of the shader seen during the previous validation */ - unsigned prev_glsl_version; + bool prev_glsl130_or_later; /** The value of the sampler's sRGBDecode state at the previous validation */ GLenum prev_sRGBDecode; @@ -291,7 +291,7 @@ st_convert_sampler_from_unit(const struct st_context *st, void st_update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, - GLuint texUnit, unsigned glsl_version); + GLuint texUnit, bool glsl130_or_later); void st_make_bound_samplers_resident(struct st_context *st, |