Re: [Mesa-dev] [PATCH 11/20] i965/fs: Allow emit_uniformize() to broadcast a specific channel

2017-07-17 Thread Matt Turner
On Fri, Jul 14, 2017 at 5:48 PM, Francisco Jerez wrote: > I don't like re-using emit_uniformize() (which is supposed to give you > the value of a channel of the input it can prove live as the doxygen > comment explains), as a "fetch me the i-th channel of the source" > helper. I think what you wa

Re: [Mesa-dev] [PATCH 11/20] i965/fs: Allow emit_uniformize() to broadcast a specific channel

2017-07-14 Thread Francisco Jerez
Matt Turner writes: > This function will be used to implement read_invocation (by specifying a > specific channel) and read_first_invocation (by not specifying a > channel). > --- > src/intel/compiler/brw_fs_builder.h | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --gi

[Mesa-dev] [PATCH 11/20] i965/fs: Allow emit_uniformize() to broadcast a specific channel

2017-07-06 Thread Matt Turner
This function will be used to implement read_invocation (by specifying a specific channel) and read_first_invocation (by not specifying a channel). --- src/intel/compiler/brw_fs_builder.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/intel/compiler/brw_fs_builder