Bug 84355

Summary: texture2DProjLod and textureCubeLod are not supported when using GLES.
Product: Mesa Reporter: kalyank <kondapallykalyancontribute>
Component: glsl-compilerAssignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: 10.2   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch.

Description kalyank 2014-09-26 07:34:25 UTC
Created attachment 106901 [details]
patch.

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.



The following WebGL conformance tests fail when running Chromium Web Browser with Wayland(https://github.com/01org/ozone-wayland)

Test case:
https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/samplers/glsl-function-texture2dprojlod.html

Attached is a patch which fixes this..
Comment 1 Kenneth Graunke 2014-09-26 07:38:44 UTC
Hi Kalyan,

Please use git-send-email to send patches to mesa-dev.

Thanks!
Comment 2 kalyank 2014-09-27 02:46:46 UTC
Hi Kenneth,

Done. 

Thanks,
Kalyan
Comment 3 kalyank 2014-09-29 15:34:41 UTC
Fix has been merged in master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.