Mesa: Advertise GL_OES_texture_*float* extensions support with i965.
authorKalyan Kondapally <kondapallykalyancontribute@gmail.com>
Thu, 8 Jan 2015 04:30:27 +0000 (20:30 -0800)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 29 Jan 2015 06:22:12 +0000 (08:22 +0200)
This patch advertises support for GL_OES_texture_*float* extensions
when using i965 drivers.

Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 3cbfaafce5ff01ab3a62bd063fa2125965cdc82c..2187e734017f3161758e30935082de329cf28a91 100644 (file)
@@ -344,4 +344,9 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (brw->gen == 7)
       ctx->Extensions.ARB_gpu_shader5 = true;
+
+   ctx->Extensions.OES_texture_float = true;
+   ctx->Extensions.OES_texture_float_linear = true;
+   ctx->Extensions.OES_texture_half_float = true;
+   ctx->Extensions.OES_texture_half_float_linear = true;
 }