[PATCH 05/11] etnaviv: make specs const

Christian Gmeiner christian.gmeiner at gmail.com
Sun Mar 26 14:13:09 UTC 2017


Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 src/gallium/drivers/etnaviv/etnaviv_shader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.h b/src/gallium/drivers/etnaviv/etnaviv_shader.h
index c613c17..9f26bef 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_shader.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_shader.h
@@ -38,7 +38,7 @@ struct etna_shader {
     uint32_t variant_count;
 
     struct tgsi_token *tokens;
-    struct etna_specs *specs;
+    const struct etna_specs *specs;
 
     struct etna_shader_variant *variants;
 };
-- 
2.9.3



More information about the etnaviv mailing list