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: Add Vulkan Image Format check #5458

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

spencer-lunarg
Copy link
Contributor

Second attempt at #4748

checks for VUID-StandaloneSpirv-Image-04965

source/val/validate_image.cpp Outdated Show resolved Hide resolved
source/val/validate_image.cpp Outdated Show resolved Hide resolved
test/val/val_image_test.cpp Show resolved Hide resolved
test/val/val_image_test.cpp Outdated Show resolved Hide resolved
source/val/validate_image.cpp Outdated Show resolved Hide resolved
@alan-baker
Copy link
Contributor

There are several glslang unit test failures.

The sparse failures look like a spec problem. Sparse samples return a struct with residency and value. The zero/sign extend should apply to the second element.

The image write case is a similar problem, spec says result type, but there is no result type.

I'm unsure about the HLSL test. It looks incorrect to me, but I'm not sure what the strategy for specifying formats is when compiling HLSL.

@alan-baker
Copy link
Contributor

See Khronos internal issue 766.

@spencer-lunarg
Copy link
Contributor Author

with https://gitlab.khronos.org/spirv/SPIR-V/-/merge_requests/302 merged, will apply and rebase

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

2 participants