Skip to content

Type mismatch on line (d3d11) #32

Closed
@jBachalo

Description

@jBachalo

Great resource!
Works on about half the shaders I've tried so far.

One common error I get is a 'Type mismatch' error (d3d11)

For instance on the following line
"fixed2x2 rot1=fixed2x2(cos(a1),sin(a1),-sin(a1),cos(a1));"

I think part of the problem in debugging is that the line indicated is not the REAL line causing the issue

In my case the actual line I think was 2 -3 lines further down
dir.xz*=rot1;

Which i fixed after searching other issues
#10
like so

dir.xz= mul(dir.xz,rot1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions