mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 07:00:45 +02:00
zink: expose PIPE_CAP_ANISOTROPIC_FILTER
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Tested-by: Fabio Pedretti <fabio.ped@libero.it> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8617>
This commit is contained in:
parent
0f9f625089
commit
fa86272547
1 changed files with 3 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
struct zink_screen *screen = zink_screen(pscreen);
|
||||
|
||||
switch (param) {
|
||||
case PIPE_CAP_ANISOTROPIC_FILTER:
|
||||
return screen->info.feats.features.samplerAnisotropy;
|
||||
|
||||
case PIPE_CAP_NPOT_TEXTURES:
|
||||
case PIPE_CAP_TGSI_TEXCOORD:
|
||||
case PIPE_CAP_DRAW_INDIRECT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue