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 Limits for lava/llvmpipe and re-enable and re-work CI #1599

Merged
merged 6 commits into from
Jul 4, 2021

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Jul 4, 2021

Connections

No longer fixes #1551.

Description

This PR has a couple things going on at once.

  • Fixes limits for llvmpipe, lavapipe, and rpi4.
  • Added a downlevel limit to express that RPI4 does not allow storage buffers in vertex shaders on GL.
  • Added a Limits::downlevel_default() that takes minimum limits from GLES and adds some more documentation on how to choose limits.
  • Moved all examples to the new downlevel limits
  • Reworks CI to re-enable software testing and unify instructions.

Testing

It is

@cwfitzgerald cwfitzgerald requested a review from kvark July 4, 2021 02:36
@cwfitzgerald cwfitzgerald force-pushed the re-enable-ci branch 2 times, most recently from 6494188 to a8cfd40 Compare July 4, 2021 02:51
@cwfitzgerald
Copy link
Member Author

CI is still mad at me, but the code should be otherwise good to look at.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

This is great! A few notes, otherwise land when ready (and CI is happy).

wgpu-core/src/device/mod.rs Show resolved Hide resolved
wgpu-types/src/lib.rs Outdated Show resolved Hide resolved
wgpu-types/src/lib.rs Show resolved Hide resolved
wgpu-types/src/lib.rs Outdated Show resolved Hide resolved
@cwfitzgerald cwfitzgerald force-pushed the re-enable-ci branch 9 times, most recently from 8d48e72 to ab41b5f Compare July 4, 2021 18:47
@cwfitzgerald
Copy link
Member Author

Alright, all reviews addressed, CI is passing, lets goo!

bors r=kvark,groves,wumpf

bors bot added a commit that referenced this pull request Jul 4, 2021
1599: Fix Limits for lava/llvmpipe and re-enable and re-work CI r=kvark,groves,wumpf a=cwfitzgerald

**Connections**

No longer fixes #1551.

**Description**

This PR has a couple things going on at once.

- Fixes limits for llvmpipe, lavapipe, and rpi4.
- Added a downlevel limit to express that RPI4 does not allow storage buffers in vertex shaders on GL.
- Added a `Limits::downlevel_default()` that takes minimum limits from GLES and adds some more documentation on how to choose limits.
- Moved all examples to the new downlevel limits
- Reworks CI to re-enable software testing and unify instructions.

**Testing**

It is

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
@cwfitzgerald
Copy link
Member Author

bors r-

github's UI lied to me and said all 8 passed when only 2 did.

@bors
Copy link
Contributor

bors bot commented Jul 4, 2021

Canceled.

@cwfitzgerald
Copy link
Member Author

bors r=kvark,groves,wumpf

bors bot added a commit that referenced this pull request Jul 4, 2021
1599: Fix Limits for lava/llvmpipe and re-enable and re-work CI r=kvark,groves,wumpf a=cwfitzgerald

**Connections**

No longer fixes #1551.

**Description**

This PR has a couple things going on at once.

- Fixes limits for llvmpipe, lavapipe, and rpi4.
- Added a downlevel limit to express that RPI4 does not allow storage buffers in vertex shaders on GL.
- Added a `Limits::downlevel_default()` that takes minimum limits from GLES and adds some more documentation on how to choose limits.
- Moved all examples to the new downlevel limits
- Reworks CI to re-enable software testing and unify instructions.

**Testing**

It is

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 4, 2021

Canceled.

@cwfitzgerald
Copy link
Member Author

bors retry

@bors
Copy link
Contributor

bors bot commented Jul 4, 2021

Build succeeded:

@bors bors bot merged commit 118cf2c into gfx-rs:master Jul 4, 2021
bors bot added a commit that referenced this pull request Jul 7, 2021
1607: Fix Downlevel Vertex Stage Storage Buffer Check r=kvark a=cwfitzgerald

**Connections**

Fixes a bug in #1599. Also follows up on #1583 marking all of hello-compute as a failure.

**Testing**

Tests now pass on rpi4.


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
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.

eglInitialize Fails on Headless llvmpipe System
4 participants