From dadb7244bb3df10b1418146b5a5c1cffa8364973 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 3 Jul 2023 15:36:24 +0200 Subject: [PATCH] etnaviv: support OES_texture_half_float_linear Passes all related piglit and deqp tests. Signed-off-by: Christian Gmeiner Reviewed-by: Philipp Zabel Part-of: --- docs/features.txt | 2 +- src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 373ecc92da8..f9fbaede54f 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -346,7 +346,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_OES_texture_float DONE (freedreno, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, v3d, zink, asahi, iris, crocus) GL_OES_texture_float_linear DONE (freedreno, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, zink, asahi, iris, crocus) GL_OES_texture_half_float DONE (freedreno, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, v3d, zink, lima, asahi, iris, crocus, etnaviv/HALF_FLOAT) - GL_OES_texture_half_float_linear DONE (freedreno, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, v3d, zink, lima, asahi, iris, crocus) + GL_OES_texture_half_float_linear DONE (freedreno, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe, panfrost, v3d, zink, lima, asahi, iris, crocus, etnaviv/HALF_FLOAT) GL_OES_texture_view DONE (freedreno, r600, radeonsi, nv50, nvc0, softpipe, llvmpipe, v3d, zink, iris, crocus/gen7+) GL_OES_viewport_array DONE (freedreno/a6xx, nvc0, r600, radeonsi, softpipe, zink, iris, crocus/gen7.5+) GLX_ARB_context_flush_control DONE (all drivers) diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 9992bf78deb..fc3f63fbdc8 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -214,6 +214,8 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) /* Texturing. */ + case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR: + return VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT); case PIPE_CAP_TEXTURE_SHADOW_MAP: return 1; case PIPE_CAP_MAX_TEXTURE_2D_SIZE: