Re: [Mesa-dev] [PATCH] radeonsi: eliminate trivial constant VS outputs

2016-10-19 Thread Edmondo Tommasina
Hi Marek Tested-by: Edmondo Tommasina I tested the patch with Witcher 2. Thanks edmondo On Tue, Oct 18, 2016 at 6:28 PM, Marek Olšák wrote: > From: Marek Olšák > > These constant value VS PARAM exports: > - 0,0,0,0 > -

Re: [Mesa-dev] [PATCH] radeonsi: eliminate trivial constant VS outputs

2016-10-19 Thread Nicolai Hähnle
On 18.10.2016 18:28, Marek Olšák wrote: From: Marek Olšák These constant value VS PARAM exports: - 0,0,0,0 - 0,0,0,1 - 1,1,1,0 - 1,1,1,1 can be loaded into PS inputs using the DEFAULT_VAL field, and the VS exports can be removed from the IR to save export & parameter

[Mesa-dev] [PATCH] radeonsi: eliminate trivial constant VS outputs

2016-10-18 Thread Marek Olšák
From: Marek Olšák These constant value VS PARAM exports: - 0,0,0,0 - 0,0,0,1 - 1,1,1,0 - 1,1,1,1 can be loaded into PS inputs using the DEFAULT_VAL field, and the VS exports can be removed from the IR to save export & parameter memory. After LLVM optimizations, analyze the