https://bugs.freedesktop.org/show_bug.cgi?id=29044
Bug 29044 depends on bug 19089, which changed state.
Bug 19089 Summary: [GLSL] glsl1/shadow2D() cases fail
https://bugs.freedesktop.org/show_bug.cgi?id=19089
What|Old Value |New Value
No this won't work as you can't read a z24s8 format a i32 (not the same
typeless group, number of components needs to be the same as well as all
components need to have same number of bits).
But the format list suggests this is possible. For z24s8 you could
presumably use