Re: [Mesa-dev] [PATCH 6/8] draw: fix front face injection

2013-08-02 Thread Roland Scheidegger
Am 02.08.2013 08:28, schrieb Zack Rusin: > Inject front face only if the fragment shader uses it and > propagate through all channels because otherwise we'll > need to figure out the exact swizzle that the fs expects and > it's just simpler to make sure all the components within > the front face re

[Mesa-dev] [PATCH 6/8] draw: fix front face injection

2013-08-01 Thread Zack Rusin
Inject front face only if the fragment shader uses it and propagate through all channels because otherwise we'll need to figure out the exact swizzle that the fs expects and it's just simpler to make sure all the components within the front face register are correctly set. Signed-off-by: Zack Rusi