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

spirv-val: Re-enable OpControlBarrier VU #5527

Merged

Conversation

spencer-lunarg
Copy link
Contributor

this todo seemed to be added 6 years ago in 12e6860

I am not sure what the problem is, but if there is still CTS issues, that should be something fixed in CTS (or the spec to remove the VU)

@spencer-lunarg spencer-lunarg force-pushed the spencer-lunarg-controlbarrier branch from 6e5b1bd to 1bf85a9 Compare January 12, 2024 06:05
@alan-baker
Copy link
Contributor

Have you run validation on CTS with this? It would be good to know if it is now clean or at least which tests fail so we can determine where the problem really is.

@spencer-lunarg
Copy link
Contributor Author

The issue is CTS is already not 100% clean from validation, I did run locally all the potential tests and it didn't display the VUID-StandaloneSpirv-OpControlBarrier-04650 error

@alan-baker
Copy link
Contributor

The issue is CTS is already not 100% clean from validation, I did run locally all the potential tests and it didn't display the VUID-StandaloneSpirv-OpControlBarrier-04650 error

When I run build-programs in CTS with validation it is clean for me. Do you mean it's not clean of runtime validation? It should be clean of static validation.

@spencer-lunarg
Copy link
Contributor Author

Do you mean it's not clean of runtime validation? It should be clean of static validation.

sorry, not for spirv-val, I ment with Vulkan Validation Layers... I didn't know if there was a way to run with just spirv-val and not calling it through VVL

@alan-baker
Copy link
Contributor

Do you mean it's not clean of runtime validation? It should be clean of static validation.

sorry, not for spirv-val, I ment with Vulkan Validation Layers... I didn't know if there was a way to run with just spirv-val and not calling it through VVL

vk-build-programs -v in the CTS build. Run it in the data directory.

@spencer-lunarg
Copy link
Contributor Author

ok, I was unaware about the vk-build-programs executable (and the -v option to validate)

I also see it clean for this spirv-val change ran locally

Copy link
Contributor

@alan-baker alan-baker left a comment

Choose a reason for hiding this comment

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

The one odd case for barriers in Vulkan is in tessellation shaders. That should get caught above.

@alan-baker alan-baker merged commit c96fe8b into KhronosGroup:main Jan 17, 2024
24 checks passed
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.

2 participants