summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-03-04 18:19:48 -0700
committerBrian Paul <brianp@vmware.com>2016-03-05 09:15:44 -0700
commita7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e (patch)
tree709bd42f16bfed1f8d4a28115d31a72e816a6238 /src/gallium/tests
parent31943e6ba5f6bf14797fb4d7699faa69d6899d12 (diff)
downloadexternal_mesa3d-a7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e.zip
external_mesa3d-a7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e.tar.gz
external_mesa3d-a7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e.tar.bz2
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 <samuel.pitoiset@gmail.com>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r--src/gallium/tests/trivial/compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c
index 288cf2a..5d5e0b0 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;