diff options
author | Chia-I Wu <[email protected]> | 2014-09-29 16:58:14 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-29 16:58:36 +0800 |
commit | 8c7c0f7114ab27eb4b9448655a93e4ebf33effcf (patch) | |
tree | 4f932a390503a3c2c3f8ae8f6a091dfc3892b74c /src | |
parent | 66a2fe4cf95f6d4f5bdbfd740314113e87e5649b (diff) |
ilo: fix a missing 'else'
An 'else' is missing in the disassembler.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/ilo/shader/toy_compiler_disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c b/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c index e9cd18731b6..f70b93d7ccf 100644 --- a/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c +++ b/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c @@ -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); } |