Re: [Mesa-dev] [PATCH 2/3] i965: Don't record a WAW dependency between implicit MRF operations.

2013-02-14 Thread Paul Berry
On 13 February 2013 21:11, Eric Anholt wrote: > Kenneth Graunke writes: > > > On 02/13/2013 06:31 PM, Eric Anholt wrote: > >> Kenneth Graunke writes: > >> > >>> Meta-instructions that implicitly write then read/consume a MRF value > >>> don't pose write-after-write conflicts with each other, si

Re: [Mesa-dev] [PATCH 2/3] i965: Don't record a WAW dependency between implicit MRF operations.

2013-02-13 Thread Eric Anholt
Kenneth Graunke writes: > On 02/13/2013 06:31 PM, Eric Anholt wrote: >> Kenneth Graunke writes: >> >>> Meta-instructions that implicitly write then read/consume a MRF value >>> don't pose write-after-write conflicts with each other, since they're >>> actually: >>> >>> - Write value 1, then consu

Re: [Mesa-dev] [PATCH 2/3] i965: Don't record a WAW dependency between implicit MRF operations.

2013-02-13 Thread Kenneth Graunke
On 02/13/2013 06:31 PM, Eric Anholt wrote: Kenneth Graunke writes: Meta-instructions that implicitly write then read/consume a MRF value don't pose write-after-write conflicts with each other, since they're actually: - Write value 1, then consume it. - Write value 2, then consume it. OK, he

Re: [Mesa-dev] [PATCH 2/3] i965: Don't record a WAW dependency between implicit MRF operations.

2013-02-13 Thread Eric Anholt
Kenneth Graunke writes: > Meta-instructions that implicitly write then read/consume a MRF value > don't pose write-after-write conflicts with each other, since they're > actually: > > - Write value 1, then consume it. > - Write value 2, then consume it. OK, here's the case I'm thinking of: 1: M

[Mesa-dev] [PATCH 2/3] i965: Don't record a WAW dependency between implicit MRF operations.

2013-02-12 Thread Kenneth Graunke
Meta-instructions that implicitly write then read/consume a MRF value don't pose write-after-write conflicts with each other, since they're actually: - Write value 1, then consume it. - Write value 2, then consume it. These can safely be done in either order. By tracking the last implicit write