[Mesa-dev] [PATCH] llvmpipe: fix layer/vp input into fs when not written by prior stages

2015-12-11 Thread sroland
From: Roland Scheidegger ARB_fragment_layer_viewport requires that if a fs reads layer or viewport index but it wasn't output by gs (or vs with other extensions), then it reads 0. This never worked for llvmpipe, and is surprisingly non-trivial to fix. The problem is the mechanism to handle non-ex

[Mesa-dev] [PATCH] llvmpipe: fix layer/vp input into fs when not written by prior stages

2015-12-08 Thread sroland
From: Roland Scheidegger ARB_fragment_layer_viewport requires that if a fs reads layer or viewport index but it wasn't output by gs (or vs with other extensions), then it reads 0. This never worked for llvmpipe, and is surprisingly non-trivial to fix. The problem is the mechanism to handle non-ex

Re: [Mesa-dev] [PATCH] llvmpipe: fix layer/vp input into fs when not written by prior stages

2015-12-11 Thread Jose Fonseca
On 11/12/15 21:31, srol...@vmware.com wrote: From: Roland Scheidegger ARB_fragment_layer_viewport requires that if a fs reads layer or viewport index but it wasn't output by gs (or vs with other extensions), then it reads 0. This never worked for llvmpipe, and is surprisingly non-trivial to fix