Skip to content

SPIRV-Cross workarounds for early_fragment_tests#1171

Merged
ben-clayton merged 2 commits intogoogle:masterfrom
ben-clayton:filament
Oct 9, 2017
Merged

SPIRV-Cross workarounds for early_fragment_tests#1171
ben-clayton merged 2 commits intogoogle:masterfrom
ben-clayton:filament

Conversation

@ben-clayton
Copy link
Copy Markdown
Contributor

This isn't supported on macOS, either as core OpenGL (too recent a profile), or as an extension.

Use SPIRV-Cross to remove these optimizations for compat.

Some optimizations require more recent versions of GL that macOS supports.
Add an option to remove optimizations that should have no impact on the end result.

Also fix a bunch of govet issues in shadertools.go.
@ben-clayton ben-clayton requested a review from dsrbecky October 9, 2017 11:36
@ben-clayton ben-clayton merged commit 81d0519 into google:master Oct 9, 2017
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.

2 participants