anchor.diff:                      orig.Handle,
                       unbox (int orig.Format),
                       levels.Min, 1 + levels.Max - levels.Min,
  -                    slices.Min, 1
  +                    slices.Min, match sliceCount with | Some x -> x; | _ -> 1
                   )
                   GL.Check "could not create texture view"
   
  
positive.code:                 GL.Check "could not create texture"
  
                  let dim =
                      match orig.Dimension, orig.Count with
                          | TextureDimension.TextureCube, 1 -> 
                              if slices.Min <> slices.Max then failwithf "cannot take multiple slices from CubeMap"
                              TextureDimension.Texture2D
                          | d,_ -> d
  
                  let levelCount = 1 + levels.Max - levels.Min
                  let sliceCount =
                      if orig.IsArray && isArray then Some (1 + slices.Max - slices.Min)
                      else None
  
  
                  let tex = Texture(x, handle, dim, levelCount, orig.Multisamples, orig.Size, sliceCount, orig.Format, 0L, true)
                  let target = TextureTarget.ofTexture tex
                    
  
negative.code: 
      [<Extension>]
      static member Blit(ctx : Context, src : Texture, srcLevel : int, srcSlice : int, srcRegion : Box2i, dst : Texture, dstLevel : int, dstSlice : int, dstRegion : Box2i, linear : bool) =
          ImplicitConversionHate.blit(ctx, src, srcLevel, srcSlice, srcRegion, dst, dstLevel, dstSlice, dstRegion, linear)
  
      [<Extension>]
      static member CreateTextureView(ctx : Context, texture : Texture, levels : Range1i, slices : Range1i, isArray : bool) =
          ImplicitConversionHate.createTextureView(ctx, texture, levels, slices, isArray)
  
      [<Extension>]
      static member DeleteTextureView(ctx : Context, texture : Texture) =
          ImplicitConversionHate.deleteTexture(ctx, texture)