summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-10-24 15:04:23 -0700
committerMatt Turner <mattst88@gmail.com>2015-11-13 11:27:50 -0800
commit182f137521f9c81f89a473ca5a411e6a7c531e19 (patch)
treefb8617dcfeea44f9d64f6a07fe0dc47e8a5f52dc /src/mesa/drivers/dri/i965/brw_shader.h
parent433df2e03c9a066bb2975bed28b57d6e2edf0aa9 (diff)
downloadexternal_mesa3d-182f137521f9c81f89a473ca5a411e6a7c531e19.zip
external_mesa3d-182f137521f9c81f89a473ca5a411e6a7c531e19.tar.gz
external_mesa3d-182f137521f9c81f89a473ca5a411e6a7c531e19.tar.bz2
i965: Delete type field from backend_reg.
Switching from an implicitly-sized type field to field with an explicit bit width is safe because we have fewer than 2^4 types, and gcc will warn if you attempt to set a value that will not fit. Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 73b57f4..3f435e2 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -59,7 +59,6 @@ struct backend_reg : public brw_reg
bool in_range(const backend_reg &r, unsigned n) const;
enum register_file file; /**< Register file: GRF, MRF, IMM. */
- enum brw_reg_type type; /**< Register type: BRW_REGISTER_TYPE_* */
/**
* Register number.