Re: [Mesa-dev] [PATCH 4/4] glsl: Delete linker stuff relating to built-in functions.

2016-09-22 Thread Ian Romanick
On 09/21/2016 10:20 PM, Kenneth Graunke wrote: > Now that we generate built-in functions inline, there's no need to link > against the built-in shader, and no built-in prototypes to consider. > > This lets us delete a bunch of code. Boy howdy. This simplifies things quite a bit. Pending patch 2

[Mesa-dev] [PATCH 4/4] glsl: Delete linker stuff relating to built-in functions.

2016-09-21 Thread Kenneth Graunke
Now that we generate built-in functions inline, there's no need to link against the built-in shader, and no built-in prototypes to consider. This lets us delete a bunch of code. Signed-off-by: Kenneth Graunke --- src/compiler/glsl/link_functions.cpp | 32 +++ src/compile