Set r_stencilbits to 0 since ref never uses it