v3d: Add missing OES_half_float_linear support.
authorEric Anholt <eric@anholt.net>
Fri, 7 Dec 2018 21:03:29 +0000 (13:03 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 8 Dec 2018 00:48:23 +0000 (16:48 -0800)
We were exposing ARB_texture_float, but apparently not the OES subset
flag.  Fixes regression from GLES3 support to GLES2.

Fixes: fcf9fcee3c8a ("mesa/main: do not require float-texture filtering
for es3")

src/gallium/drivers/v3d/v3d_screen.c

index 4ed40ff855d13944b278fb2f9138983828665577..7fab90677ea08407cc51b7e9607666f474e8ddde 100644 (file)
@@ -110,6 +110,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
         case PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSET:
         case PIPE_CAP_TGSI_CAN_READ_OUTPUTS:
         case PIPE_CAP_TGSI_PACK_HALF_FLOAT:
+        case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
                 return 1;
 
         case PIPE_CAP_INDEP_BLEND_ENABLE: