etnaviv: make specs const
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 19 Mar 2017 15:31:47 +0000 (16:31 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 5 Apr 2017 17:58:03 +0000 (19:58 +0200)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_shader.h

index c613c17df0aa92f8e826bd790e993dd86a7ac417..9f26befc00c9dc603214dfec72ae8bced4282075 100644 (file)
@@ -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;
 };