On Sun, Apr 14, 2013 at 12:55 PM, Marek Olšák <mar...@gmail.com> wrote: > I think the hardware doesn't care what the border color type is. I think the > border color is "fetched" from the sampler state, which should be a memcpy. > If no texels are fetched from the texture, the border color is copied to the > destination register. If I set the texture hardware format to "invalid", the > texture fetch instructions always return the border color, which suggests > the hardware really does not care about the type.
The border color is definitely stored are part of the sampler state. Overrides (BORDER_COLOR_TYPE field) and format conversion are applied after the the state is fetched from the sampler. Alex > > OpenGL also doesn't care what the border color type is after it is set, > because the state is a union type. > > Marek > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev