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 Compressed Texture Compat #2318

Merged
merged 2 commits into from
Oct 29, 2018
Merged

Conversation

pmuetschard
Copy link
Member

  1. Check compressed texture format in ODR.
    In compat.go compressed texture commands check whether the replay target supports the requested compressed format. However, commands that can be used for both uncompressed and compressed textures, such as glTexStorage2d, did not in the case of ODR.
  2. Add spec required compressed formats to compat.
    The GLES 3.0 and OpenGL 4.3 specs require some compressed formats to be implemented, so we can assume they are present on the specific versions.

In `compat.go` compressed texture commands check whether the replay
target supports the requested compressed format. However, commands
that can be used for both uncompressed and compressed textures, such
as `glTexStorage2d`, did not in the case of ODR.
The GLES 3.0 and OpenGL 4.3 specs require some compressed formats to be
implemented, so we can assume they are present on the specific versions.
@pmuetschard pmuetschard merged commit ab5dcbc into google:master Oct 29, 2018
@pmuetschard pmuetschard deleted the compressed branch October 29, 2018 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants