summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartina Kollarova <martina.kollarova@intel.com>2016-09-16 15:54:53 (GMT)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2016-09-18 07:23:42 (GMT)
commit15804c4b9093179f6dd6be2b3a45e18b1318d5a3 (patch)
treec953830b0f66412c25dae378dfe4c8e119dec6da
parent073129c7afb955ff33a94ccb358883a7051c624a (diff)
downloadmesa-15804c4b9093179f6dd6be2b3a45e18b1318d5a3.tar.gz
mesa-15804c4b9093179f6dd6be2b3a45e18b1318d5a3.tar.xz
r600g/sb: fix struct/class declaration conflicts
A couple of forward-declarations were causing warnings in clang: 'value' defined as a class here but previously declared as a struct [-Wmismatched-tags] Signed-off-by: Martina Kollarova <martina.kollarova@intel.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-rw-r--r--src/gallium/drivers/r600/sb/sb_ir.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_ir.h b/src/gallium/drivers/r600/sb/sb_ir.h
index c612e6c..4fc4da2 100644
--- a/src/gallium/drivers/r600/sb/sb_ir.h
+++ b/src/gallium/drivers/r600/sb/sb_ir.h
@@ -263,8 +263,6 @@ public:
}
};
-class value;
-
enum value_kind {
VLK_REG,
VLK_REL_REG,
@@ -433,8 +431,6 @@ inline value_flags& operator &=(value_flags &l, value_flags r) {
return l;
}
-struct value;
-
sb_ostream& operator << (sb_ostream &o, value &v);
typedef uint32_t value_hash;
@@ -467,7 +463,7 @@ enum constraint_kind {
class shader;
class sb_value_pool;
-class ra_chunk;
+struct ra_chunk;
class ra_constraint;
class value {