Steps to reproduce
Chrome, Firefox and Safari supports samplers in glsl structs as long as the struct type is used as a uniform parameter.
Se example here: http://jsfiddle.net/bhbpbjwL/1/
Comments and activity
It looks like part of my description didn’t make it. Well, it went on to say that structs are not allowed to have samplers in Edge (or IE11), while it works fine in other browsers.
The link I provided is a demo of the feature. It works fine in Chrome, Firefox and Safari. It should display a rotating textured cube. Running it in i Edge or IE11 does not render at all and the following error is logged to console:
SCRIPT5022: Shader compilation errors (1, 81): Samplers are not allowed in structs
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Rick J.”
Changed Assigned To to “Christian F.”
Changed Assigned To from “Christian F.” to “Rafael C.”