Re: [Mesa-dev] [PATCH] ff_fragment_shader: Don't generate swizzles for scalar combiner inputs

2012-01-03 Thread Eric Anholt
On Mon, 02 Jan 2012 19:36:25 -0800, Ian Romanick i...@freedesktop.org wrote: On 12/23/2011 10:35 PM, Eric Anholt wrote: On Thu, 22 Dec 2011 17:43:57 -0800, Ian Romanicki...@freedesktop.org wrote: From: Ian Romanickian.d.roman...@intel.com There are a couple scenarios where the source

Re: [Mesa-dev] [PATCH] ff_fragment_shader: Don't generate swizzles for scalar combiner inputs

2012-01-02 Thread Ian Romanick
On 12/23/2011 10:35 PM, Eric Anholt wrote: On Thu, 22 Dec 2011 17:43:57 -0800, Ian Romanicki...@freedesktop.org wrote: From: Ian Romanickian.d.roman...@intel.com There are a couple scenarios where the source could be zero and the operand could be either SRC_ALPHA or ONE_MINUS_SRC_ALPHA. For

Re: [Mesa-dev] [PATCH] ff_fragment_shader: Don't generate swizzles for scalar combiner inputs

2011-12-23 Thread Eric Anholt
On Thu, 22 Dec 2011 17:43:57 -0800, Ian Romanick i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com There are a couple scenarios where the source could be zero and the operand could be either SRC_ALPHA or ONE_MINUS_SRC_ALPHA. For example, if the source was ZERO. This

[Mesa-dev] [PATCH] ff_fragment_shader: Don't generate swizzles for scalar combiner inputs

2011-12-22 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com There are a couple scenarios where the source could be zero and the operand could be either SRC_ALPHA or ONE_MINUS_SRC_ALPHA. For example, if the source was ZERO. This would result in something like (0).w, and a later call to ir_validate would get