summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <cgmeiner@igalia.com>2023-07-03 15:36:24 +0200
committerMarge Bot <emma+marge@anholt.net>2023-07-04 06:15:49 +0000
commitdadb7244bb3df10b1418146b5a5c1cffa8364973 (patch)
treed169c3f2c6816c1a52f8d39c684d2fda1ae96b04
parent3f726f4ca5a8cee66fbf7f277223a63b2d6684bc (diff)
etnaviv: support OES_texture_half_float_linear
Passes all related piglit and deqp tests. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23972>
-rw-r--r--docs/features.txt2
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c2
2 files changed, 3 insertions, 1 deletions
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: