diff options
author | Neil Roberts <neil@linux.intel.com> | 2014-11-07 18:20:17 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2015-05-12 11:20:35 +0100 |
commit | 8a59f2f26fb7bb036ad524cdec668716664d2a82 (patch) | |
tree | 549d11c7333459c7eb35c030736fca51fe7e4020 /src/mesa/drivers/dri/i965/intel_screen.h | |
parent | 971be2b7c9c4459e383059f02d20a35e469b429e (diff) | |
download | external_mesa3d-8a59f2f26fb7bb036ad524cdec668716664d2a82.zip external_mesa3d-8a59f2f26fb7bb036ad524cdec668716664d2a82.tar.gz external_mesa3d-8a59f2f26fb7bb036ad524cdec668716664d2a82.tar.bz2 |
i965: Store the command parser version number in intel_screen
In order to detect whether the predicate source registers can be used
in a later patch we will need to know the version number for the
command parser. This patch just adds a member to intel_screen and does
an ioctl to get the version.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_screen.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.h b/src/mesa/drivers/dri/i965/intel_screen.h index e7a1490..742b3d3 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.h +++ b/src/mesa/drivers/dri/i965/intel_screen.h @@ -72,7 +72,13 @@ struct intel_screen * Configuration cache with default values for all contexts */ driOptionCache optionCache; -}; + + /** + * Version of the command parser reported by the + * I915_PARAM_CMD_PARSER_VERSION parameter + */ + int cmd_parser_version; + }; extern void intelDestroyContext(__DRIcontext * driContextPriv); |