summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/etnaviv')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c2
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
index 44e0c1a29fb..4aad246cfb9 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
@@ -660,7 +660,7 @@ etna_compile_shader_nir(struct etna_shader_variant *v)
};
unsigned num_consts;
- bool ok = emit_shader(c->nir, &options, &v->num_temps, &num_consts);
+ ASSERTED bool ok = emit_shader(c->nir, &options, &v->num_temps, &num_consts);
assert(ok);
/* empty shader, emit NOP */
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h
index 0d30fe54dfd..c89ab9a9453 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.h
@@ -900,7 +900,7 @@ ra_assign(struct state *state, nir_shader *shader)
ralloc_free(defs);
/* Allocate registers */
- bool ok = ra_allocate(g);
+ ASSERTED bool ok = ra_allocate(g);
assert(ok);
state->g = g;