Am 24.04.2012 21:23, schrieb Paul Berry: > When rendering to a miplevel other than 0 within a color, depth, > stencil, or HiZ buffer, we need to tell the GPU to render to an offset > within the buffer, so that the data is written into the correct > miplevel. We do this using a coarse offset (in pages), and a fine > adjustment (the so-called "tile_x" and "tile_y" values, which are > measured in pixels).
Just wondering, can't you get the gpu to do these offset calculations for you? After all dx10 allows you to have multiple mip levels bound as a render target at once, where the actual mip level being rendered to is determined by a system value (GL 3.3 (?) can do the same with the gl_Layer output of geometry shader). How do you handle that if you have to adjust the offset manually? Roland _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev