I didn't dig the TGSI code, but it seems the only difference is that
before: input_semantic_name = "\000\001", '\000' <repeats 13 times>,
after: input_semantic_name = "\000' <repeats 15 times>,
and in tgsi_scan_shader, this value is set as SemanticName which is zero
already. please take a look at line 133:
info->input_semantic_name[reg] = (ubyte)fulldecl->Semantic.SemanticName;
Cooper

On Mon, Sep 28, 2009 at 6:01 PM, Keith Whitwell <kei...@vmware.com> wrote:

> On Mon, 2009-09-28 at 02:56 -0700, Cooper Yuan wrote:
> > Module: Mesa
> > Branch: master
> > Commit: 99e1745af9a6a1fe1ebc65b17afb5f1a975348d2
> > URL:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=99e1745af9a6a1fe1ebc65b17afb5f1a975348d2
> >
> > Author: Cooper Yuan <coopery...@gmail.com>
> > Date:   Mon Sep 28 17:55:38 2009 +0800
> >
> > r300g: fix r300g cause GPU hang issue.
> >
> > why there are two input position semantic tags is that ureg doesn't
> > set vs input semantic due to commit: 6d8dbd3d1ec888
> >
> > so use vs input index instead of semantic name.
> >
>
> Note that the previous code before ureg didn't put semantics in VS
> inputs either, so there was only a short window where this was
> happening.
>
> Keith
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to