Mesa (main): nouveau: fix forward declaration of struct
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 2 21:07:14 UTC 2021
Module: Mesa
Branch: main
Commit: 8bf202ac729dc200f16e2e7a34c9dbd9fc701190
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bf202ac729dc200f16e2e7a34c9dbd9fc701190
Author: Filip Gawin <filip.gawin at zoho.com>
Date: Thu Sep 2 12:10:40 2021 +0200
nouveau: fix forward declaration of struct
Mismatching class/struct is disliked by MSVC.
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12698>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
index 83aae296fbb..8853b7410ce 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
@@ -244,8 +244,8 @@ extern void nv50_ir_get_target_library(uint32_t chipset,
#ifdef __cplusplus
namespace nv50_ir
{
- class FixupEntry;
- class FixupData;
+ struct FixupEntry;
+ struct FixupData;
void
gk110_interpApply(const nv50_ir::FixupEntry *entry, uint32_t *code,
More information about the mesa-commit
mailing list