Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surrounding some code with a one-iteration loop leads to image change #33

Open
0152la opened this issue Dec 1, 2016 · 1 comment
Open

Comments

@0152la
Copy link
Collaborator

0152la commented Dec 1, 2016

[Shaders, screenshots, error log, reproduction steps, etc.] [ZIP]

The difference between the two fragment shaders is the code inside the following loop is surrounded by a one-iteration for-loop, while in the original code there is only the if.

for(int i = 0; i < 1; i++) { if(dist < EPS) { return shadowIntensity; } }

Tested on Chrome and on Edge. The issue is not present on Edge.

Recipient:

recipient image

Variant:

variant image

@0152la
Copy link
Collaborator Author

0152la commented Jun 22, 2017

Issue persists with Radeon version 17.6.2.

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

No branches or pull requests

1 participant