[Bug 84225] New: Allow any sort of sampler array indexing with GLSL-ES < 300

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 23:55:59 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84225

          Priority: medium
            Bug ID: 84225
          Assignee: idr at freedesktop.org
           Summary: Allow any sort of sampler array indexing with GLSL-ES
                    < 300
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: kondapallykalyancontribute at gmail.com
          Hardware: Other
            Status: NEW
           Version: 10.2
         Component: glsl-compiler
           Product: Mesa

Created attachment 106707
  --> https://bugs.freedesktop.org/attachment.cgi?id=106707&action=edit
Fix

Restrictions were added in GLSL 1.30 to allow indexing of arrays with
integral constants only. Earlier versions (GLSL <= 1.20 and GLSL-ES <=100)
should allow any sort of sampler array indexing (i.e. Non constant
expressions).

Mesa already has this in place but seems the checks fail in case of GLSL-ES ver
being 100.

Proposed patch

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140923/947c9567/attachment.html>


More information about the intel-3d-bugs mailing list