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

Fix incorrect definition of IS_AMD on NVIDIA hardware #104

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

rdb
Copy link
Collaborator

@rdb rdb commented Sep 13, 2018

Completely untested suggestion for fixing #103 by ignoring "ati" when it is in the middle of the string, since "ati" also occurs in the strings "NVIDIA Corporation", "Intel Corporation", "Microsoft Corporation" and "Imagination Technologies".

For reference, here is a list of vendor strings that are out there in the wild:
https://feedback.wildfiregames.com/report/opengl/feature/GL_VENDOR

Fixes #103

Copy link

@x86games x86games left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with Nvidia Geforce 1060. The error is gone.

@tobspr
Copy link
Owner

tobspr commented Sep 14, 2018

Thanks! I was just about to push a fix, but seems you were faster :p

@tobspr tobspr merged commit 8e0212d into tobspr:master Sep 14, 2018
@rdb rdb deleted the patch-1 branch September 14, 2018 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"GL_INVALID_OPERATION error generated. No active compute shader."
3 participants