-
Notifications
You must be signed in to change notification settings - Fork 419
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
Validation Layer warning for geometry shaders with the VK_NV_geometry_shader_passthrough extension enabled #98
Comments
Comment by tobine (MIGRATED) Ping @chrisforbes, should this go to SPIRV-Tool repo? |
Comment by chrisforbes (MIGRATED) Yes, this needs a bug filed in SPIRV-Tools.. we'll likely have some tidying up in LVL to do after SPIRV-Tools fixes their side though, so keep this bug open also. |
Comment by neXyon (MIGRATED) Ok, I opened an issue there as well: KhronosGroup/SPIRV-Tools#1553 |
Comment by neXyon (MIGRATED) The issue in SPIRV-Tools has been fixed already. |
Hello! Is there any progress on this? I noticed that with a recent release the code of the error changed from 5 to -1. |
@neXyon, does this issue still manifest? We didn't notice any related validation errors in our CTS test logs... |
Looks, like it's fixed now! Thanks. Didn't run into the issue because we have dropped usage of this extension, but I just checked an old branch and looks like the issue is gone. |
Sweet! |
Issue by neXyon (MIGRATED)
Wednesday May 09, 2018 at 10:00 GMT
Originally opened as KhronosGroup/Vulkan-LoaderAndValidationLayers#2661
I get the warning
during the call to
vkCreateShaderModule
when I use a geometry shader withand I have the extension
VK_NV_geometry_shader_passthrough
enabled. The compiled shader then contains the PassthroughNV (5250) decoration in accordance with https://www.khronos.org/registry/spir-v/specs/1.0/SPIRV.pdf which is seen as invalid.Everything works fine, but the warning shouldn't be there, since I do everything according to the specification.
I'm not sure if I should report this here or at https://github.com/KhronosGroup/SPIRV-Tools since the
spvValidate
function from there is producing the actual error message. Let me know if I should rather open an issue at SPIRV-Tools.The text was updated successfully, but these errors were encountered: