Commit 5b7dd4d4 authored by Samuel Pitoiset's avatar Samuel Pitoiset
Browse files

nvc0: add a missing parameter to nvc0_set_shader_images()

This fixes a compilation warning introduced in commit 05a12c53


(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's avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
parent c2cb7713
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment