[Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

Ondrej Holecek aaannz at gmail.com
Tue Mar 26 11:38:01 PDT 2013

On Tuesday 26 of March 2013 15:18:06 Vadim Girlin wrote:
> On 03/26/2013 02:00 AM, Marek Olšák wrote:
> > On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek <aaannz at gmail.com> wrote:
> >> On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote:
> ....
> > 
> >> The third issue is that on both 32bit and 64bit build fonts are not
> >> displayed in HUD. I see graphs and transparent background rectangles for
> >> text but no text is visible. This one I did not yet solve.
> > 
> > Your driver must support the I8_UNORM texture format.
> I think this also may be related to unexpected by some drivers TGSI
> declaration of vertex shader inputs:
> DCL IN[0..1]
I can confirm that rewriting it into two separate declarations fixed the font 
issue for me, using r600 on rv770 hw.

> At least r600g expects the separate declaration for each input, though
> fortunately it still works in this case because parsed declarations of
> VS inputs aren't really used in r600g. I noticed exactly the same issue
> (missing text) with my r600-sb branch because it relies on the number of
> the parsed inputs from r600g's tgsi translator. It's 1 in this case
> instead of 2, so second input register is considered undefined and
> optimized away.
> I suspect that some other drivers may also handle this declaration
> incorrectly and this may explain the issue.
> Vadim

More information about the mesa-dev mailing list