Skip to content

I have a question about the toMetalOperand.cpp file. #55

Description

@OSgoodYZ

On line 837 of toMetalOperand.cpp, we see the following code

oss << "[" << fullIndexOss.str() << " %% 4]";

Is this by any chance the intended code?

I ask because, when I passed the string that popped up there to the metal api as is and checked the shader compile error, I got a compile error because what should have been treated as %(remainder operation) was treated as %% in that part.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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