From 6080e567f0ca1fdcce21e76271d4239c33a50db3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 May 2010 09:41:41 -0600 Subject: tgsi: also count instructions in tgsi_scan_shader() --- src/gallium/auxiliary/tgsi/tgsi_scan.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h') diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 741aa7d5c42..27de33f7990 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -54,6 +54,7 @@ struct tgsi_shader_info int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ uint immediate_count; /**< number of immediates declared */ + uint num_instructions; uint opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */ -- cgit v1.2.3