ilo: fix a missing 'else'
authorChia-I Wu <olvaffe@gmail.com>
Mon, 29 Sep 2014 08:58:14 +0000 (16:58 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 29 Sep 2014 08:58:36 +0000 (16:58 +0800)
An 'else' is missing in the disassembler.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/shader/toy_compiler_disasm.c

index e9cd18731b67c33b1fc4fcd3361d6da2b8ba4284..f70b93d7ccf4a6844107b0d289b8130b04ed9f00 100644 (file)
@@ -1159,7 +1159,7 @@ disasm_printer_add_mdesc_sampler(struct disasm_printer *printer,
    if (ilo_dev_gen(inst->dev) >= ILO_GEN(7)) {
       op = GEN_EXTRACT(mdesc, GEN7_MSG_SAMPLER_OP);
       simd = GEN_EXTRACT(mdesc, GEN7_MSG_SAMPLER_SIMD);
-   } {
+   } else {
       op = GEN_EXTRACT(mdesc, GEN6_MSG_SAMPLER_OP);
       simd = GEN_EXTRACT(mdesc, GEN6_MSG_SAMPLER_SIMD);
    }