You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2399: [mtl] Conditionally enable rasterization based on vertex shader requirements r=kvark a=grovesNL
- Updates SPIRV-Cross
- Sets `MTLRenderPipelineDescriptor.rasterizationEnabled` flag by querying the vertex shader to check whether rasterization should be enabled
- Currently we query all shaders and not just the vertex shader, we could optimize this further if it's preferable
Overall fixes a few of the CTS tests mentioned in #2394. There is another remaining issue to be fixed upstream in SPIRV-Cross, but we can get that later.
PR checklist:
- [ ] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [X] tested examples with the following backends: Metal
- [ ] `rustfmt` run on changed code
Co-authored-by: Joshua Groves <[email protected]>
0 commit comments