shaderc icon indicating copy to clipboard operation
shaderc copied to clipboard

Implement GL_EXT_texture_shadow_lod

Open Ralith opened this issue 1 year ago • 0 comments

GL_EXT_texture_shadow_lod provides various missing overloads for sampling sampler2DArrayShadows. Their absence in GLSL is baffling and an awkward constraint in e.g. cascading shadow map implementations.

In theory you can work around this with textureGrad, but this seems to have significantly worse performance than technically-UB use of texture on my 970, accounting for more than 1ms of frametime.

Ralith avatar Sep 25 '22 22:09 Ralith