diff options
author | Samuel Pitoiset <[email protected]> | 2015-07-16 23:05:05 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2015-07-20 18:49:14 +0200 |
commit | 5b7dd4d41900e3c795af134e0fad59cac9e0e7b4 (patch) | |
tree | da56655bf8dc2f5e36a1dddc7a6d2f4c1647fe67 /src/gallium/drivers/nouveau/nvc0 | |
parent | c2cb771354d2d738e0ab3ca7c8008748c5f57953 (diff) |
nvc0: add a missing parameter to nvc0_set_shader_images()
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 <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 6 |
1 files 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 337559c3be8..d18b064a0c1 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); |