Re: [Mesa-dev] [PATCH 20/22] meta/blit: Don't dynamically select the MSAA "emit" function

2016-02-22 Thread Ian Romanick
On 02/19/2016 01:55 AM, Iago Toral wrote: > On Wed, 2016-02-17 at 17:58 -0800, Ian Romanick wrote: >> From: Ian Romanick >> >> Just include all 3 versions in the shader. The GLSL type system will >> pick the correct one. This simplifies the code a bit, and it helps

Re: [Mesa-dev] [PATCH 20/22] meta/blit: Don't dynamically select the MSAA "emit" function

2016-02-19 Thread Iago Toral
On Wed, 2016-02-17 at 17:58 -0800, Ian Romanick wrote: > From: Ian Romanick > > Just include all 3 versions in the shader. The GLSL type system will > pick the correct one. This simplifies the code a bit, and it helps pave > the way for additional simplifications. >

[Mesa-dev] [PATCH 20/22] meta/blit: Don't dynamically select the MSAA "emit" function

2016-02-17 Thread Ian Romanick
From: Ian Romanick Just include all 3 versions in the shader. The GLSL type system will pick the correct one. This simplifies the code a bit, and it helps pave the way for additional simplifications. For vec4 outputs, we have to make out_color not be a shader output.