[Freedreno] [PATCH 0/5] a few fixes for native integers support

Rob Clark robdclark at gmail.com
Wed Sep 10 08:57:46 PDT 2014


On Tue, Sep 9, 2014 at 10:52 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> These are just some things I happened to notice. I don't have the hw, nor do I
> presently know how to operate the compiler. These should be moderately easy to
> test out with the appropriate generated glsl tests + turning on the native
> integers pipe cap.
>
> This is my first foray into freedreno, please check with care :)

Looks like these fix ~90 or so fails with integer enabled..

There are still a pretty big jump in number of fails and crashes
compared to with integer not enabled, but from a quick look I suspect
most of that is unimplemented TGSI opcode's (UIF, AND, etc).. and I
guess a lot of those should be trivial to add.

I'll take a quick stab at adding a few more missing opcodes and see if
we can't cut down the # of fails and crashes..

BR,
-R


>
> Ilia Mirkin (5):
>   freedreno/ir3: fix FSLT/etc handling to return 0/-1 instead of 0/1.0
>   freedreno/ir3: INEG operates on src0, not src1
>   freedreno/ir3: add UARL support
>   freedreno/ir3: negate result of USLT/etc
>   freedreno/ir3: use unsigned comparison for UIF
>
>  src/gallium/drivers/freedreno/ir3/ir3_compiler.c | 72 ++++++++++++++++--------
>  1 file changed, 49 insertions(+), 23 deletions(-)
>
> --
> 1.8.5.5
>


More information about the Freedreno mailing list