On Thu, Jul 21, 2011 at 11:22:12PM +0200, Julien Cristau wrote:
On Thu, Jul 21, 2011 at 13:54:41 +0000, Ben Widawsky wrote:
On Tue, Jul 19, 2011 at 11:06:17PM +0200, Julien Cristau wrote:
On Wed, Jul 13, 2011 at 13:51:43 -0700, Ben Widawsky wrote:
+#define SHADER_DEBUG_SOCKET "/tmp/gen_debug"
Not sure what this is used for, but does it really need to be in /tmp?
It is the shared socket between a debug client (ie. Mesa) and the debugger. I don't care where it goes, do you have any recommendations?
Somewhere under $HOME is probably better than a predictable file name in /tmp.
$HOME is not great because it requires a little hackery to accomplish. The debugger will be running as root, and so if we put it in root's $HOME, mesa may not be able to reach it.
Cheers, Julien
Ben