diff options
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_program.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_program.c b/src/gallium/drivers/freedreno/freedreno_program.c index ae6c65831bb..db6b258e21c 100644 --- a/src/gallium/drivers/freedreno/freedreno_program.c +++ b/src/gallium/drivers/freedreno/freedreno_program.c @@ -81,7 +81,8 @@ static void * assemble_tgsi(struct pipe_context *pctx, .tokens = toks, }; - tgsi_text_translate(src, toks, ARRAY_SIZE(toks)); + bool ret = tgsi_text_translate(src, toks, ARRAY_SIZE(toks)); + assume(ret); if (frag) return pctx->create_fs_state(pctx, &cso); |