Stencils not supported while they were supported in 0.10.2

Issue #170 new
Rami Sabbagh created an issue

Hello,

I've tried to active a canvas with stencil enabled love.graphics.setCanvas{canvas,stencil=true}, and it errors saying that the stencil8 canvas format is not supported by my phone graphics driver !

I've added some code to dump the available canvas formats in my phone, and here's the list:

depth16
depth24
depth24stencil8
normal
r8
rg8
rgb565
rgb5a1
rgba4
rgba8
srgba8

And for my desktop, where stencil works, has the following formats:

depth16
depth24
depth24stencil8
depth32f
depth32fstencil8
hdr
normal
r16f
r32f
r8
rg11b10f
rg16f
rg32f
rg8
rgb10a2
rgb565
rgb5a1
rgba16f
rgba32f
rgba4
rgba8
srgba8

Both of them has the depth24stencil8 format, And desktop has the depth32fstencil8 format.

Could it be that LÖVE is not defaulting to depth24stencil8 if depth32fstencil8 is not supported ??

Some info about my phone:

It's Samsung J700H, with Android 7.0.0 Renderer Info: OpenGL ES;OpenGL ES 3.1 v1.r15p0-00rel0.e8fac959dfc2e739c1bb5ab7573d2994;ARM;Mali-T720

Comments (2)

  1. Log in to comment