diff options
author | Adam Jackson <[email protected]> | 2017-08-24 14:40:32 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2017-08-25 12:38:01 -0400 |
commit | 00caf2ab088dd2e08ce410850dee61ba2b9aa63a (patch) | |
tree | c7432e339a4c24610faeca1df370a2305206f1db /src/mesa/state_tracker | |
parent | ddc9b4e823a9e788f530a17dcf260dcc9f26a156 (diff) |
mesa: Implement GL_ARB_texture_filter_anisotropic
The only difference from the EXT version is bumping the minmax to 16, so
just hit all the drivers at once.
v2: Fix driver names, add to 17.3 release notes (Ilia Mirkin)
Reviewed-by: Ilia Mirkin <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 904d9cd8340..9a22e54675c 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -1251,6 +1251,10 @@ void st_init_extensions(struct pipe_screen *screen, } } + if (extensions->EXT_texture_filter_anisotropic && + screen->get_paramf(screen, PIPE_CAPF_MAX_TEXTURE_ANISOTROPY) >= 16.0) + extensions->ARB_texture_filter_anisotropic = GL_TRUE; + extensions->KHR_robustness = extensions->ARB_robust_buffer_access_behavior; /* If we support ES 3.1, we support the ES3_1_compatibility ext. However |