Module: Mesa Branch: master Commit: 391c958f082ebb322cddef7d74c103a69da62cb5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=391c958f082ebb322cddef7d74c103a69da62cb5
Author: Wladimir J. van der Laan <[email protected]> Date: Sat Nov 18 10:44:24 2017 +0100 etnaviv: Const-correctness etnaviv_emit.h The relocation structure is never changed by submitting it. Signed-off-by: Wladimir J. van der Laan <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Signed-off-by: Lucas Stach <[email protected]> --- src/gallium/drivers/etnaviv/etnaviv_emit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_emit.h b/src/gallium/drivers/etnaviv/etnaviv_emit.h index 6a3c77286d..e0c0edab08 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_emit.h +++ b/src/gallium/drivers/etnaviv/etnaviv_emit.h @@ -59,7 +59,7 @@ etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value) static inline void etna_set_state_reloc(struct etna_cmd_stream *stream, uint32_t address, - struct etna_reloc *reloc) + const struct etna_reloc *reloc) { etna_cmd_stream_reserve(stream, 2); etna_emit_load_state(stream, address >> 2, 1, 0); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
