Skip to content

Using varying structs can cause shader errors #1157

@eqrion

Description

@eqrion

I get shader errors on my windows machine when using structs as in/out between VS and FS shaders.

We replaced one of the instances of this in #1136 , which fixed my startup crash. But I still get errors for other shaders, usually ps_border with flat varying RectWithSize vBorderRect.

This is happening to me with WebRender on ANGLE, I believe it happens to others on OpenGL.

It would suck to go back to using untyped vec4's for all these cases, so it'd be nice to find a workaround. There might not be one and we might have to revert parts of c31376b.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions