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

Add missing vertex data prefix to Vulkan ShaderGen #1762

Conversation

klucknav
Copy link
Contributor

@klucknav klucknav commented Apr 2, 2024

@clach found that the VkShaderGenerator::getVertexDataPrefix() is returning the empty string when it seems like it should be returning vertexData.GetInstance() + "." similar to the glsl and metal shader gens do.

Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

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

Thanks for this fix, @klucknav! I'm CC'ing @ashwinbhat for additional thoughts from the Autodesk perspective, but this looks fine to me.

@ashwinbhat
Copy link
Contributor

Thanks for this fix, @klucknav! I'm CC'ing @ashwinbhat for additional thoughts from the Autodesk perspective, but this looks fine to me.

Looks good to me. Thanks for fix @klucknav @clach

@jstone-lucasfilm jstone-lucasfilm changed the title Add missing vertexData instance name prefix to Vulkan's shaderGen. Add missing vertex data prefix to Vulkan ShaderGen Apr 4, 2024
@jstone-lucasfilm jstone-lucasfilm merged commit b77576c into AcademySoftwareFoundation:main Apr 4, 2024
31 checks passed
ehlenl pushed a commit to ehlenl/MaterialX that referenced this pull request Apr 12, 2024
…undation#1762)

@clach found that the VkShaderGenerator::getVertexDataPrefix() is returning the empty string when it seems like it should be returning vertexData.GetInstance() + "." similar to the glsl and metal shader gens do.
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

3 participants