diff options
author | Brian Paul <[email protected]> | 2016-03-04 18:19:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-03-05 09:15:44 -0700 |
commit | a7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e (patch) | |
tree | 709bd42f16bfed1f8d4a28115d31a72e816a6238 /src/gallium/tests | |
parent | 31943e6ba5f6bf14797fb4d7699faa69d6899d12 (diff) |
gallium/tests: silence warning in compute.c
compute.c: In function ‘launch_grid’:
compute.c:435:20: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
info.input = input;
^
Maybe the pipe_grid_info::input field should be const void *?
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/trivial/compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c index 288cf2ad629..5d5e0b0b8c3 100644 --- a/src/gallium/tests/trivial/compute.c +++ b/src/gallium/tests/trivial/compute.c @@ -421,7 +421,7 @@ static void destroy_globals(struct context *ctx) static void launch_grid(struct context *ctx, const uint *block_layout, const uint *grid_layout, uint32_t pc, - const void *input) + void *input) { struct pipe_context *pipe = ctx->pipe; struct pipe_grid_info info; |