nvc0: add a missing parameter to nvc0_set_shader_images()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Jul 2015 21:05:05 +0000 (23:05 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Jul 2015 16:49:14 +0000 (18:49 +0200)
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@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_state.c

index 337559c3be82f119f365aa09d72785f351823998..d18b064a0c1ded377173b08867958820c5f0b769 100644 (file)
@@ -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);