On 08/21/2015 04:30 PM, Brian Paul wrote:
On Fri, Aug 21, 2015 at 2:17 AM, Tapani Pälli mailto:tapani.pa...@intel.com>> wrote:
Patch adds shader source and replace functionality in to the compiler.
I had some very primitive support for this sort of thing already. See
SHADER_SUBST in sha
On Fri, Aug 21, 2015 at 2:17 AM, Tapani Pälli
wrote:
> Patch adds shader source and replace functionality in to the compiler.
>
I had some very primitive support for this sort of thing already. See
SHADER_SUBST in shaderapi.c However, feel free to replace it with
something better/nicer.
Also,
Hi,
MESA_GLSL environment variable has few options which also dump shaders,
but they're not useful for this because:
* "dump": outputs "mangled" (per-processed) GLSL, to stdout
* "log": outputs GLSL to file, but it goes to current directory (which
app can change), adds comment to beginning o
Patch adds shader source and replace functionality in to the compiler.
This can be used to debug individual (failing) shaders and measure
performance impact of each shader.
Functionality is controlled via 2 environment variables:
MESA_SHADER_DUMP - path where shader sources are dumped
MESA_SHADER