i965: Enable EGL_KHR_gl_texture_3D_image
authorAdam Jackson <ajax@redhat.com>
Wed, 21 Sep 2016 13:13:36 +0000 (09:13 -0400)
committerAdam Jackson <ajax@redhat.com>
Fri, 23 Sep 2016 10:53:21 +0000 (06:53 -0400)
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/mesa/drivers/dri/i965/intel_screen.c

index 2026e3eed121e29bce2977ca372255cb40897336..9b23bacb9aa1e2bc89924c4972b4a35bcb25907d 100644 (file)
@@ -916,6 +916,9 @@ brw_query_renderer_integer(__DRIscreen *dri_screen,
    case __DRI2_RENDERER_UNIFIED_MEMORY_ARCHITECTURE:
       value[0] = 1;
       return 0;
+   case __DRI2_RENDERER_HAS_TEXTURE_3D:
+      value[0] = 1;
+      return 0;
    default:
       return driQueryRendererIntegerCommon(dri_screen, param, value);
    }