summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_compiler.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2017-01-31 20:15:53 +0100
committerChristian Gmeiner <[email protected]>2017-02-11 21:22:48 +0100
commit7256ed3c7967a1fc2a4f9ad23377ef4fe458095f (patch)
tree688e0868083d674a8bb72825609bd3633b69c290 /src/gallium/drivers/etnaviv/etnaviv_compiler.h
parent5a3ea68895f7815ccb5b3adeab07c992683c2d59 (diff)
etnaviv: keep track of emitted loops
Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Reviewed-by: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_compiler.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.h b/src/gallium/drivers/etnaviv/etnaviv_compiler.h
index d3101096f98..211ae1abdfe 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler.h
@@ -59,6 +59,7 @@ struct etna_shader {
uint processor; /* TGSI_PROCESSOR_... */
uint32_t code_size; /* code size in uint32 words */
uint32_t *code;
+ unsigned num_loops;
unsigned num_temps;
struct etna_shader_uniform_info uniforms;