[Mesa-dev] [PATCH 3/3] Mesa: Advertise GL_OES_texture_*float* extensions support with i965.
Tapani Pälli
tapani.palli at intel.com
Mon Jan 26 23:34:53 PST 2015
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
I've given it some amount of testing with deferred rendering WebGL demos
by running chrome with '--use-gl=egl' option.
On 01/08/2015 06:30 AM, Kalyan Kondapally wrote:
> This patch advertises support for GL_OES_texture_*float* extensions
> when using i965 drivers.
>
> Signed-off-by: Kevin Rogovin <kevin.rogovin at intel.com>
> Signed-off-by: Kalyan Kondapally <kalyan.kondapally at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_extensions.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 3cbfaaf..2187e73 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;
> }
>
More information about the mesa-dev
mailing list