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 it today:
[...] > However I know that these are somewhat wrong. I've seen shaders that > use gmem accesses (i.e. mov r0, [r0]) that just have the LMEM enable > bit set (and they use no lmem). And I've seen additional bits set, esp > relating to images, but I haven't spent enough time looking at all the > variations to make sense of it yet. For example, I think that Fermi > and Kepler+ have different meanings for some of the bits. Those look pretty close :) > I was hoping you could just release the docs for the shader headers, > or at least the first word of the shader header. We've posted the specification for the full Shader Program Header to our GPU documentation site here: ftp://download.nvidia.com/open-gpu-doc/Shader-Program-Header/1/Shader-Program-Header.html I hope it helps clear things up. - Robert _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
