Re: [Mesa-dev] [PATCH 16/18] mesa: Implement glBindImageTextures()

2014-02-17 Thread Francisco Jerez
Fredrik Höglund writes: > On Thursday 13 February 2014, Francisco Jerez wrote: >> Fredrik Höglund writes: >>[...] >> Can't you get rid of the whole block above by declaring 'const GLuint >> texture = (textures ? textures[i] : 0);' in the loop below, and then >> 's/textures[i]/texture/'? > > I co

Re: [Mesa-dev] [PATCH 16/18] mesa: Implement glBindImageTextures()

2014-02-17 Thread Fredrik Höglund
On Thursday 13 February 2014, Francisco Jerez wrote: > Fredrik Höglund writes: > > > --- > > src/mesa/main/shaderimage.c | 164 > > +++ > > 1 file changed, 164 insertions(+) > > > > diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c >

Re: [Mesa-dev] [PATCH 16/18] mesa: Implement glBindImageTextures()

2014-02-13 Thread Francisco Jerez
Fredrik Höglund writes: > --- > src/mesa/main/shaderimage.c | 164 > +++ > 1 file changed, 164 insertions(+) > > diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c > index ce63bee..27695a3 100644 > --- a/src/mesa/main/shaderimage.c >

[Mesa-dev] [PATCH 16/18] mesa: Implement glBindImageTextures()

2014-01-21 Thread Fredrik Höglund
--- src/mesa/main/shaderimage.c | 164 +++ 1 file changed, 164 insertions(+) diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c index ce63bee..27695a3 100644 --- a/src/mesa/main/shaderimage.c +++ b/src/mesa/main/shaderimage.c @@ -33,6 +