[Mesa-dev] [PATCH] nvc0: add a missing parameter to nvc0_set_shader_images()
Ilia Mirkin
imirkin at alum.mit.edu
Thu Jul 16 14:07:17 PDT 2015
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Thu, Jul 16, 2015 at 5:05 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This fixes a compilation warning introduced in commit 05a12c5
> (gallium: add interface for writable shader images).
>
> While we are at it, fix indentation and rename parameters according to
> the gallium interface.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> index 337559c..d18b064 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> @@ -1125,9 +1125,9 @@ nvc0_set_compute_resources(struct pipe_context *pipe,
> }
>
> static void
> -nvc0_set_shader_images(struct pipe_context *pipe,
> - unsigned start, unsigned nr,
> - struct pipe_image_view **views)
> +nvc0_set_shader_images(struct pipe_context *pipe, unsigned shader,
> + unsigned start_slot, unsigned count,
> + struct pipe_image_view **views)
> {
> #if 0
> nvc0_bind_surfaces_range(nvc0_context(pipe), 0, start, nr, views);
> --
> 2.4.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list