summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKalyan Kondapally <[email protected]>2015-01-07 20:30:27 -0800
committerTapani Pälli <[email protected]>2015-01-29 08:22:12 +0200
commite638841b87a5d9454739195b49c403ca9a22a59e (patch)
tree09699a43e77218ed2cc0d3b881d5af51d7f2b3c3 /src/mesa
parent2c2a92d5b87f669da9fa88fdd094304fcf1eb09a (diff)
Mesa: Advertise GL_OES_texture_*float* extensions support with i965.
This patch advertises support for GL_OES_texture_*float* extensions when using i965 drivers. Signed-off-by: Kevin Rogovin <[email protected]> Signed-off-by: Kalyan Kondapally <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 3cbfaafce5f..2187e734017 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -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;
}