00:31 anarsoul: what does sampler2D() return for z24s8 texture?
00:32 imirkin_: anarsoul: z24
00:32 anarsoul: in each component?
00:32 imirkin_: unless you have ARB_stencil_texturing
00:32 imirkin_: in which case it returns the s8 if that's set
00:32 imirkin_: mmmmm
00:32 imirkin_: the conventions are different in different APIs
00:32 anarsoul: gles2
00:32 imirkin_: iirc sampler2D(fooShadow) returns a single component
00:33 imirkin_: but there's a funny situation where you mix it with fixed function stages
00:33 anarsoul: it's (z,z,z,1.0) for z16 or z32
00:33 imirkin_: oh
00:33 anarsoul: according to https://www.khronos.org/registry/OpenGL/extensions/OES/OES_depth_texture.txt
00:33 imirkin_: then same as that :) and i'm misremembering something
00:33 anarsoul: I see, thanks
00:33 imirkin_: oh right. this is where you bind a depth texture to a regular sampler
00:33 imirkin_: vs a shadow sampler
00:34 anarsoul: that's kind of explains mysterious format for depth/stencil reload
00:34 anarsoul: it differs from z24s8 format for regular texture
00:34 imirkin_: there was a nice table of all this in the gallium docs
00:35 imirkin_: but it has either vanished, or i can't find it
00:35 anarsoul: imirkin_: I was just trying to figure out why Mali4x0 uses different formats for depth/stencil buffer reload and for sampling z24s8 textures
00:36 anarsoul: if sampler instruction doesn't return stencil for z24s8 that explains it
00:36 imirkin_: it was a nice table ... sad
00:37 imirkin_: well - it can - with stencil texturing
00:37 imirkin_: but it returns one or the other
00:37 imirkin_: but not both
00:37 imirkin_: iirc stencil texturing is a thing in gles3 or 3.1
00:37 anarsoul: apparently Mali4x0 can return both :)
00:37 imirkin_: yeah, most hw can
00:37 imirkin_: but the APIs don't work that way
00:37 anarsoul: that's fine
00:37 anarsoul: we're using hand-crafted shaders for tile buffer reload
00:38 imirkin_: yeah, we use it in blit shaders for nouveau as well in certain cases
01:14 craftyguy: mattst88_: seems like the magic is '-DDEQP_TARGET=x11_egl'?
01:20 mattst88_: craftyguy: yeah
23:31 malice: %cw
23:31 malice: Wrong channel