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

Indexed triangle strip cut for TriangleLL #1486

Merged
merged 1 commit into from
Sep 11, 2017

Conversation

kvark
Copy link
Member

@kvark kvark commented Sep 11, 2017

This change was done for a GPUWeb test (positive!), but I don't think why we'd want this wasted ;)

@@ -421,7 +421,8 @@ impl core::Factory<R> for Factory {
pInputElementDescs: input_element_descs.as_ptr(),
NumElements: input_element_descs.len() as u32,
},
IBStripCutValue: winapi::D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED,
//IBStripCutValue: winapi::D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED,
IBStripCutValue: winapi::D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF, //note: this works with U16 too!
Copy link
Contributor

@msiglreith msiglreith Sep 11, 2017

Choose a reason for hiding this comment

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

Looks a bit hackish, but if it works .. (for dx12ll acceptable at least)

@msiglreith
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Sep 11, 2017
1486: Indexed triangle strip cut for TriangleLL r=msiglreith a=kvark

This change was done for a GPUWeb test (positive!), but I don't think why we'd want this wasted ;)
@bors
Copy link
Contributor

bors bot commented Sep 11, 2017

Build failed

@kvark
Copy link
Member Author

kvark commented Sep 11, 2017

Oh great:

error: An unknown error occurred

@msiglreith
Copy link
Contributor

Travis also fails with unknown errors, let's try again ..

bors r+

bors bot added a commit that referenced this pull request Sep 11, 2017
1486: Indexed triangle strip cut for TriangleLL r=msiglreith a=kvark

This change was done for a GPUWeb test (positive!), but I don't think why we'd want this wasted ;)
@bors
Copy link
Contributor

bors bot commented Sep 11, 2017

Build failed

@msiglreith
Copy link
Contributor

Travis passed in the 2nd run and appveyor only fails on nightly, probably some temporary regression.
Merging it manually.

@msiglreith msiglreith merged commit b2a577e into gfx-rs:master Sep 11, 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.

None yet

2 participants