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

index 19f7a6a..a78e250 100644 (file)
@@ -748,6 +748,9 @@ i915_query_renderer_integer(__DRIscreen *psp, int param, unsigned int *value)
    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(psp, param, value);
    }