Re: [Nouveau] Fermi+ shader header docs

2015-08-14 Thread Ilia Mirkin
And as I've just started looking at GM107 traces to fix up tessellation shader attribute address calculations, I noticed the following unknown bits in CommonWord3 of TCP shaders: PB: 0x0021 GM107_3D.SP[0x2].SELECT = { ENABLE | PROGRAM = TCP } PB: 0x0830 GM107_3D.SP[0x2].START_ID = 0x83

Re: [Nouveau] Fermi+ shader header docs

2015-06-22 Thread Ilia Mirkin
And an additional question: I have a trace here where a reserved bit from CommonWord0 is set. Is that just random values that aren't cleared by the driver, or does it have some significance? Here is the full shader: HEADER: 0x06040461 0 = { SPH = VTG | VERSION = 3 | KIND = VP_B | SASS_VERSION =

Re: [Nouveau] Fermi+ shader header docs

2015-05-23 Thread Ilia Mirkin
On Thu, May 21, 2015 at 11:32 AM, Ilia Mirkin wrote: > On Thu, May 21, 2015 at 10:05 AM, Robert Morell wrote: >> Hi Ilia, >> >> On Sat, May 02, 2015 at 12:34:21PM -0400, Ilia Mirkin wrote: >>> Hi, >>> >>> As I'm looking to add some support to nouveau for features like atomic >>> counters and imag

Re: [Nouveau] Fermi+ shader header docs

2015-05-21 Thread Ilia Mirkin
On Thu, May 21, 2015 at 10:05 AM, Robert Morell wrote: > Hi Ilia, > > On Sat, May 02, 2015 at 12:34:21PM -0400, Ilia Mirkin wrote: >> Hi, >> >> As I'm looking to add some support to nouveau for features like atomic >> counters and images, I'm running into some confusion about what the >> first wor

Re: [Nouveau] Fermi+ shader header docs

2015-05-21 Thread Robert Morell
Hi Ilia, On Sat, May 02, 2015 at 12:34:21PM -0400, Ilia Mirkin wrote: > Hi, > > As I'm looking to add some support to nouveau for features like atomic > counters and images, I'm running into some confusion about what the > first word of the shader header means. Here is the definition as we > have

[Nouveau] Fermi+ shader header docs

2015-05-02 Thread Ilia Mirkin
Hi, As I'm looking to add some support to nouveau for features like atomic counters and images, I'm running into some confusion about what the first word of the shader header means. Here is the definition as we have it today: https://github.com/envytools/envytools/blob/master/rnndb/graph/gf100_sh