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

Tessellation Shaders #222

Open
kvark opened this issue Jun 11, 2019 · 10 comments
Open

Tessellation Shaders #222

kvark opened this issue Jun 11, 2019 · 10 comments
Labels
area: api Issues related to API surface help required We need community help to make this happen. type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Jun 11, 2019

Tessellation is unlikely to come to WebGPU the API any time soon, but we could have a cargo feature enabling it in some shape (obviously, not portable to the Web). I think it would be useful to some of interested parties to tessellate with the ease of our API ;) Perhaps, in the longer term, our experiments would help the working group to define a proper extension API.

@kvark kvark added type: enhancement New feature or request help required We need community help to make this happen. labels Jun 11, 2019
@lachlansneff
Copy link
Contributor

Tessellation support would be really useful for me.

@pythonesque
Copy link
Contributor

Is there any way we could test whether tessellation would be useful for a project written using wgpu-rs, without actually adding the feature to the project? It seems like something that might be useful for Veloren, but it's hard to know for sure without trying it; if it was useful for us I'd be interested in helping adding a cargo feature for it.

@kvark
Copy link
Member Author

kvark commented May 4, 2020

@pythonesque since Veloren is currently on gfx pre-ll, you can try the tessellation there and see if it's useful.

@cwfitzgerald cwfitzgerald changed the title Experimental tessellation support Tessellation Shaders Jun 2, 2022
@cwfitzgerald cwfitzgerald added the area: api Issues related to API surface label Jun 5, 2022
@profande
Copy link

Since this issue was made 3 years ago, I feel the need to ask: Would this still be a Cargo feature or would it be introduced as a native extension?

@cwfitzgerald
Copy link
Member

Native extension

@whizsid
Copy link

whizsid commented Jul 3, 2023

Can't we do the tessellation using the compute shaders in webGPU like mentioned in this paper:- https://onrendering.com/data/papers/isubd/isubd.pdf

@kohakukun
Copy link

Hey folks, is there any development in this issue? It would be very useful for our project too.

@grovesNL
Copy link
Collaborator

grovesNL commented Nov 1, 2023

@kohakukun Not yet, but there has been some effort into exposing more backend-specific APIs (e.g., using Vulkan resources directly), so in the meantime that might be a good path to experimenting with tessellation shaders to see if they would be helpful for your project.

@kohakukun
Copy link

Can you provide some example on how those lower APIs are accessed?

@grovesNL
Copy link
Collaborator

grovesNL commented Nov 1, 2023

Generally you use functions like as_hal that are available natively. #4067 discusses how this API might evolve eventually and some details about how you can use those functions today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface help required We need community help to make this happen. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants