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