Samplers in uniform structs

Fixed Issue #12874198

Details

Author
Markus J.
Created
Jul 21, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
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.

See example here: http://jsfiddle.net/bhbpbjwL/1/

Attachments

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

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Status from “Confirmed” to “Fixed”

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

    Sign in