DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

Feature Request: GatherLevel()

Open MrDomS opened this issue 3 years ago • 1 comments

Recently saw the HLSL 6.7 spec, and I am very happy to see SampleCmpLevel being exposed. Would it be possible to get access to a GatherLevel() system? Even if it is integer mip levels it would be very useful for example, accessing quads of HZB data in a compute shader.

MrDomS avatar Jun 20 '22 15:06 MrDomS

Me too. Gather() is useful for customized bilateral filters. Furthermore, if there could be a method to collect the bilinear weights for the gathered samples, it would be much more convenient.

StarsX avatar Aug 12 '22 07:08 StarsX

@StarsX filed this issue on HLSL-specs, we'll use that to track the feature request:

https://github.com/microsoft/hlsl-specs/issues/35

llvm-beanz avatar Nov 09 '23 16:11 llvm-beanz