We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The microsoft compiler supports a special atribute for compatibility with glsl: https://github.com/microsoft/DirectXShaderCompiler/wiki/Vulkan-combined-image-sampler-type
However declaring this in an hlsl shader:
[[vk::combinedImageSampler]] Texture2D<float4> textures[3] : register(t1);
And compiling with shaderc results in the error: examples/02_skinned_mesh/test.frag.hlsl:1: warning: 'combinedImageSampler' : unrecognized attribute
examples/02_skinned_mesh/test.frag.hlsl:1: warning: 'combinedImageSampler' : unrecognized attribute
It would be a nice addition to shaderc I think. I would certainly find it very useful.
The text was updated successfully, but these errors were encountered:
This should be filed upstream in Glslang.
Sorry, something went wrong.
No branches or pull requests
The microsoft compiler supports a special atribute for compatibility with glsl:
https://github.com/microsoft/DirectXShaderCompiler/wiki/Vulkan-combined-image-sampler-type
However declaring this in an hlsl shader:
And compiling with shaderc results in the error:
examples/02_skinned_mesh/test.frag.hlsl:1: warning: 'combinedImageSampler' : unrecognized attribute
It would be a nice addition to shaderc I think. I would certainly find it very useful.
The text was updated successfully, but these errors were encountered: