Discussion:
[Mesa-dev] [PATCH] virgl: force linear texturing support
Gurchetan Singh
2018-12-10 18:52:25 UTC
Permalink
When I made sure that half-float texture-filtering was required for ES3,
I didn't realize that virgl doesn't report support for this correctly.
This regressed the GLES version available on top of several drivers,
including i965 from 3.2 to 2.0.
This is going to need protocol changes to fix properly, so let's just
restore the previous behavior by enabling floating-point filtering
unconditionally for now.
Fixes: fcf9fcee3c8 "mesa/main: do not require float-texture filtering for
es3"
---
src/gallium/drivers/virgl/virgl_screen.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/virgl/virgl_screen.c
b/src/gallium/drivers/virgl/virgl_screen.c
index 3d6424e39f6..b32c061491c 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -255,6 +255,9 @@ virgl_get_param(struct pipe_screen *screen, enum
pipe_cap param)
return vscreen->caps.caps.v2.max_combined_atomic_counters;
return vscreen->caps.caps.v2.max_combined_atomic_counter_buffers;
+ return 1; /* TODO: need to introduce a hw-cap for this */
@@ -267,8 +270,6 @@ virgl_get_param(struct pipe_screen *screen, enum
pipe_cap param)
--
2.19.2
_______________________________________________
mesa-dev mailing list
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Loading...