Tianchen Xu
Tianchen Xu
> My current charter does not allow me to design or implement this. If someone wishes to design and implement this, I would be open to integrating it. Thanks a...
> Yes, I believe that it is a missing feature. I also believe that support for it could be added to glslang consistently. I would be happy to evaluate any...
> If a sampler is tagged with [[spv::shadow]] and is passed to tex2Dproj I would imagine logic could be added to the compiler to generate OpImageSampleDrefImplicitLod instead. This could probably...
> The way I've worked around this is define a preamble that defines new DX9-like `sampler2DShadow` and `shadow2D` functions > that under the hood actually use DX10-style types, like so:...
Any update? Redeclare the initial user requirement: Any way to combined shadow image-sampler in HLSL like DX9 style, which can be used for OpenGL. Thanks.
Any solution plan on this? Or is it possible to auto convert DX11-style Sample() with the separate texture and sampler to combined image-sampler SPIR-V op when in OpenGL mode? Thanks.
In Microsoft DXC, they proposed [[vk::combinedImageSampler]] to make DX11-style Sample() being combined image-sampling. https://github.com/microsoft/DirectXShaderCompiler/wiki/Vulkan-combined-image-sampler-type Does glslang support it for OpenGL?
> In Microsoft DXC, they proposed [[vk::combinedImageSampler]] to make DX11-style Sample() being combined image-sampling. https://github.com/microsoft/DirectXShaderCompiler/wiki/Vulkan-combined-image-sampler-type > > Does glslang support it for OpenGL? Any update?
> I am not finding support for [[vk::combinedImageSampler]] in glslang. > > As for the larger question, my status has not changed from my entry above and I am not...
> I am not finding support for [[vk::combinedImageSampler]] in glslang. > > As for the larger question, my status has not changed from my entry above and I am not...