Skip to content

[Bug fix] change half, a reserved word in certain GPU driver to halfVector#889

Merged
bigbike merged 2 commits intomasterfrom
fix1
Oct 22, 2020
Merged

[Bug fix] change half, a reserved word in certain GPU driver to halfVector#889
bigbike merged 2 commits intomasterfrom
fix1

Conversation

@bigbike
Copy link
Copy Markdown
Contributor

@bigbike bigbike commented Oct 22, 2020

Motivation and Context

@aclegg3 found this problem that did not happen on a linux machine.
half is a reserved word in certain GPU driver implementation. We will have to change it to some other variables.

see here:
https://stackoverflow.com/questions/22798477/glsl-shader-strange-error-on-word-half

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bigbike bigbike requested a review from aclegg3 October 22, 2020 01:56
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 22, 2020
@bigbike bigbike requested a review from eundersander October 22, 2020 01:56
@bigbike bigbike merged commit 5a7950c into master Oct 22, 2020
@bigbike bigbike deleted the fix1 branch October 22, 2020 03:36
Ram81 pushed a commit to Ram81/habitat-web-sim that referenced this pull request Dec 10, 2020
…ector (facebookresearch#889)

* [Bug fix] change half, which is a reserved word in certain GPU driver implementation, to halfVector

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

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants