You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the detailed issue description and links! I added support to examples/image_sampler.rs showing how to use combined and separate samplers for both GLSL and HLSL.
This was a feature I haven't needed myself and so it was unimplemented. There may be more things like that.
When trying to sample a texture in hlsl I get an error from this:
screen-13/src/graph/resolver.rs
Line 810 in 71c1c05
With the enum
vk::DescriptorType::Sampler
I'm setting the sampler for the fragment shader with:
.image_sampler((0, 1), sampler)
This GLSL version using a combined sampler works as expected:
Are only combined sampler currently supported?
DXC appears to support
[[vk::combinedImageSampler]]
, but shaderc does not: google/shaderc#1310The text was updated successfully, but these errors were encountered: