Samplers in uniform structs

Issue #12874198 • Assigned to Rafael C.


Markus J.
Jul 21, 2017
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

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:


0 attachments

    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.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in