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.c | |
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.c')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 2b43cecc521..b409f286eb5 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -512,7 +512,7 @@ st_create_texture_handle_from_unit(struct st_context *st, struct pipe_sampler_view *view; struct pipe_sampler_state sampler = {0}; - st_update_single_texture(st, &view, texUnit, prog->sh.data->Version); + st_update_single_texture(st, &view, texUnit, prog->sh.data->Version >= 130); if (!view) return 0; |