diff options
author | Samuel Pitoiset <[email protected]> | 2015-05-12 17:13:14 +0200 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-05-14 13:27:44 -0400 |
commit | ac1ac94b38d051b2413ea8f58b16891f1a55757d (patch) | |
tree | f3c1a644800ff7880bea96f45685a8c7d0fa7f45 /src | |
parent | 70651b7041c9d90f4fb6c693c4ebb643a50dd9d0 (diff) |
nv50/ir: silence compiler warnings about mismatched tags
These warnings have been detected by Clang 3.6.
codegen/nv50_ir_from_tgsi.cpp:1319:10: warning: struct 'Source' was
previously declared as a class [-Wmismatched-tags] const struct tgsi::Source *code;
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index 254629f907a..6f7f397609b 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp @@ -1316,7 +1316,7 @@ private: }; private: - const struct tgsi::Source *code; + const tgsi::Source *code; const struct nv50_ir_prog_info *info; struct { @@ -1955,13 +1955,13 @@ isResourceSpecial(const int r) } static inline bool -isResourceRaw(const struct tgsi::Source *code, const int r) +isResourceRaw(const tgsi::Source *code, const int r) { return isResourceSpecial(r) || code->resources[r].raw; } static inline nv50_ir::TexTarget -getResourceTarget(const struct tgsi::Source *code, int r) +getResourceTarget(const tgsi::Source *code, int r) { if (isResourceSpecial(r)) return nv50_ir::TEX_TARGET_BUFFER; |