http://bugs.freedesktop.org/show_bug.cgi?id=25878
Summary: [GLSL] sampler is converted to int successfully Product: Mesa Version: git Platform: All OS/Version: All Status: NEW Severity: normal Priority: medium Component: Mesa core AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: gordon....@intel.com GLSL spec 4.1.7 says "Samplers are not allowed to be operands in expressions". But piglit/tests/glslparsertest/shaders/dataType19.frag uses sampler in constructor expression, and it gets passed in current mesa: uniform sampler1D s; void main() { int i = int(s); // conversion not allowed } -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev