Re: [Mesa-dev] [PATCH v2 2/5] glsl: add support for the imageSize builtin

2015-08-13 Thread Martin Peres
On 13/08/15 15:53, Francisco Jerez wrote: Martin Peres writes: The code is heavily inspired from Francisco Jerez's code supporting the image_load_store extension. I moved out image_types[] out of builtin_builder::add_image_function to share it with the newly-added builtin_builder::add_image_s

Re: [Mesa-dev] [PATCH v2 2/5] glsl: add support for the imageSize builtin

2015-08-13 Thread Francisco Jerez
Martin Peres writes: > The code is heavily inspired from Francisco Jerez's code supporting the > image_load_store extension. > > I moved out image_types[] out of builtin_builder::add_image_function to > share it with the newly-added builtin_builder::add_image_size_functions. > > Backends willing

[Mesa-dev] [PATCH v2 2/5] glsl: add support for the imageSize builtin

2015-08-12 Thread Martin Peres
The code is heavily inspired from Francisco Jerez's code supporting the image_load_store extension. I moved out image_types[] out of builtin_builder::add_image_function to share it with the newly-added builtin_builder::add_image_size_functions. Backends willing to support this builtin should hand