Re: [Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-08 Thread Jason Ekstrand
On Mon, May 8, 2017 at 3:26 AM, Nicolai Hähnle wrote: > On 08.05.2017 12:11, Nicolai Hähnle wrote: > >> On 06.05.2017 20:09, Jason Ekstrand wrote: >> >>> On May 6, 2017 7:56:02 AM Samuel Pitoiset >>> wrote: >>> >>> ARB_bindless_texture allows to declare image types inside structures, >

Re: [Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-08 Thread Nicolai Hähnle
On 08.05.2017 12:11, Nicolai Hähnle wrote: On 06.05.2017 20:09, Jason Ekstrand wrote: On May 6, 2017 7:56:02 AM Samuel Pitoiset wrote: ARB_bindless_texture allows to declare image types inside structures, Of course it does... It's not like having samplers and uniforms in structures is a mas

Re: [Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-08 Thread Nicolai Hähnle
On 06.05.2017 20:09, Jason Ekstrand wrote: On May 6, 2017 7:56:02 AM Samuel Pitoiset wrote: ARB_bindless_texture allows to declare image types inside structures, Of course it does... It's not like having samplers and uniforms in structures is a massive source of pain or anything like that...

Re: [Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-06 Thread Jason Ekstrand
On May 6, 2017 7:56:02 AM Samuel Pitoiset wrote: ARB_bindless_texture allows to declare image types inside structures, Of course it does... It's not like having samplers and uniforms in structures is a massive source of pain or anything like that... which means we need to keep track of th

[Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-06 Thread Samuel Pitoiset
ARB_bindless_texture allows to declare image types inside structures, which means we need to keep track of the format. Signed-off-by: Samuel Pitoiset --- src/compiler/glsl/builtin_variables.cpp | 1 + src/compiler/glsl_types.cpp | 3 +++ src/compiler/glsl_types.h | 8 ++