<div dir="ltr"><div>I'd like to keep ARB_texture_float enabled on drivers that don't support linear interpolation. ARB_texture_float is required by DX9, which doesn't require linear interpolation. If you pushed this, you would break DX9 games for r300, which is de-facto reference DX9 hardware.<br></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 7:15 AM Erik Faye-Lund <<a href="mailto:erik.faye-lund@collabora.com" target="_blank">erik.faye-lund@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's nothing in the ARB_texture_float specification that limits<br>
filterability for floating-point textures, so we need to ensure that<br>
this is required to enable this extension. Luckily, we have just the<br>
right bits ready.<br>
<br>
Signed-off-by: Erik Faye-Lund <<a href="mailto:erik.faye-lund@collabora.com" target="_blank">erik.faye-lund@collabora.com</a>><br>
---<br>
 src/mesa/state_tracker/st_extensions.c | 4 +++-<br>
 1 file changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c<br>
index b0fc824e30c..244934f7588 100644<br>
--- a/src/mesa/state_tracker/st_extensions.c<br>
+++ b/src/mesa/state_tracker/st_extensions.c<br>
@@ -1459,7 +1459,9 @@ void st_init_extensions(struct pipe_screen *screen,<br>
<br>
    extensions->ARB_texture_float =<br>
       extensions->OES_texture_half_float &&<br>
-      extensions->OES_texture_float;<br>
+      extensions->OES_texture_half_float_linear &&<br>
+      extensions->OES_texture_float &&<br>
+      extensions->OES_texture_float_linear;<br>
<br>
    if (extensions->EXT_texture_filter_anisotropic &&<br>
        screen->get_paramf(screen, PIPE_CAPF_MAX_TEXTURE_ANISOTROPY) >= 16.0)<br>
-- <br>
2.19.1<br>
<br>
</blockquote></div>