gallium/tests: silence warning in compute.c
authorBrian Paul <brianp@vmware.com>
Sat, 5 Mar 2016 01:19:48 +0000 (18:19 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 5 Mar 2016 16:15:44 +0000 (09:15 -0700)
commita7ba29f6d8663e8ed0e032c0a2e266feb4fc4b2e
tree709bd42f16bfed1f8d4a28115d31a72e816a6238
parent31943e6ba5f6bf14797fb4d7699faa69d6899d12
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>
src/gallium/tests/trivial/compute.c