diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-08-01 22:48:08 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-08-23 13:54:47 +0200 |
commit | 3f433e927c10150ad39258ae98742d29b697c4a9 (patch) | |
tree | 480394403e4b75f2ab6d8db928dcf3134f7afce9 | |
parent | 83c5d12d9d7403c0943048139f7cafb93dcf4866 (diff) |
tgsi: reduce tgsi_opcode_info::pre_dedent and post_indent to 1 bit
It's not clear why they were ever 2 bits to begin with. Perhaps
the original intent was to use signed values, but that doesn't
seem to have ever been the case in master.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.h b/src/gallium/auxiliary/tgsi/tgsi_info.h index e60888fec8..e65f7ac3b7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.h +++ b/src/gallium/auxiliary/tgsi/tgsi_info.h @@ -76,8 +76,8 @@ struct tgsi_opcode_info unsigned is_tex:1; unsigned is_store:1; unsigned is_branch:1; - int pre_dedent:2; - int post_indent:2; + unsigned pre_dedent:1; + unsigned post_indent:1; enum tgsi_output_mode output_mode:3; const char *mnemonic; uint opcode; |