From fdee3e1d824ed2d100c04983d5c5fe349ca1fe73 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Nov 2017 09:51:10 -0700 Subject: tgsi: bump tgsi_opcode_info::output_mode size to 4 bits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To avoid problems with MSVC. And verify size with ASSERT_BITFIELD_SIZE(). Reviewed-by: Marek Olšák Reviewed-by: Charmaine Lee --- src/gallium/auxiliary/tgsi/tgsi_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/tgsi/tgsi_info.h') diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.h b/src/gallium/auxiliary/tgsi/tgsi_info.h index 8d32f4774be..bbd86c6b969 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.h +++ b/src/gallium/auxiliary/tgsi/tgsi_info.h @@ -78,7 +78,7 @@ struct tgsi_opcode_info unsigned is_branch:1; unsigned pre_dedent:1; unsigned post_indent:1; - enum tgsi_output_mode output_mode:3; + enum tgsi_output_mode output_mode:4; unsigned opcode:8; }; -- cgit v1.2.3