diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-10 12:20:41 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-10 14:02:17 +0200 |
commit | 169888b55e95f2efe225c7e138f7ce8df88e170d (patch) | |
tree | a734ec441573ea1f84c0737ea2e51b8334939413 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 820966f9bc79640ba9f1d3858359c001e3583bb2 (diff) |
radeonsi: silent a compiler warning
This fixes:
si_shader.c: In function ‘si_shader_dump_stats’:
si_shader.c:6704:31: warning: passing argument 1 of ‘si_get_max_workgroup_size’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
si_get_max_workgroup_size(shader);
^~~~~~
si_shader.c:5832:17: note: expected ‘struct si_shader *’ but argument is of type ‘const struct si_shader *’
static unsigned si_get_max_workgroup_size(struct si_shader *shader)
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
0 files changed, 0 insertions, 0 deletions