Skip to content

Constant folding and division by zero and fxc #1607

Description

Constant folding does not behave the same way as fxc

Hello,

If you enable on a cpu fpu division by zero exception and compile a shader with
pow(0) then you get it division by zero.

I do not get the same exception when compiling with fxc.

What are the rules in this case?

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