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

provoking vertex - is it supported? #2237

Open
timprepscius opened this issue May 11, 2024 · 1 comment
Open

provoking vertex - is it supported? #2237

timprepscius opened this issue May 11, 2024 · 1 comment
Labels
Answered A question was answered Question

Comments

@timprepscius
Copy link

Hey there,

I think "provoking vertex' is not supported. Because the .def file doesn't include it as an extension.

And when I try to do the following (just ignore that it's pseudo code) it doesn't work:

    vku::DeviceMaker dm;
    dm.defaultLayers();
    // the extension doesn't seem to exist
//    dm.extension(VK_EXT_PROVOKING_VERTEX_EXTENSION_NAME);
    
// but let's just try anyway
    vk::PhysicalDeviceProvokingVertexFeaturesEXT provoking;
    provoking.setProvokingVertexLast(true);
    dm.enableCreateInfo((vku::DeviceMaker::DeviceCreateNode *)&provoking);

I just want to check before I go through and write some special case code to rearrange index orderings.

Thanks in advance.

@cdavis5e
Copy link
Collaborator

Nope. This is not supported yet.

I think there might be a Metal SPI[1] for this, since I'm pretty sure OpenGL on Apple Silicon does support it.

[1]: Service Provider Interface: Apple/IBM jargon for a private programming interface intended for use by other OS components.

@billhollings billhollings added Question Answered A question was answered labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Answered A question was answered Question
Projects
None yet
Development

No branches or pull requests

3 participants