[Mesa-dev] [PATCH 16/36] glsl ubo/ssbo: Add lower_buffer_access class

Emil Velikov emil.l.velikov at gmail.com
Mon Nov 16 02:36:28 PST 2015


Hi Jordan,

On 14 November 2015 at 21:43, Jordan Justen <jordan.l.justen at intel.com> wrote:
> This class has code that will be shared by lower_ubo_reference and
> lower_shared_reference. (lower_shared_reference will be used to
> support compute shader shared variables.)
>
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
> Cc: Iago Toral Quiroga <itoral at igalia.com>
> ---
>  src/glsl/Makefile.sources        |   1 +
>  src/glsl/lower_buffer_access.cpp | 307 +++++++++++++++++++++++++++++++++++++++
>  src/glsl/lower_buffer_access.h   |  56 +++++++
>  src/glsl/lower_ubo_reference.cpp | 180 +----------------------
>  4 files changed, 367 insertions(+), 177 deletions(-)
>  create mode 100644 src/glsl/lower_buffer_access.cpp
>  create mode 100644 src/glsl/lower_buffer_access.h
>
> diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
> index d4b02c1..f2c95c0 100644
> --- a/src/glsl/Makefile.sources
> +++ b/src/glsl/Makefile.sources
> @@ -155,6 +155,7 @@ LIBGLSL_FILES = \
>         loop_analysis.h \
>         loop_controls.cpp \
>         loop_unroll.cpp \
> +       lower_buffer_access.cpp \
Please add the header file in the list

+       lower_buffer_access.h \

Thanks
Emil


More information about the mesa-dev mailing list