Results 1 to 5 of 5

Thread: Mipmap with Trilinear interpolation

  1. #1

    Mipmap with Trilinear interpolation

    I suggest to support mipmap with Trilinear interpolation.

    Image pyramids are useful for many applications.

    Since most GPUs has built-in support for mip-maps, such applications may benefit this feature.

    Yoav

  2. #2

    Re: Mipmap with Trilinear interpolation

    I agree. Most of the modern GPUs support this. I don't see why the initial CL spec was so basic dealing with images. We need mipmapping, yep.

  3. #3
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: Mipmap with Trilinear interpolation

    I don't see why the initial CL spec was so basic dealing with images.
    Precision issues. Trilinear filtering is done differently by different hardware vendors.

    As for why other features like having image descriptors in structs were removed, that's because some widely available hardware cannot support that.
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  4. #4

    Re: Mipmap with Trilinear interpolation

    That's strange, because bilinear interpolation are supported, and it could also have "native_" version if it's hard to guarantee the same precision on all devices.

  5. #5

    Re: Mipmap with Trilinear interpolation

    I don't think it's related to precision issues, as trilinear interpolations are already defined for image3d.
    Basically, every vendor that supports image2d can support mipmaps (just add a small array with the rectangle for each level where it stored in the global image). This is what I did to implement it manually. However, GPU vendors can exposed the hardware support for mipmaps and give much better performance for this functionality.

    Yoav

Similar Threads

  1. Why is default interpolation done this way?
    By AlexAtOSU in forum OpenCL
    Replies: 3
    Last Post: 07-20-2010, 06:31 AM
  2. Linear Interpolation for floats
    By ice in forum OpenCL
    Replies: 7
    Last Post: 03-14-2010, 01:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •