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

resource type for COMBINED_IMAGE_SAMPLER #217

Open
wooyoungqcom opened this issue Aug 28, 2023 · 3 comments
Open

resource type for COMBINED_IMAGE_SAMPLER #217

wooyoungqcom opened this issue Aug 28, 2023 · 3 comments

Comments

@wooyoungqcom
Copy link
Contributor

Hi,

Using the tip spirv-reflect, I got the following from one of our spv inputs.
SAMPLED_IMAGE shows have '(SRV)', SAMPLER gets '(SAMPLER)'.

  type     : VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER (???) 5

What do we expect for COMBINED_IMAGE_SAMPLER ?

best regards,

-wooyoung

@chaoticbob
Copy link
Contributor

Hi - do you have the SPIR-V or shader source we can test with?

@wooyoungqcom
Copy link
Contributor Author

We added the SPV_QCOM_image_processing support to the Khronos glslang lately.
One of the tests we added is spv.tpipSampleWeighted.frag .

glslangValidator -V spv.tpipSampleWeighted.frag
spirv-reflect frag.spv

should reproduce the above

@wooyoungqcom
Copy link
Contributor Author

I uploaded the spv file here:
https://github.com/CodeLinaro/SPIRV-Reflect/tree/reproducer__issue_217 tests/issues/217/spv.tpipSampleWeighted.frag.spv

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

No branches or pull requests

2 participants