Re: [Mesa-dev] [PATCH v2 02/82] glsl: Add ir_var_shader_storage

2015-06-05 Thread Jordan Justen
On 2015-06-05 00:11:11, Iago Toral wrote: > On Thu, 2015-06-04 at 00:12 -0700, Jordan Justen wrote: > > On 2015-06-03 00:00:52, Iago Toral Quiroga wrote: > > > From: Kristian Høgsberg > (...) > > > diff --git a/src/glsl/ir.h b/src/glsl/ir.h > > > index fab1cd2..dd10298 100644 > > > --- a/src/glsl/

Re: [Mesa-dev] [PATCH v2 02/82] glsl: Add ir_var_shader_storage

2015-06-05 Thread Iago Toral
On Thu, 2015-06-04 at 00:12 -0700, Jordan Justen wrote: > On 2015-06-03 00:00:52, Iago Toral Quiroga wrote: > > From: Kristian Høgsberg (...) > > diff --git a/src/glsl/ir.h b/src/glsl/ir.h > > index fab1cd2..dd10298 100644 > > --- a/src/glsl/ir.h > > +++ b/src/glsl/ir.h > > @@ -323,6 +323,7 @@ pro

Re: [Mesa-dev] [PATCH v2 02/82] glsl: Add ir_var_shader_storage

2015-06-04 Thread Jordan Justen
On 2015-06-03 00:00:52, Iago Toral Quiroga wrote: > From: Kristian Høgsberg > > This will be used to identify buffer variables inside shader storage > buffer objects, which are very similar to uniforms except for a few > differences, most important of which is that they are writable. > > Since b

[Mesa-dev] [PATCH v2 02/82] glsl: Add ir_var_shader_storage

2015-06-03 Thread Iago Toral Quiroga
From: Kristian Høgsberg This will be used to identify buffer variables inside shader storage buffer objects, which are very similar to uniforms except for a few differences, most important of which is that they are writable. Since buffer variables are so similar to uniforms, we will almost alway