OSDN Git Service

glsl: Allow texture2DProjLod and textureCubeLod in GL ES
authorKalyan Kondapally <kondapallykalyancontribute@gmail.com>
Sat, 27 Sep 2014 02:44:06 +0000 (19:44 -0700)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 29 Sep 2014 08:10:38 +0000 (11:10 +0300)
commit66a2fe4cf95f6d4f5bdbfd740314113e87e5649b
treecb1c75ce98ee8006a3dc182fe50811097712f6b9
parent40aabc0e809fa7523606f15c053e0d6ac01d9b9e
glsl: Allow texture2DProjLod and textureCubeLod in GL ES

According to GLES (i.e. 1.0 and above) spec textureCubeLod and
texture2DProjLod are built in functions. We seem to disable support
for these functions with GLES. This patch enables the support.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84355
src/glsl/builtin_functions.cpp